History log of /netbsd/sys/arch/alpha/alpha/db_disasm.c (Results 1 – 18 of 18)
Revision Date Author Comments
# b6d987a8 21-Jun-2021 thorpej <thorpej@NetBSD.org>

Remove the /I "alternate format" from db_disasm(), which was internally
interpreted as "showregs", whcih would print the values of the registers
at each instruction. Unfortunately, this was fundamen

Remove the /I "alternate format" from db_disasm(), which was internally
interpreted as "showregs", whcih would print the values of the registers
at each instruction. Unfortunately, this was fundamentally broken because
the saved registers accessible to DDB are only valid for the faulting
insn that got us into DDB, and not arbitrary isns that can be examined
from within DDB.

show more ...


# 8c18d4e8 21-Jun-2021 thorpej <thorpej@NetBSD.org>

Allow alpha_print_instruction() to be called from outside DDB, and
allow the caller to supply a buffer to contain the pretty-printed
insn string, rather than db_printf() (which is used if there is no

Allow alpha_print_instruction() to be called from outside DDB, and
allow the caller to supply a buffer to contain the pretty-printed
insn string, rather than db_printf() (which is used if there is no
supplied buffer).

show more ...


# d6e1eb1e 20-Mar-2014 christos <christos@NetBSD.org>

kill sprintf


# b627dca8 06-Feb-2012 matt <matt@NetBSD.org>

Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constific

Do a minor cleanup of alpha (this will make applying pullups post branching
easier).
u_int{8,16,32,64}_t -> uint{*}_t
Change all old-style definitions to C89 prototypes.
Whitespace cleanup.
Constification in db_disasm.c

show more ...


# b25aff52 22-Feb-2007 thorpej <thorpej@NetBSD.org>

TRUE -> true, FALSE -> false


# 712239e3 21-Feb-2007 thorpej <thorpej@NetBSD.org>

Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# 8120b42b 01-Jun-2005 drochner <drochner@NetBSD.org>

fix constification fallout


# 5165243e 09-Aug-2000 tv <tv@NetBSD.org>

%lz -> db_format_hex()


# a39439b4 04-Jun-2000 thorpej <thorpej@NetBSD.org>

ANSI'ify.


# f3528d72 25-May-2000 jhawk <jhawk@NetBSD.org>

Interface change: db_printsym() takes a third argument, pr, a function
pointer indicating how to print the symbol. This allows db_printsym()
to called in places where db_printf() is not an appropriat

Interface change: db_printsym() takes a third argument, pr, a function
pointer indicating how to print the symbol. This allows db_printsym()
to called in places where db_printf() is not an appropriate output
function.

While straightforward, apologies in advance if I've introduced any minor
syntax errors; I was unable to test compilation this on all the affected
platforms.

show more ...


# 3eed2414 20-Mar-2000 thorpej <thorpej@NetBSD.org>

Handle a few more SPECIAL intructions.


# 75f11579 09-May-1999 cgd <cgd@NetBSD.org>

convert to DEC-style register names (but not yet done for
the internal PALcode instruction format structure).


# 22a5cb00 13-Feb-1999 thorpej <thorpej@NetBSD.org>

Fix printf format warnings on Alpha.


# 149011c6 16-Sep-1997 thorpej <thorpej@NetBSD.org>

Add support for disassembling the "integer miscellaneous" opcode subgroup.


# e7c2d598 16-Sep-1997 thorpej <thorpej@NetBSD.org>

Fix an oversight in the last commit.


# fc80b404 16-Sep-1997 thorpej <thorpej@NetBSD.org>

- Rewrite the functions that provide opcode subfunction names to make it
easier to add instructions that the disassembler doesn't know about
(the opcode subfunction number is now printed).
- Add

- Rewrite the functions that provide opcode subfunction names to make it
easier to add instructions that the disassembler doesn't know about
(the opcode subfunction number is now printed).
- Add the "amask" and "implver" operate subfunctions.
- Add the "ldbu", "ldwu", "stb", and "stw" major opcodes (BWX instructions).

show more ...


# 998d79d2 06-Sep-1997 thorpej <thorpej@NetBSD.org>

Add support for DDB (in-kernel debugger) to NetBSD/alpha, based on
such code for Mach 3's Alpha port. Initially reworked for NetBSD/alpha
by Chris Demetriou, and then heavily hacked on by me. Works

Add support for DDB (in-kernel debugger) to NetBSD/alpha, based on
such code for Mach 3's Alpha port. Initially reworked for NetBSD/alpha
by Chris Demetriou, and then heavily hacked on by me. Works, but is still
a little rough around the edges. Known problems:

- Error recovery could be improved a bit.
- Back traces don't work.
- Single-stepping can be flaky, at times. (Alpha doesn't have hardware
support for single-stepping, and I'm not entirely convinced the
MI DDB software-emulated single-stepping logic is 100% correct.)
- Logic for when to drop into DDB needs some improvement.

show more ...