diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-09-15 07:50:31 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-09-15 07:50:31 +0000 |
commit | b2d558136175f6ee8b4a1680f06b1df1d5597656 (patch) | |
tree | 8641341719531a633042ac01d36cbfc03919fb12 /gdb | |
parent | c8ca08efeb7fdf24a183c114f1d087f2621f5b07 (diff) | |
download | gdb-b2d558136175f6ee8b4a1680f06b1df1d5597656.zip gdb-b2d558136175f6ee8b4a1680f06b1df1d5597656.tar.gz gdb-b2d558136175f6ee8b4a1680f06b1df1d5597656.tar.bz2 |
Use value_at_lazy() to examine memory values. For x/i this is very
important as it stops the specified address being fetched twice -
once by value_at() and once somewhere in the disassembler.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7acf413..5279d9f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +Tue Sep 15 10:24:17 1998 Andrew Cagney <cagney@b1.cygnus.com> + + * printcmd.c (examine_i_type): New static - type for instructions. + (do_examine): For "i" format, specify examine_i_type. + (do_examine): Call value_at_lazy instead of value_at so that + examine data is only fetched if it is used. + (x_command): If examine data was not fetched, set convenience + variable "__" to void. + (_initialize_printcmd): Initialize examine_i_type. + Sun Sep 13 01:34:59 1998 Michael Snyder <msnyder@cleaver.cygnus.com> * blockframe.c (find_pc_sect_partial_function): use bfd section |