Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@codesourcery.com>
To: Masatake YAMATO <yamato@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: To know the stopped reason from hook-stop
Date: Tue, 31 Jul 2007 20:02:00 -0000	[thread overview]
Message-ID: <m31weos7pu.fsf@codesourcery.com> (raw)
In-Reply-To: <20070731.223548.76561387.yamato@redhat.com> (Masatake YAMATO's message of "Tue, 31 Jul 2007 22:35:48 +0900 (JST)")


Masatake YAMATO <yamato@redhat.com> writes:
> (I am very new to this list.
>  If my topic is suitable to this list, tell me the better list.)

This list is fine, since you were posting a patch.  Given that you're
also asking broad questions about GDB's design, gdb@ would have been
okay, too.

> Is there way to know in hook-stop the reason why the execution 
> is stopped?

No. :(

> I could not find the way to do it, so I've just written a patch.
> The patch is far from complete, but I'd like to know how to improve
> it and integrate it to gdb official source tree. So I post the patch 
> here.

Hmm.

It's painful to watch people wrestle GDB's scripting language into
doing something useful.  If Daniel's patch to add Python as a
scripting language for GDB were in the public sources, then I could
say, "Don't worry about trying to fix GDB's horrible scripting
language, provide this data to Python."  I'm sure that's the better
investment.

At the same time, I don't want to make the mistake of saying, "Oh, no,
let's not commit that improvement, something much better is coming
along real soon now" when there are no specific plans for the much
better thing's arrival.

Daniel, have you had time to work on that patch since we last talked
about it?


  reply	other threads:[~2007-07-31 19:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31 14:29 Masatake YAMATO
2007-07-31 20:02 ` Jim Blandy [this message]
2007-07-31 20:38   ` Daniel Jacobowitz
2007-07-31 21:32     ` Masatake YAMATO

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=m31weos7pu.fsf@codesourcery.com \
    --to=jimb@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=yamato@redhat.com \
    /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