forked from Imagelibrary/binutils-gdb
* printcmd.c (disassemble_command): Remove obsolete function.
(_initialize_printcmd): Do not create disassemble command here. * cli/cli-cmds.c (disassemble_command): New function. Implements disassemble command. (init_cli_cmds): Create disassemble command here instead. * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine which explicitly prints the zero offset as "+0".
This commit is contained in:
@@ -289,7 +289,7 @@ gdb_test "print globalvar" ".* = 11" "look at global variable"
|
||||
gdb_test "print staticvar" ".* = 5" "look at static variable"
|
||||
|
||||
# See if we can look at a static function
|
||||
gdb_test "disassem foostatic" ".*<foostatic>:.*End of assembler dump." \
|
||||
gdb_test "disassem foostatic" ".*<foostatic\\+0>:.*End of assembler dump." \
|
||||
"look at static function"
|
||||
|
||||
remote_exec build "rm -f ${subdir}/arch.inc"
|
||||
|
||||
Reference in New Issue
Block a user