diff options
author | Yao Qi <yao@codesourcery.com> | 2012-05-03 01:42:49 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-05-03 01:42:49 +0000 |
commit | f4644a3fe025206fc4d79d7bf3ce5d093e3a80ec (patch) | |
tree | 07ef365140e8fca091663b84e292f707c7afd939 /gdb | |
parent | ef61f1802b4da116004979d6724b12de4a58a717 (diff) | |
download | gdb-f4644a3fe025206fc4d79d7bf3ce5d093e3a80ec.zip gdb-f4644a3fe025206fc4d79d7bf3ce5d093e3a80ec.tar.gz gdb-f4644a3fe025206fc4d79d7bf3ce5d093e3a80ec.tar.bz2 |
gdb:
* i386-tdep.c (i386_fetch_pointer_argument): Remove extra
space.
(i386_process_record): Ditto.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/i386-tdep.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b810d47..89c92f4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2012-05-03 Yao Qi <yao@codesourcery.com> + + * i386-tdep.c (i386_fetch_pointer_argument): Remove extra + space. + (i386_process_record): Ditto. + 2012-05-02 Joel Brobecker <brobecker@adacore.com> * infcall.c (unwind_on_signal_p): Make static. diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index 7a74e1b..6858b5a 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -3854,7 +3854,7 @@ i386_fetch_pointer_argument (struct frame_info *frame, int argi, { struct gdbarch *gdbarch = get_frame_arch (frame); enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); - CORE_ADDR sp = get_frame_register_unsigned (frame, I386_ESP_REGNUM); + CORE_ADDR sp = get_frame_register_unsigned (frame, I386_ESP_REGNUM); return read_memory_unsigned_integer (sp + (4 * (argi + 1)), 4, byte_order); } @@ -4317,7 +4317,7 @@ i386_process_record (struct gdbarch *gdbarch, struct regcache *regcache, int prefixes = 0; int regnum = 0; uint32_t opcode; - uint8_t opcode8; + uint8_t opcode8; ULONGEST addr; gdb_byte buf[MAX_REGISTER_SIZE]; struct i386_record_s ir; |