Re: [GD-Linux] signals and exceptions
Brought to you by:
vexxed72
From: D. S. <st...@id...> - 2001-11-17 05:48:03
|
Daniel Vogel wrote: > > > I forgot to add, that you need to put the -rdynamic flag on you linker > > line, quite possible last on the line, to make it work. > > I use -export-dynamic or -Qoption,link,--export-dynamic for icc and it > doesn't result in a meaningful backtrace. -rdynamic should be equivalent > to -export-dynamic on Linux, right? > > - Daniel Vogel, Programmer, Epic Games Inc. > > _______________________________________________ > Gamedevlists-linux mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-linux If I recall correctly, rdynamic is symbol support for relocateable code in general. Normally you wouldn't need it except when dynamically linking; I suspect it performs some kind of utility aid for the debugging functions that works in just the same way as dlopen would use it. Now maybe someone could answer this; I added -rdynamic and it improved the output by naming functions, but the arguments to the function were still not useful, they still look like offsets rather than what my sample had (like calling a function with an int of 1, then 2, then 3, so on...and showing up as something far different). Is there some way to expand on this debugging to get even more information, such as local variable values and formatted (meaningful) argument call values? D. Stimits, st...@id... |