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: Remove ancient GNU catch catch/catch throw support


[ Going through old e-mail. ]

On Tue, 25 Mar 2003 10:22:57 -0500, Andrew Cagney <ac131313 at redhat dot com> said:

>> This is for either g++ 1.x or early 2.x; it doesn't work for 2.95 which is
>> the oldest C++ compiler we're interested in supporting.  I'll commit this in
>> a day or so unless anyone has a good reason not to.

> The statement that GDB doesn't support anything before 2.95 should
> also be formalized.  At present there isn't anything in writing :-(

There is the following statement in gdb.texinfo:

  Currently, @value{GDBN} works best when debugging C at t{++} code that
  is compiled with @value{NGCC} 2.95.3 or with @value{NGCC} 3.1 or
  newer, using the options @option{-gdwarf-2} or @option{-gstabs+}.
  DWARF 2 is preferred over stabs+.  Most configurations of
  @value{NGCC} emit either DWARF 2 or stabs+ as their default debug
  format, so you usually don't need to specify a debug format
  explicitly.  Other compilers and/or debug formats are likely to work
  badly or not at all when using @value{GDBN} to debug C at t{++} code.

But it probably should be mentioned more prominently somewhere.  I'm
not sure exactly what we want to say: we're not going through and
ripping out support for HP's C++ compiler, after all.  (At least not
yet...)

David Carlton
carlton at math dot stanford dot edu


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