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: add set cp-abi command


I got distracted from this for a little while...  Here is a final 
version with something in the texi file as well.

ChangeLog:

2002-03-12  James Ingham <jingham@apple.com>

         * cp-abi.c (set_cp_abi_cmd, show_cp_abi_cmd,): New functions,
         allow you to set & show cplus abi's in case gdb gets it wrong.
         (set_cp_abi_as_auto_default): New function, set the "auto" abi
         to be this abi.
         (is_cp_abi_auto_p): New function, say whether the current abi
         is the default or not.
         (_initialize_cp_abi): Define the cp-abi switching commands.
         * cp-abi.h: declare the new functions.
         * minsyms.c (install_minimal_symbols): don't switch the cp_abi
         unless the current abi is auto.
         * gnu-v2-abi.c (_initialize_gnu_v2_abi): don't switch to gnu-v2,
         but set it as the auto_default instead.

Okay to check in?

Attachment: cp-abi.patch
Description: Binary data



Jim


On Friday, March 22, 2002, at 11:09  AM, Daniel Jacobowitz wrote:

> On Fri, Mar 22, 2002 at 02:04:08PM -0500, Andrew Cagney wrote:
>>
>>> (or something like that; eliminating the \-return, which gcc3 I 
>>> thought
>>> would warn about...)
>>
>> FYI,  gcc has problems with:
>>
>> 	this is a string
>> that goes across several lines.
>>
>> but not:
>>
>> 	this is a string\n\
>> that goes across several lines
>
> Oh, that was it.  In any case, I prefer using implicit string
> concatenation, since it doesn't mess up indentation as much.
>
> --
> Daniel Jacobowitz                           Carnegie Mellon University
> MontaVista Software                         Debian GNU/Linux Developer
>
>
--
Jim Ingham                                   jingham@apple.com
Developer Tools - gdb
Apple Computer

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