This is the mail archive of the gdb-patches@sourceware.org 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: portability issues with gdb-6.4


On Mon, May 15, 2006 at 11:50:33AM -0400, Daniel Jacobowitz wrote:
> On Thu, May 11, 2006 at 10:16:06PM -0500, Peter O'Gorman wrote:
 
> This is already fixed in CVS (2006-03-03).  In general, patches against
> releases are not very useful.

Okay, we build released versions, so that is what we patch. In future
I'll try to confirm that patches are necessary on current versions
before posing.

 
> You mean the mips simulator, I gather.  Checking for GCC really isn't
> right; if anything, it should be fixed.  Meanwhile, you can use
> --disable-sim.

Ah, okay, thanks.

> > 4) struct symtab_and_line cursal = { }; is not portable. I changed these
> > to { 0 }, which compiles with irix cc, but it seems likely that just
> > removing the '= { }' would also work.
> 
> Thanks a lot.  This is a GCC extension.  I had to ask around the
> office, and we concluded that it is equivalent (in this case) to { 0 }
> (but not to no initialization at all, which would leave some fields
> uninitialized).  I checked in this part.

Thank you very much,
Peter



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