From: Nick Roberts <nickrob@snap.net.nz>
To: Denis PILAT <denis.pilat@st.com>
Cc: gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [RFC] -thread-info new command
Date: Tue, 20 Mar 2007 01:44:00 -0000 [thread overview]
Message-ID: <17919.15500.439138.600411@kahikatea.snap.net.nz> (raw)
In-Reply-To: <45FE9E6A.3030906@st.com>
> +enum gdb_rc
> +gdb_thread_info (struct ui_out *uiout, char *tidstr, char **error_message)
> +{
> + return catch_exceptions_with_msg (uiout, do_captured_thread_info, tidstr,
> + error_message, RETURN_MASK_ALL);
> +}
This has the same problem as gdb_thread_select i.e gdb_thread_info returns type
enum gdb_rc but catch_exceptions_with_msg returns type int. I did suggest a
patch for this:
http://sourceware.org/ml/gdb-patches/2006-10/msg00220.html
(Re: [PATCH] PR mi/2086 -break-insert missing error diagnostic)
but the thread stopped at that point. I think that we should resolve this
issue before adding further similar functions.
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2007-03-20 1:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-19 14:30 Denis PILAT
2007-03-20 1:44 ` Nick Roberts [this message]
2007-03-20 3:09 ` Nick Roberts
2007-03-20 3:14 ` Daniel Jacobowitz
2007-03-20 3:26 ` Nick Roberts
2007-03-21 21:09 ` Nick Roberts
2007-03-22 4:35 ` [RFC] gdb_breakpoint " Nick Roberts
2007-03-27 19:54 ` Daniel Jacobowitz
2007-03-27 21:36 ` Nick Roberts
2007-04-04 14:36 ` Denis PILAT
2007-04-10 15:14 ` Daniel Jacobowitz
2007-04-10 14:53 ` Daniel Jacobowitz
2007-04-10 21:54 ` Nick Roberts
2007-04-10 22:04 ` Daniel Jacobowitz
2007-04-11 1:16 ` 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=17919.15500.439138.600411@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=denis.pilat@st.com \
--cc=gdb-patches@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