Browse Source

* windows-nat.c (handle_output_debug_string): Change type of n to

SIZE_T to avoid crash on 64 bit systems.
cygwin-64bit-premerge-branch
Corinna Vinschen 14 years ago
parent
commit
2c15ef432f
  1. 5
      gdb/ChangeLog
  2. 2
      gdb/windows-nat.c

5
gdb/ChangeLog

@ -1,3 +1,8 @@
2013-03-19 Corinna Vinschen <vinschen@redhat.com>
* windows-nat.c (handle_output_debug_string): Change type of n to
SIZE_T to avoid crash on 64 bit systems.
2013-03-17 Eli Zaretskii <eliz@gnu.org>
* python/python-internal.h (HAVE_SNPRINTF)

2
gdb/windows-nat.c

@ -973,7 +973,7 @@ handle_output_debug_string (struct target_waitstatus *ourstatus)
if (gotasig)
{
LPCVOID x;
DWORD n;
SIZE_T n;
ourstatus->kind = TARGET_WAITKIND_STOPPED;
retval = strtoul (p, &p, 0);
if (!retval)

Loading…
Cancel
Save