diff options
author | Doug Evans <dje@google.com> | 2015-06-23 11:36:49 -0700 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2015-06-23 11:36:49 -0700 |
commit | a38fe4feddd68b9c0aa082dd078c668ca9f06aae (patch) | |
tree | bb29bb372cfa305c216414dccc72f6dc274a8b54 /gdb/infrun.c | |
parent | 8e6500c55ef0b9413ab16e384dbfcaa238bcd420 (diff) | |
download | gdb-a38fe4feddd68b9c0aa082dd078c668ca9f06aae.zip gdb-a38fe4feddd68b9c0aa082dd078c668ca9f06aae.tar.gz gdb-a38fe4feddd68b9c0aa082dd078c668ca9f06aae.tar.bz2 |
inferior.h (struct inferior_suspend_state): Delete, unused.
gdb/ChangeLog:
* inferior.h (struct inferior_suspend_state): Delete, unused.
All references deleted.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index d8eb0b0..233d0f8 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -7256,9 +7256,6 @@ siginfo_make_value (struct gdbarch *gdbarch, struct internalvar *var, struct infcall_suspend_state { struct thread_suspend_state thread_suspend; -#if 0 /* Currently unused and empty structures are not valid C. */ - struct inferior_suspend_state inferior_suspend; -#endif /* Other fields: */ CORE_ADDR stop_pc; @@ -7278,9 +7275,6 @@ save_infcall_suspend_state (void) { struct infcall_suspend_state *inf_state; struct thread_info *tp = inferior_thread (); -#if 0 - struct inferior *inf = current_inferior (); -#endif struct regcache *regcache = get_current_regcache (); struct gdbarch *gdbarch = get_regcache_arch (regcache); gdb_byte *siginfo_data = NULL; @@ -7314,9 +7308,6 @@ save_infcall_suspend_state (void) } inf_state->thread_suspend = tp->suspend; -#if 0 /* Currently unused and empty structures are not valid C. */ - inf_state->inferior_suspend = inf->suspend; -#endif /* run_inferior_call will not use the signal due to its `proceed' call with GDB_SIGNAL_0 anyway. */ @@ -7335,16 +7326,10 @@ void restore_infcall_suspend_state (struct infcall_suspend_state *inf_state) { struct thread_info *tp = inferior_thread (); -#if 0 - struct inferior *inf = current_inferior (); -#endif struct regcache *regcache = get_current_regcache (); struct gdbarch *gdbarch = get_regcache_arch (regcache); tp->suspend = inf_state->thread_suspend; -#if 0 /* Currently unused and empty structures are not valid C. */ - inf->suspend = inf_state->inferior_suspend; -#endif stop_pc = inf_state->stop_pc; |