Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Gordon Prieur <Gordon.Prieur@Sun.COM>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb@sourceware.org
Subject: Re: Strange stack trace on Windows
Date: Mon, 01 Oct 2007 14:03:00 -0000	[thread overview]
Message-ID: <4700FE1E.6040201@sun.com> (raw)
In-Reply-To: <uk5q8bp8j.fsf@gnu.org>


Eli Zaretskii wrote:
>> Date: Sat, 29 Sep 2007 14:45:02 -0700
>> From: Gordon Prieur <Gordon.Prieur@Sun.COM>
>>
>>     When I interrupt the debugee on Windows I almost never get a stack trace
>> with he debuggee information in it. I get similar traces with both MinGW and
>> Cygwin gdb commands:
>>
>>     
>>> 115where
>>> 115&"where\n"
>>> 115~"#0  0x7c90eb94 in ntdll!LdrAccessResource ()\n"
>>> 115~"   from C:\\WINDOWS\\system32\\ntdll.dll\n"
>>> 115~"#1  0x7c90e3ed in ntdll!ZwRequestWaitReplyPort ()\n"
>>> 115~"   from C:\\WINDOWS\\system32\\ntdll.dll\n"
>>> 115~"#2  0x7c9132f8 in ntdll!CsrProbeForWrite () from 
>>> C:\\WINDOWS\\system32\\ntdll.dll\n"
>>> 115~"#3  0x00003fec in ?? ()\n"
>>> 115~"#4  0x0022fa70 in ?? ()\n"
>>> 115~"#5  0x0022fa70 in ?? ()\n"
>>> 115~"#6  0x00000000 in ?? ()\n"
>>> 115^done
>>>       
>
> If you type "step" repeatedly, do you eventually get to a frame that
> is in your program?  If you do, you can get a valid stack trace at
> that point.
>   

Sometime yes, sometimes no. I implemented that solution abotu 6 months 
ago but backed
it out because it was just as likely to crash gdb:-(  or hang my IDE 
(netbeans).

Gordon


  reply	other threads:[~2007-10-01 14:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-29 22:01 Gordon Prieur
2007-09-30  3:00 ` Daniel Jacobowitz
2007-09-30 18:13 ` Eli Zaretskii
2007-10-01 14:03   ` Gordon Prieur [this message]
2007-10-01 14:39     ` Joel Brobecker
2009-03-17 11:58 Roland Schwingel
2009-03-17 13:19 ` Joel Brobecker
2009-03-17 13:49 Roland Schwingel
2009-03-17 14:27 ` Pedro Alves
2009-03-17 15:08 ` Joel Brobecker
2009-03-17 15:26 Roland Schwingel
2009-03-17 15:39 Roland Schwingel
2009-03-17 19:43 ` Joel Brobecker
2009-03-18  9:26 Roland Schwingel
2009-03-19 14:18 ` Joel Brobecker
2009-03-23 13:12 Roland Schwingel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4700FE1E.6040201@sun.com \
    --to=gordon.prieur@sun.com \
    --cc=eliz@gnu.org \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox