diff options
author | Pedro Alves <pedro@codesourcery.com> | 2008-11-06 16:44:39 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2008-11-06 16:44:39 +0000 |
commit | 48ceb8d63c54946f3f4d8d3758103c1f7eb5e614 (patch) | |
tree | 06f7bd576723ab30a5eed14eef696a8d11f89389 /gdb/i386-dicos-tdep.c | |
parent | 6bb8939b7104369c8831d1bbd4a78ee986a9ee93 (diff) | |
download | gdb-48ceb8d63c54946f3f4d8d3758103c1f7eb5e614.tar.gz |
* i386-dicos-tdep.c (i386_dicos_init_abi): Set decr_pc_after_break
to 0.
Diffstat (limited to 'gdb/i386-dicos-tdep.c')
-rw-r--r-- | gdb/i386-dicos-tdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/i386-dicos-tdep.c b/gdb/i386-dicos-tdep.c index 665377cc36f..388972bef60 100644 --- a/gdb/i386-dicos-tdep.c +++ b/gdb/i386-dicos-tdep.c @@ -58,6 +58,10 @@ i386_dicos_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) dummy, so we put it on the stack. */ set_gdbarch_call_dummy_location (gdbarch, ON_STACK); set_gdbarch_push_dummy_code (gdbarch, i386_dicos_push_dummy_code); + + /* DICOS rewinds itself. Need to override the i386 default which is + to decrement the PC. */ + set_gdbarch_decr_pc_after_break (gdbarch, 0); } /* Look in the elf symbol table of ABFD for a symbol named WANTED. |