Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Markus Deuling <deuling@de.ibm.com>
Cc: gdb-patches@sourceware.org, Michael Snyder <msnyder@specifix.com>,
		Mark Kettenis <mark.kettenis@xs4all.nl>,
	uweigand@de.ibm.com
Subject: Re: [patch] Add proper error message instead of gdb_assert
Date: Mon, 03 Mar 2008 21:17:00 -0000	[thread overview]
Message-ID: <20080303211705.GA24855@caradoc.them.org> (raw)
In-Reply-To: <47CC6990.7080400@de.ibm.com>

On Mon, Mar 03, 2008 at 10:11:44PM +0100, Markus Deuling wrote:
> What about the attached patch? It gives an error message in value_assign if you try to
> access lval_register < 0. I guess this is much better for the user than a crashed GDB session.
>
> What do you think ?

No.  Both of these are internal errors in GDB.  The internal error
prompt already gives you the option to keep going if you want to.

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2008-03-03 21:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-03 19:37 Markus Deuling
2008-03-03 19:55 ` Mark Kettenis
2008-03-03 20:29   ` Michael Snyder
2008-03-03 20:37     ` Mark Kettenis
2008-03-04  4:09       ` Eli Zaretskii
2008-03-03 20:39     ` Daniel Jacobowitz
2008-03-03 20:46       ` Markus Deuling
2008-03-03 21:12       ` Markus Deuling
2008-03-03 21:17         ` Daniel Jacobowitz [this message]
2008-03-03 20:00 ` Ulrich Weigand
2008-03-03 20:30   ` Michael Snyder
2008-03-03 20:25 ` Michael Snyder

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=20080303211705.GA24855@caradoc.them.org \
    --to=drow@false.org \
    --cc=deuling@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    --cc=msnyder@specifix.com \
    --cc=uweigand@de.ibm.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