diff options
author | Stu Grossman <grossman@cygnus> | 1993-11-29 19:40:08 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1993-11-29 19:40:08 +0000 |
commit | d9542046591a94cb74d87324749133d346a007f9 (patch) | |
tree | 2d3e400a3f643bbe0d909f5c081a8943189ceef5 | |
parent | b1955f0b2aa79e25a26172252216fd7e32d5178d (diff) | |
download | gdb-d9542046591a94cb74d87324749133d346a007f9.zip gdb-d9542046591a94cb74d87324749133d346a007f9.tar.gz gdb-d9542046591a94cb74d87324749133d346a007f9.tar.bz2 |
* i386ly-tdep.c (i386lynx_saved_pc_after_call): Change call_inst
to unsigned char to avoid domain warning for some values.
-rw-r--r-- | gdb/ChangeLog | 10 | ||||
-rw-r--r-- | gdb/i386ly-tdep.c | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 82a6303..e888327 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +Mon Nov 29 11:36:57 1993 Stu Grossman (grossman at cygnus.com) + + * i386ly-tdep.c (i386lynx_saved_pc_after_call): Change call_inst + to unsigned char to avoid domain warning for some values. + +Mon Nov 22 23:42:59 1993 Steve Chamberlain (sac@jonny.cygnus.com) + + * remote-e7000.c (e7000_wait): Cope with H8/300 register dump. + * config/h8300/h8300hms.mt: Add remote-e7000. + Mon Nov 22 11:03:45 1993 Fred Fish (fnf@cygnus.com) Merged changes from kev@spuds.geg.mot.com (Kevin A. Buettner): diff --git a/gdb/i386ly-tdep.c b/gdb/i386ly-tdep.c index 3f87816..0d2ef41 100644 --- a/gdb/i386ly-tdep.c +++ b/gdb/i386ly-tdep.c @@ -32,7 +32,7 @@ i386lynx_saved_pc_after_call (frame) struct frame_info *frame; { char opcode[7]; - static const char call_inst[] = {0x9a, 0, 0, 0, 0, 8, 0}; /* lcall 0x8,0x0 */ + static const unsigned char call_inst[] = {0x9a, 0, 0, 0, 0, 8, 0}; /* lcall 0x8,0x0 */ read_memory (frame->pc - 7, opcode, 7); if (memcmp (opcode, call_inst, 7) == 0) |