* i386-dicos-tdep.c (i386_dicos_init_abi): Set decr_pc_after_break
to 0.
This commit is contained in:
parent
8a2a2dbb65
commit
48fb2d97d4
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-11-06 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
|
* i386-dicos-tdep.c (i386_dicos_init_abi): Set decr_pc_after_break
|
||||||
|
to 0.
|
||||||
|
|
||||||
2008-11-05 Pedro Alves <pedro@codesourcery.com>
|
2008-11-05 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* remote.c (notice_new_inferiors): Add a new inferior only when
|
* remote.c (notice_new_inferiors): Add a new inferior only when
|
||||||
|
|
|
@ -58,6 +58,10 @@ i386_dicos_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
|
||||||
dummy, so we put it on the stack. */
|
dummy, so we put it on the stack. */
|
||||||
set_gdbarch_call_dummy_location (gdbarch, ON_STACK);
|
set_gdbarch_call_dummy_location (gdbarch, ON_STACK);
|
||||||
set_gdbarch_push_dummy_code (gdbarch, i386_dicos_push_dummy_code);
|
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.
|
/* Look in the elf symbol table of ABFD for a symbol named WANTED.
|
||||||
|
|
Loading…
Reference in a new issue