This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfc][rfa:doc][rfa;testsuite] Add ``internal-warning''


Date: Thu, 15 Aug 2002 17:32:54 -0400
From: Andrew Cagney <ac131313@ges.redhat.com>

This patch adds an internal_warning() function to GDB. It's behavour is identical to internal_error() (quit? dump core?) only, at the end, it doesn't throw an error, instead returning to the caller.

I'd like gdb.texinfo to tell more about what GDB will print when this
command is invoked.  Perhaps just give an example.  ``behave as though
an internal error or warning is being reported'' doesn't sound
descriptive enough (it's not like every user is born with a built-in
knowledge of that behavior... ;-).
Makes sense, I'll do both.

Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]