summaryrefslogtreecommitdiffstats
path: root/gdb/gdbthread.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-05-05 00:27:08 +0000
committerAndrew Cagney <cagney@redhat.com>2003-05-05 00:27:08 +0000
commit0ce3d317be781807abc8bf2643cd7e03e8dcbac5 (patch)
treea6bacf9d5a2a2ba91c69a8003210dcb0aa325538 /gdb/gdbthread.h
parent7ac151b7c8b6725044d1ca406531fd408ddd6ed7 (diff)
downloadppe42-binutils-0ce3d317be781807abc8bf2643cd7e03e8dcbac5.tar.gz
ppe42-binutils-0ce3d317be781807abc8bf2643cd7e03e8dcbac5.zip
2003-05-04 Andrew Cagney <cagney@redhat.com>
* gdbthread.h (save_infrun_state): Drop prev_func_name parameter. (load_infrun_state): Ditto. (struct thread_info): Drop "prev_func_name" field. * thread.c (load_infrun_state): Update. (save_infrun_state): Update. * infrun.c (prev_func_name): Delete variable. (init_wait_for_inferior): Do not clear prev_func_name. (stop_stepping, keep_going, context_switch): Do not swap prev_func_name. (handle_inferior_event, check_sigtramp2): Use pc_in_sigtramp instead of PC_IN_SIGTRAMP.
Diffstat (limited to 'gdb/gdbthread.h')
-rw-r--r--gdb/gdbthread.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h
index f336d91f48..09dea26ca8 100644
--- a/gdb/gdbthread.h
+++ b/gdb/gdbthread.h
@@ -44,7 +44,6 @@ struct thread_info
int num; /* Convenient handle (GDB thread id) */
/* State from wait_for_inferior */
CORE_ADDR prev_pc;
- char *prev_func_name;
struct breakpoint *step_resume_breakpoint;
struct breakpoint *through_sigtramp_breakpoint;
CORE_ADDR step_range_start;
@@ -117,7 +116,6 @@ extern struct thread_info *iterate_over_threads (thread_callback_func, void *);
/* infrun context switch: save the debugger state for the given thread. */
extern void save_infrun_state (ptid_t ptid,
CORE_ADDR prev_pc,
- char *prev_func_name,
int trap_expected,
struct breakpoint *step_resume_breakpoint,
struct breakpoint *through_sigtramp_breakpoint,
@@ -137,7 +135,6 @@ extern void save_infrun_state (ptid_t ptid,
for the given thread. */
extern void load_infrun_state (ptid_t ptid,
CORE_ADDR *prev_pc,
- char **prev_func_name,
int *trap_expected,
struct breakpoint **step_resume_breakpoint,
struct breakpoint **through_sigtramp_breakpoint,
OpenPOWER on IntegriCloud