www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/11/15/02:47:30

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
From: Andris Pavenis <pavenis AT latnet DOT lv>
To: djgpp-workers AT delorie DOT com
Subject: Re: Patches to build GDB 6.3
Date: Mon, 15 Nov 2004 09:43:28 +0200
User-Agent: KMail/1.7.1
References: <01c4c987$Blat.v2.2.2$52b9e920 AT zahav DOT net DOT il>
In-Reply-To: <01c4c987$Blat.v2.2.2$52b9e920@zahav.net.il>
Cc: "Eli Zaretskii" <eliz AT gnu DOT org>
MIME-Version: 1.0
Message-Id: <200411150943.28672.pavenis@latnet.lv>
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on putosiko.hut.fi
X-TKK-Virus-Scanned: by amavisd-new-2.1.2-hutcc at putosiko.hut.fi
Reply-To: djgpp-workers AT delorie DOT com

On Saturday 13 November 2004 15:46, Eli Zaretskii wrote:
> If you want to build GDB 6.3 (released a few days ago) with DJGPP, you
> will need the following patches.
>
> I committed them to the GDB CVS repository, so snapshots should build
> OK, and future versions will, too.

Doesn't seem to be enough. 

gdb/observer.sh set IFS=: and as result I had to edit $texi not to include this symbol

Even after that backtrace command in GDB is broken except of for current frame.

When I tried to debug gdb itself then I'm getting following output:

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i786-pc-msdosdjgpp --target=djgpp"...
Setting up the environment for debugging gdb.
Breakpoint 1 at 0x47a5: file utils.c, line 849.
Breakpoint 2 at 0x9df6: file g:/build/gnu/gdb/gnu/gdb-6.3/gdb/cli/cli-cmds.c, line 193.
(top-gdb) tb main
Breakpoint 3 at 0x1745: file gdb.c, line 30.
(top-gdb) r
Starting program: g:/build/gnu/gdb/gnu/gdb-6.3/gdb/gdb.exe
main (argc=0, argv=0x0) at gdb.c:30
30        memset (&args, 0, sizeof args);
(top-gdb) n
During symbol reading, Incomplete CFI data; unspecified registers at 0x0000174c.

28      {
(top-gdb)

Both problems were also with gdb-6.2.1, but not with gdb-6.1.1. 

bfdsymify doesn't build because of bfd_get_section_size_before_reloc() is
unresolved.

I didn't test this time with gdb-6.3, but at least gdb-6.2.1 didn't build unless I had
ncurses installed. pdcurses was not Ok. If ncurses is installed also gdbtui.exe builds
and seems to work except of the same probemw which are with gdb.exe

Andris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019