This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Fwd: Re: -mlong64 gdb testresults
- To: Gary Rudy <grudy at cygnus dot com>
- Subject: Re: Fwd: Re: -mlong64 gdb testresults
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 10 May 2001 15:45:57 -0400
- Cc: cagney at redhat dot com, mips3264-project at cygnus dot com,Christopher Faylor <cgf at redhat dot com>, Ebachalo at redhat dot com,GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- References: <4.2.0.58.20010507083753.02890f00@mailhost.cygnus.com> <4.2.0.58.20010509064920.0281c9c0@mailhost.cygnus.com>
> At 07:12 PM 5/8/01 -0400, Andrew Cagney wrote:
>
>>A guess.
>>
>>Does the branch contain the patch:
>>
>>Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
>>
>> * valops.c (value_cast): If casting a scalar to a pointer, do not
>> issue a message about truncation unless it exceeds the length of
>> an address, not the length of a pointer. This is because what the
>> user gives us is an address, not a pointer, and we will ultimately
>> convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
>> to a pointer. This allows things like "print *(int *)0x01000234"
>> to work without generating a misleading message on a target having
>> two byte pointers and four byte addresses.
>>
>>for that matter, what is the branch?
>
>
> mips3264-000710-branch
OK, I checked this out but find that it needed the attached patch. BTW,
should someone else also be looking at this, as insurance against my
looming holiday and need to do the cradle stuff first.
Andrew
2000-07-11 Scott Bambrough <scottb@netwinder.org>
* command.c (do_setshow_command): Fix typo in var_auto_boolean
case.
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/Attic/command.c,v
retrieving revision 1.72
diff -p -r1.72 command.c
*** command.c 2000/06/23 08:12:43 1.72
--- command.c 2001/05/10 19:36:04
*************** do_setshow_command (arg, from_tty, c)
*** 1811,1817 ****
fputs_filtered (*(int *) c->var ? "on" : "off", stb->stream);
break;
case var_auto_boolean:
! switch (*(enum auto_boolean*) c->var)
{
case CMD_AUTO_BOOLEAN_TRUE:
fputs_filtered ("on", stb->stream);
--- 1811,1817 ----
fputs_filtered (*(int *) c->var ? "on" : "off", stb->stream);
break;
case var_auto_boolean:
! switch (*(enum cmd_auto_boolean*) c->var)
{
case CMD_AUTO_BOOLEAN_TRUE:
fputs_filtered ("on", stb->stream);