Remove unused variable in windows-nat.c
Leave the call for side effects. gdb/ChangeLog: 2016-07-21 Pedro Alves <palves@redhat.com> * windows-nat.c (handle_exception): Remove "th".
This commit is contained in:
parent
e3821cca15
commit
c25b7ccef4
|
@ -1,3 +1,7 @@
|
||||||
|
2016-07-21 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
|
* windows-nat.c (handle_exception): Remove "th".
|
||||||
|
|
||||||
2016-07-21 Pedro Alves <palves@redhat.com>
|
2016-07-21 Pedro Alves <palves@redhat.com>
|
||||||
|
|
||||||
* varobj.c (varobj_value_get_print_value): Move "gdbarch" to block
|
* varobj.c (varobj_value_get_print_value): Move "gdbarch" to block
|
||||||
|
|
|
@ -1014,13 +1014,12 @@ display_selectors (char * args, int from_tty)
|
||||||
static int
|
static int
|
||||||
handle_exception (struct target_waitstatus *ourstatus)
|
handle_exception (struct target_waitstatus *ourstatus)
|
||||||
{
|
{
|
||||||
windows_thread_info *th;
|
|
||||||
DWORD code = current_event.u.Exception.ExceptionRecord.ExceptionCode;
|
DWORD code = current_event.u.Exception.ExceptionRecord.ExceptionCode;
|
||||||
|
|
||||||
ourstatus->kind = TARGET_WAITKIND_STOPPED;
|
ourstatus->kind = TARGET_WAITKIND_STOPPED;
|
||||||
|
|
||||||
/* Record the context of the current thread. */
|
/* Record the context of the current thread. */
|
||||||
th = thread_rec (current_event.dwThreadId, -1);
|
thread_rec (current_event.dwThreadId, -1);
|
||||||
|
|
||||||
switch (code)
|
switch (code)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue