Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [ob] Add missing `struct objfile' to symtab.h
@ 2003-02-18 22:21 Andrew Cagney
  2003-02-18 22:30 ` Jim Blandy
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Cagney @ 2003-02-18 22:21 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 195 bytes --]

Just FYI,

This fixes a build problem with --target=sparc-elf.  The ARI script:

http://sources.redhat.com/gdb/current/ari/gdb_ari.sh

has also been updated to check for this.

committed,
Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 580 bytes --]

2003-02-18  Andrew Cagney  <cagney@redhat.com>

	* symtab.h (struct objfile): Add opaque declaration.

Index: symtab.h
===================================================================
RCS file: /cvs/src/src/gdb/symtab.h,v
retrieving revision 1.57
diff -u -r1.57 symtab.h
--- symtab.h	4 Feb 2003 21:37:03 -0000	1.57
+++ symtab.h	18 Feb 2003 22:10:04 -0000
@@ -26,6 +26,7 @@
 
 /* Opaque declarations.  */
 struct obstack;
+struct objfile;
 
 /* Don't do this; it means that if some .o's are compiled with GNU C
    and some are not (easy to do accidentally the way we configure

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ob] Add missing `struct objfile' to symtab.h
  2003-02-18 22:21 [ob] Add missing `struct objfile' to symtab.h Andrew Cagney
@ 2003-02-18 22:30 ` Jim Blandy
  2003-02-18 22:50   ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Blandy @ 2003-02-18 22:30 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb-patches


Andrew Cagney <ac131313@redhat.com> writes:
> This fixes a build problem with --target=sparc-elf.  The ARI script:
> 
> http://sources.redhat.com/gdb/current/ari/gdb_ari.sh
> 
> has also been updated to check for this.

Just out of curiousity, do you know why this failure occurs only for
sparc-elf?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ob] Add missing `struct objfile' to symtab.h
  2003-02-18 22:30 ` Jim Blandy
@ 2003-02-18 22:50   ` Daniel Jacobowitz
  2003-02-18 23:17     ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2003-02-18 22:50 UTC (permalink / raw)
  To: gdb-patches

On Tue, Feb 18, 2003 at 05:23:20PM -0500, Jim Blandy wrote:
> 
> Andrew Cagney <ac131313@redhat.com> writes:
> > This fixes a build problem with --target=sparc-elf.  The ARI script:
> > 
> > http://sources.redhat.com/gdb/current/ari/gdb_ari.sh
> > 
> > has also been updated to check for this.
> 
> Just out of curiousity, do you know why this failure occurs only for
> sparc-elf?

I'm pretty sure the answer is that Sparc isn't multi-arched (or
sufficiently multi-arched, or something).

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ob] Add missing `struct objfile' to symtab.h
  2003-02-18 22:50   ` Daniel Jacobowitz
@ 2003-02-18 23:17     ` Andrew Cagney
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Cagney @ 2003-02-18 23:17 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb-patches

> On Tue, Feb 18, 2003 at 05:23:20PM -0500, Jim Blandy wrote:
> 
>> 
>> Andrew Cagney <ac131313@redhat.com> writes:
> 
>> > This fixes a build problem with --target=sparc-elf.  The ARI script:
>> > 
>> > http://sources.redhat.com/gdb/current/ari/gdb_ari.sh
>> > 
>> > has also been updated to check for this.
> 
>> 
>> Just out of curiousity, do you know why this failure occurs only for
>> sparc-elf?

Nope.  Some sort of unique header file include ordering caused by:

> I'm pretty sure the answer is that Sparc isn't multi-arched (or
> sufficiently multi-arched, or something).

I guess.

Andrew



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-18 23:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-18 22:21 [ob] Add missing `struct objfile' to symtab.h Andrew Cagney
2003-02-18 22:30 ` Jim Blandy
2003-02-18 22:50   ` Daniel Jacobowitz
2003-02-18 23:17     ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox