public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Todays CVS checkout fails on frv, ppceabi, mips, ...
@ 2003-02-17 19:44 Graham Stott
  2003-02-17 19:50 ` Daniel Jacobowitz
  2003-02-18  2:39 ` Andrew Cagney
  0 siblings, 2 replies; 10+ messages in thread
From: Graham Stott @ 2003-02-17 19:44 UTC (permalink / raw)
  To: gdb; +Cc: ac131313

Hi

Anyone know what's changed since the 16th to cause this :

---------------------------------------------
/usr/local/src/uberbaum/gdb/gregset.h:32: error: parse error before "gdb_gregset_t"
/usr/local/src/uberbaum/gdb/gregset.h:32: warning: type defaults to `int' in declaration of `gdb_gregset_t'
/usr/local/src/uberbaum/gdb/gregset.h:32: warning: data definition has no type or storage class
/usr/local/src/uberbaum/gdb/gregset.h:33: error: parse error before "gdb_fpregset_t"
/usr/local/src/uberbaum/gdb/gregset.h:33: warning: type defaults to `int' in declaration of `gdb_fpregset_t'
/usr/local/src/uberbaum/gdb/gregset.h:33: warning: data definition has no type or storage class
/usr/local/src/uberbaum/gdb/gregset.h:45: error: parse error before '*' token
/usr/local/src/uberbaum/gdb/gregset.h:46: error: parse error before '*' token
/usr/local/src/uberbaum/gdb/gregset.h:52: error: parse error before '*' token
/usr/local/src/uberbaum/gdb/gregset.h:53: error: parse error before '*' token
/usr/local/src/uberbaum/gdb/linux-proc.c: In function `linux_do_thread_registers':
/usr/local/src/uberbaum/gdb/linux-proc.c:175: error: parse error before "gregs"
/usr/local/src/uberbaum/gdb/linux-proc.c:182: error: `gregs' undeclared (first use in this function)
/usr/local/src/uberbaum/gdb/linux-proc.c:182: error: (Each undeclared identifier is reported only once
/usr/local/src/uberbaum/gdb/linux-proc.c:182: error: for each function it appears in.)
/usr/local/src/uberbaum/gdb/linux-proc.c:190: error: `fpregs' undeclared (first use in this function)
---------------------------------------------

on all the cross toolchains (frv, ppceabi, mips, ...) I've tried to build
today following a cvs update. Everything built last night and I can't see
anything obvious in ChangeLogs.

Cheers
Graham

ps. i686-pc-linux-gnu native builds no problem,

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

* Re: Todays CVS checkout fails on frv, ppceabi, mips, ...
  2003-02-17 19:44 Todays CVS checkout fails on frv, ppceabi, mips, Graham Stott
@ 2003-02-17 19:50 ` Daniel Jacobowitz
  2003-02-17 19:53   ` Graham Stott
  2003-02-18  2:39 ` Andrew Cagney
  1 sibling, 1 reply; 10+ messages in thread
From: Daniel Jacobowitz @ 2003-02-17 19:50 UTC (permalink / raw)
  To: Graham Stott; +Cc: gdb, ac131313

On Mon, Feb 17, 2003 at 07:45:03PM +0000, Graham Stott wrote:
> Hi
> 
> Anyone know what's changed since the 16th to cause this :
> 
> ---------------------------------------------
> /usr/local/src/uberbaum/gdb/gregset.h:32: error: parse error before 
> "gdb_gregset_t"

Where's it getting included from?


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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

* Re: Todays CVS checkout fails on frv, ppceabi, mips, ...
  2003-02-17 19:50 ` Daniel Jacobowitz
@ 2003-02-17 19:53   ` Graham Stott
  2003-02-17 19:58     ` Daniel Jacobowitz
  0 siblings, 1 reply; 10+ messages in thread
From: Graham Stott @ 2003-02-17 19:53 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb, ac131313

Daniel Jacobowitz wrote:
> On Mon, Feb 17, 2003 at 07:45:03PM +0000, Graham Stott wrote:
> 
>>Hi
>>
>>Anyone know what's changed since the 16th to cause this :
>>
>>---------------------------------------------
>>/usr/local/src/uberbaum/gdb/gregset.h:32: error: parse error before 
>>"gdb_gregset_t"
> 
> 
> Where's it getting included from?
> 
> 
gdb/linux-proc.c




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

* Re: Todays CVS checkout fails on frv, ppceabi, mips, ...
  2003-02-17 19:53   ` Graham Stott
@ 2003-02-17 19:58     ` Daniel Jacobowitz
  2003-02-17 20:29       ` Graham Stott
  2003-02-17 20:32       ` Graham Stott
  0 siblings, 2 replies; 10+ messages in thread
From: Daniel Jacobowitz @ 2003-02-17 19:58 UTC (permalink / raw)
  To: Graham Stott; +Cc: gdb, ac131313

On Mon, Feb 17, 2003 at 07:54:33PM +0000, Graham Stott wrote:
> Daniel Jacobowitz wrote:
> >On Mon, Feb 17, 2003 at 07:45:03PM +0000, Graham Stott wrote:
> >
> >>Hi
> >>
> >>Anyone know what's changed since the 16th to cause this :
> >>
> >>---------------------------------------------
> >>/usr/local/src/uberbaum/gdb/gregset.h:32: error: parse error before 
> >>"gdb_gregset_t"
> >
> >
> >Where's it getting included from?
> >
> >
> gdb/linux-proc.c

Is the target != host block at the end of configure.in triggering? 
Andrew changed that today but I can't see any problem with his change.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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

* Re: Todays CVS checkout fails on frv, ppceabi, mips, ...
  2003-02-17 19:58     ` Daniel Jacobowitz
@ 2003-02-17 20:29       ` Graham Stott
  2003-02-17 20:32       ` Graham Stott
  1 sibling, 0 replies; 10+ messages in thread
From: Graham Stott @ 2003-02-17 20:29 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb, ac131313

Daniel Jacobowitz wrote:
> On Mon, Feb 17, 2003 at 07:54:33PM +0000, Graham Stott wrote:
> 
>>Daniel Jacobowitz wrote:
>>
>>>On Mon, Feb 17, 2003 at 07:45:03PM +0000, Graham Stott wrote:
>>>
>>>
>>>>Hi
>>>>
>>>>Anyone know what's changed since the 16th to cause this :
>>>>
>>>>---------------------------------------------
>>>>/usr/local/src/uberbaum/gdb/gregset.h:32: error: parse error before 
>>>>"gdb_gregset_t"
>>>
>>>
>>>Where's it getting included from?
>>>
>>>
>>
>>gdb/linux-proc.c
> 
> 
> Is the target != host block at the end of configure.in triggering? 
> Andrew changed that today but I can't see any problem with his change.
> 

No it doesn't look like it's triggering :-(

I added "else echo "native" 1>&2" to that block and I'm seeing "native"
when I rerun configure.

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

* Re: Todays CVS checkout fails on frv, ppceabi, mips, ...
  2003-02-17 19:58     ` Daniel Jacobowitz
  2003-02-17 20:29       ` Graham Stott
@ 2003-02-17 20:32       ` Graham Stott
  2003-02-17 20:39         ` Daniel Jacobowitz
  1 sibling, 1 reply; 10+ messages in thread
From: Graham Stott @ 2003-02-17 20:32 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb, ac131313

Daniel Jacobowitz wrote:
> On Mon, Feb 17, 2003 at 07:54:33PM +0000, Graham Stott wrote:
> 
>>Daniel Jacobowitz wrote:
>>
>>>On Mon, Feb 17, 2003 at 07:45:03PM +0000, Graham Stott wrote:
>>>
>>>
>>>>Hi
>>>>
>>>>Anyone know what's changed since the 16th to cause this :
>>>>
>>>>---------------------------------------------
>>>>/usr/local/src/uberbaum/gdb/gregset.h:32: error: parse error before 
>>>>"gdb_gregset_t"
>>>
>>>
>>>Where's it getting included from?
>>>
>>>
>>
>>gdb/linux-proc.c
> 
> 
> Is the target != host block at the end of configure.in triggering? 
> Andrew changed that today but I can't see any problem with his change.
> 

I think I can see what's wrong ${host} and ${target} need to ${gdb_host_cpu}
and ${gdb_target_cpu} respect.

Graham

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

* Re: Todays CVS checkout fails on frv, ppceabi, mips, ...
  2003-02-17 20:32       ` Graham Stott
@ 2003-02-17 20:39         ` Daniel Jacobowitz
  2003-02-17 20:52           ` Graham Stott
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel Jacobowitz @ 2003-02-17 20:39 UTC (permalink / raw)
  To: Graham Stott; +Cc: gdb, ac131313

On Mon, Feb 17, 2003 at 08:33:28PM +0000, Graham Stott wrote:
> Daniel Jacobowitz wrote:
> >On Mon, Feb 17, 2003 at 07:54:33PM +0000, Graham Stott wrote:
> >
> >>Daniel Jacobowitz wrote:
> >>
> >>>On Mon, Feb 17, 2003 at 07:45:03PM +0000, Graham Stott wrote:
> >>>
> >>>
> >>>>Hi
> >>>>
> >>>>Anyone know what's changed since the 16th to cause this :
> >>>>
> >>>>---------------------------------------------
> >>>>/usr/local/src/uberbaum/gdb/gregset.h:32: error: parse error before 
> >>>>"gdb_gregset_t"
> >>>
> >>>
> >>>Where's it getting included from?
> >>>
> >>>
> >>
> >>gdb/linux-proc.c
> >
> >
> >Is the target != host block at the end of configure.in triggering? 
> >Andrew changed that today but I can't see any problem with his change.
> >
> 
> I think I can see what's wrong ${host} and ${target} need to ${gdb_host_cpu}
> and ${gdb_target_cpu} respect.

Really?  What are $host and $target?  And how did you configure?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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

* Re: Todays CVS checkout fails on frv, ppceabi, mips, ...
  2003-02-17 20:39         ` Daniel Jacobowitz
@ 2003-02-17 20:52           ` Graham Stott
  2003-02-17 21:04             ` Daniel Jacobowitz
  0 siblings, 1 reply; 10+ messages in thread
From: Graham Stott @ 2003-02-17 20:52 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb, ac131313

Daniel Jacobowitz wrote:
> On Mon, Feb 17, 2003 at 08:33:28PM +0000, Graham Stott wrote:
> 
>>Daniel Jacobowitz wrote:
>>
>>>On Mon, Feb 17, 2003 at 07:54:33PM +0000, Graham Stott wrote:
>>>
>>>
>>>>Daniel Jacobowitz wrote:
>>>>
>>>>
>>>>>On Mon, Feb 17, 2003 at 07:45:03PM +0000, Graham Stott wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Hi
>>>>>>
>>>>>>Anyone know what's changed since the 16th to cause this :
>>>>>>
>>>>>>---------------------------------------------
>>>>>>/usr/local/src/uberbaum/gdb/gregset.h:32: error: parse error before 
>>>>>>"gdb_gregset_t"
>>>>>
>>>>>
>>>>>Where's it getting included from?
>>>>>
>>>>>
>>>>
>>>>gdb/linux-proc.c
>>>
>>>
>>>Is the target != host block at the end of configure.in triggering? 
>>>Andrew changed that today but I can't see any problem with his change.
>>>
>>
>>I think I can see what's wrong ${host} and ${target} need to ${gdb_host_cpu}
>>and ${gdb_target_cpu} respect.
> 
> 
> Really?  What are $host and $target?  And how did you configure?
> 

Both are empty.

A bog standard "/usr/local/src/uberbaum/configure --target=mips-elf"

If you look a few line up in gdb's configure script you'll see

gdb_host_cpu=$gdb_hogdb_host_cpu=$gdb_host_cpu
gdb_target_cpu=$gdb_target_cpu
nativefile=$nativefile

and after configuring gdb/config.status contains

gdb_host_cpu=i386
gdb_target_cpu=mips
nativefile=

Making my suggested change in my local tree configuring now triggers the host != target
block and my builds are now working.

Graham

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

* Re: Todays CVS checkout fails on frv, ppceabi, mips, ...
  2003-02-17 20:52           ` Graham Stott
@ 2003-02-17 21:04             ` Daniel Jacobowitz
  0 siblings, 0 replies; 10+ messages in thread
From: Daniel Jacobowitz @ 2003-02-17 21:04 UTC (permalink / raw)
  To: Graham Stott; +Cc: gdb, ac131313

On Mon, Feb 17, 2003 at 08:52:53PM +0000, Graham Stott wrote:
> Daniel Jacobowitz wrote:
> >On Mon, Feb 17, 2003 at 08:33:28PM +0000, Graham Stott wrote:
> >
> >>Daniel Jacobowitz wrote:
> >>
> >>>On Mon, Feb 17, 2003 at 07:54:33PM +0000, Graham Stott wrote:
> >>>
> >>>
> >>>>Daniel Jacobowitz wrote:
> >>>>
> >>>>
> >>>>>On Mon, Feb 17, 2003 at 07:45:03PM +0000, Graham Stott wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Hi
> >>>>>>
> >>>>>>Anyone know what's changed since the 16th to cause this :
> >>>>>>
> >>>>>>---------------------------------------------
> >>>>>>/usr/local/src/uberbaum/gdb/gregset.h:32: error: parse error before 
> >>>>>>"gdb_gregset_t"
> >>>>>
> >>>>>
> >>>>>Where's it getting included from?
> >>>>>
> >>>>>
> >>>>
> >>>>gdb/linux-proc.c
> >>>
> >>>
> >>>Is the target != host block at the end of configure.in triggering? 
> >>>Andrew changed that today but I can't see any problem with his change.
> >>>
> >>
> >>I think I can see what's wrong ${host} and ${target} need to 
> >>${gdb_host_cpu}
> >>and ${gdb_target_cpu} respect.
> >
> >
> >Really?  What are $host and $target?  And how did you configure?
> >
> 
> Both are empty.

That's really confusing to me - shouldn't they be your host and
mips-unknown-elf?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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

* Re: Todays CVS checkout fails on frv, ppceabi, mips, ...
  2003-02-17 19:44 Todays CVS checkout fails on frv, ppceabi, mips, Graham Stott
  2003-02-17 19:50 ` Daniel Jacobowitz
@ 2003-02-18  2:39 ` Andrew Cagney
  1 sibling, 0 replies; 10+ messages in thread
From: Andrew Cagney @ 2003-02-18  2:39 UTC (permalink / raw)
  To: Graham Stott; +Cc: gdb, ac131313

> Hi
> 
> Anyone know what's changed since the 16th to cause this :

Just FYI,  I've yanked [my] patch.  Need to go back and test it some more.

Andrew

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

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-17 19:44 Todays CVS checkout fails on frv, ppceabi, mips, Graham Stott
2003-02-17 19:50 ` Daniel Jacobowitz
2003-02-17 19:53   ` Graham Stott
2003-02-17 19:58     ` Daniel Jacobowitz
2003-02-17 20:29       ` Graham Stott
2003-02-17 20:32       ` Graham Stott
2003-02-17 20:39         ` Daniel Jacobowitz
2003-02-17 20:52           ` Graham Stott
2003-02-17 21:04             ` Daniel Jacobowitz
2003-02-18  2:39 ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).