Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-02

Fwd: GDB 7.0.90 available for testing

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jonas Maebe

This is the pre-release for GDB 7.1

Begin forwarded message:

Show quoted text 21 lines
From: Joel Brobecker Date: Fri 19 Feb 2010 02:20:23 GMT+01:00 To: Subject: GDB 7.0.90 available for testing Hello, I have just finished creating the gdb-7.0.90 pre-release. It is available for download at the following location: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb-7.0.90.tar.bz2 A gzip'ed version is also available: gdb-7.0.90.tar.gz. Please give it a test if you can and report any problems you might find. On behalf of all the GDB contributors, thank you! -- Joel

Reply by email

Marco van de Voort
to Jonas Maebe

In our previous episode, Jonas Maebe said:

This is the pre-release for GDB 7.1

For the interested, I did a win32-mingw build:

http://www.stack.nl/~marcov/gdb7090.zip (6MB since unstripped)

I tried to build the IDE with libgdb, and it seems some deprecated symbols were removed:

C:\repo\fpc\packages\gdbint\units\i386-win32\gdbint.o: In function `GDBINT_finalize_implicit':
C:/repo/fpc/packages/gdbint/src/gdbint.pp:(.text.n_gdbint_tgdbinterface_$__gdb__init+0x20): undefined reference to `deprecated_create_breakpoint_hook' C:/repo/fpc/packages/gdbint/src/gdbint.pp:(.text.n_gdbint_tgdbinterface_$__gdb_done+0x20): undefined reference to `deprecated_create_breakpoint_hook' C:/repo/fpc/packages/gdbint/src/gdbint.pp:(.text.n_gdbint_initlibgdb+0x96): undefined reference to `error_init'

so the IDE doesn't build.

Reply by email

Marco van de Voort
to Marco van de Voort

In our previous episode, Marco van de Voort said:

Show quoted text 12 lines
I tried to build the IDE with libgdb, and it seems some deprecated symbols were removed: C:\repo\fpc\packages\gdbint\units\i386-win32\gdbint.o: In function `GDBINT_finalize_implicit': C:/repo/fpc/packages/gdbint/src/gdbint.pp:(.text.n_gdbint_tgdbinterface_$__gdb__init+0x20): undefined reference to `deprecated_create_breakpoint_hook' C:/repo/fpc/packages/gdbint/src/gdbint.pp:(.text.n_gdbint_tgdbinterface_$__gdb_done+0x20): undefined reference to `deprecated_create_breakpoint_hook' C:/repo/fpc/packages/gdbint/src/gdbint.pp:(.text.n_gdbint_initlibgdb+0x96): undefined reference to `error_init'

After searching a bit, I decided it should work as is. (with the workaround that one links the IDE externally and some minor linklib related patches in gdbinit).

I retried, and zapped the installed snapshot's gdbint to be sure, and now it worked. Funky, but at least if it was my fault, it is a FPC problem, not GDB. The strange part is that in my snapshot build logs (and gdbver.inc ) I could see that the correct gdb version was chosen (v7), yet somehow for linking other .o's were used!?!

Anyway, all's right now,

I uploaded the result to ftp://ftp.freepascal.org/pub/fpc/contrib/libgdb/ in case people want to test.

Reply by email