aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.asm
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2002-11-08 03:21:34 +0000
committerFernando Nasser <fnasser@redhat.com>2002-11-08 03:21:34 +0000
commit83c31e7d1e6077d2802d8906453622471b72de8d (patch)
treeb4be9b4a7cf460ee226d26a53faaed9d84e8475b /gdb/testsuite/gdb.asm
parentced05688d426318d084754ffe0c7f8f73324adb2 (diff)
downloadgdb-83c31e7d1e6077d2802d8906453622471b72de8d.zip
gdb-83c31e7d1e6077d2802d8906453622471b72de8d.tar.gz
gdb-83c31e7d1e6077d2802d8906453622471b72de8d.tar.bz2
* 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".
Diffstat (limited to 'gdb/testsuite/gdb.asm')
-rw-r--r--gdb/testsuite/gdb.asm/asm-source.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp
index deb4b5f..641a7c1 100644
--- a/gdb/testsuite/gdb.asm/asm-source.exp
+++ b/gdb/testsuite/gdb.asm/asm-source.exp
@@ -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"