GDB 5.2 Configure parameters

Mike Siers mikes at poliac.com
Fri Jan 10 21:09:03 UTC 2003


Hi Joel,
So if I switch to use gdb 5.0.7, can I build i386-RTEMS-gdb that
supports rdbg?  Where are the patch files for this version?

I see that the ftp site has an rpm for this gdb version but I need
to build it from source.

Thanks
Mike Siers
Poliac Research


-----Original Message-----
From: Joel Sherrill [mailto:joel.sherrill at OARcorp.com]
Sent: Friday, January 10, 2003 2:23 PM
To: Michael J. Siers; Eric Valette
Cc: rtems-users at oarcorp.com
Subject: Re: GDB 5.2 Configure parameters





"Michael J. Siers" wrote:
>
> Hi,
> I am trying to build gdb 5.2 for the i386 with the rdbg support.  I have
> applied
> the three different patches:
>    gdb-5.2-rtems-base-20020612.diff,
>    gdb-5.2-rtems-cg-20020612.diff
>    gdb-5.2-rtems-rdbg-20020612.diff.
>
> I built gdb using the following configure command but I get an undefined
> command
> when I type "setrpcmode sun" using the i386-rtems-gdb binary.
>
>
  ../gdb-5.2/configure --prefix=/opt/rtems --target=i386-rtems --norecursion
>
> Do I need to enable rdbg on the configure line?  What configure options
> should be
> used to build this?

the targets for rdbg mode use "RTEMS" not rtems as the latter part of
the target name (e.g. i386-RTEMS).

Worse, the rdbg code does not compile with 5.2 due to some changes in
gdb.  Eric Valette is trying to make time to look into fixing this.
Until then, if you see how to make it compile, you get a gold star. :)

Once it is compileable by 5.2, I wanted to work on the configuery
magic so it could be turned on automatically if the host had the correct
set of features.

> Thanks
> Mike Siers

--
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985




More information about the users mailing list