* target.h (enum target_signal): Move definition from here.

* defs.h (enum target_signal): To here.

* config/arc/tm-arc.h (arc_software_single_step): Change type of
first parameter to enum target_signal.
* config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
* config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
* rs6000-tdep.c (rs6000_software_single_step): Update.
This commit is contained in:
Andrew Cagney
2001-03-21 18:31:48 +00:00
parent b0dad76219
commit 379d08a1d4
8 changed files with 165 additions and 150 deletions

View File

@@ -809,7 +809,8 @@ undoSStep (thread_info * th)
}
void
wince_software_single_step (unsigned int ignore, int insert_breakpoints_p)
wince_software_single_step (enum target_signal ignore,
int insert_breakpoints_p)
{
unsigned long pc;
thread_info *th = current_thread; /* Info on currently selected thread */
@@ -949,7 +950,8 @@ undoSStep (thread_info * th)
which would be executed. This code hails from sh-stub.c.
*/
void
wince_software_single_step (unsigned int ignore, int insert_breakpoints_p)
wince_software_single_step (enum target_signal ignore,
int insert_breakpoints_p)
{
thread_info *th = current_thread; /* Info on currently selected thread */
@@ -995,7 +997,8 @@ undoSStep (thread_info * th)
}
void
wince_software_single_step (unsigned int ignore, int insert_breakpoints_p)
wince_software_single_step (enum target_signal ignore,
int insert_breakpoints_p)
{
unsigned long pc;
thread_info *th = current_thread; /* Info on currently selected thread */