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]

Re: Fwd: Re: -mlong64 gdb testresults


> 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);


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