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: [RFC] changes to gdb.gdb to use new gdb.exp


Michael,

Attached is a patch with changes, I tested this patch on X86 (debian
sarge) and PowerPC 64bit (SLES 9). Attached is a sample gdb.log from my
PowerPC testing.

this is ok to apply?

Thanks a ton
-----
Manjo
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Cognito ergo sum                                                          +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

On Wed, 1 Sep 2004, Michael Chastain wrote:

> Hi Manoj,
>
> Three things:
>
> . Use "lsearch" rather than "lindex".  The spec for gdb_file_cmd says
>   that it can return several words after the MESSAGE.  So something
>   like:
>
>     if { [lsearch -exact [lrange $result 1 end] "nodebug"] >= 0 }
>
>   That way, the caller will keep working after gdb_file_cmd adds more words.
>
> . Include a ChangeLog entry with the patch.
>
> . Say what system you tested the patch on, and how you tested it.
>
> Michael
>

Attachment: gdb.gdb.patch.v2
Description: PATCH for gdb.gdb testcases

Attachment: gdb.log
Description: gdb.log (sample)


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