[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] GCC / GDB & -Wl,--traditional-format



m0n0 wrote:
gcc old.c -o old.tos -g -O0 -Wl,--traditional-format

Don't use -g, it is useless along with --traditional-format.

1.) PureC hangs when opening the produces app, OS hangs...
2.) When loading the program with the rudimentary Paral debugger, I can't
lookup my test symbols (a function named "testme"), maybe it is in there,
but the search function of paral is not working...

Please send me that software, so I can test with some emulator.

3.) when loading the program with gdb-7.0, gdb says: "ridiclous string table
size (795094901)"
4.) the old gdb says: "format: File format not recognized"

The traditional format is unsupported by gdb.
By design, only the classical GNU debug information is supported by GDB.
I mean: use -g and not --traditional-format to use GDB.

Anyone had success using the traditional symbols with other debuggers?

I use it regularly with MonST2, and it works well.

--
Vincent Rivière