diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-10-21 18:02:27 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-10-21 18:02:27 +0000 |
commit | 2b28d209243f5b7b19cd5adb37c535328334d3a0 (patch) | |
tree | b53e3600445973fb6c463a4cd1b6313d5c03ba7b /gdb/testsuite/gdb.base/pc-fp.exp | |
parent | b54295a7861979f4c863a11ee4bf0cde32f918c1 (diff) | |
download | gdb-2b28d209243f5b7b19cd5adb37c535328334d3a0.zip gdb-2b28d209243f5b7b19cd5adb37c535328334d3a0.tar.gz gdb-2b28d209243f5b7b19cd5adb37c535328334d3a0.tar.bz2 |
2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
* defs.h (pc_prefix): New prototype.
* disasm.c (dump_insns): Mark current instruction.
* printcmd.c (do_examine): Likewise.
(pc_prefix): New function.
* stack.c (print_frame_info): Disassemble entire current line.
doc/ChangeLog:
2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.texinfo (Machine Code): Mention current pc marker.
(Memory): Likewise.
testsuite/ChangeLog:
2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
* gdb.base/consecutive.exp: Adjust.
* gdb.base/display.exp: Likewise.
* gdb.base/pc-fp.exp: Likewise.
* gdb.base/sigbpt.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/pc-fp.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/pc-fp.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/pc-fp.exp b/gdb/testsuite/gdb.base/pc-fp.exp index def406c..e776528 100644 --- a/gdb/testsuite/gdb.base/pc-fp.exp +++ b/gdb/testsuite/gdb.base/pc-fp.exp @@ -63,7 +63,7 @@ set valueof_fp [get_hexadecimal_valueof "\$fp" "0"] # display since that encodes and then decodes the expression parameter # (and hence uses the mechanisms we're trying to test). -gdb_test "display/i \$pc" "1: x/i +\\\$pc( +|\r\n)${valueof_pc}.*" +gdb_test "display/i \$pc" "1: x/i +\\\$pc( +|\r\n)=> ${valueof_pc}.*" gdb_test "display/w \$fp" "2: x/xw +\\\$fp +${valueof_fp}.*" # FIXME: cagney/2002-09-04: Should also check that ``info registers |