Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Cameron Stone <camerons@cse.unsw.edu.au>
To: gdb@sourceware.org
Subject: expanding backtrace
Date: Wed, 28 Jun 2006 03:05:00 -0000	[thread overview]
Message-ID: <200606271825.20501.camerons@cse.unsw.edu.au> (raw)

I'm trying to write a script to print an expanded backtrace. It's basically:

while loop_condition
	print frame
	print local variables
	print list (context)
	up-silently
end

However, I can't figure out how to implement the loop condition. All the 
functions in the manual are about how to print that information, but can't 
figure out how to get it into a variable or something that can be used to 
break the loop.

Apologies if this has already been dealt with. I couldn't find it in the list 
archives.
-- 
===================================================================

"Man is the only animal that blushes -- or needs to." - Mark Twain

Cameron Stone                            <camerons@cse.unsw.edu.au>
===================================================================


             reply	other threads:[~2006-06-27  8:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-28  3:05 Cameron Stone [this message]
2006-06-28 14:02 ` Daniel Jacobowitz
2006-06-29  2:27 ` Andrew STUBBS
2006-06-29  3:48   ` Nick Roberts

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=200606271825.20501.camerons@cse.unsw.edu.au \
    --to=camerons@cse.unsw.edu.au \
    --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