fanzju / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

Failure Signal Handler printing out line numbers #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I find the Failure Signal Handler quite useful. Because otherwise I would
need to start gdb for getting a stack trace. But why won't it display the
line numbers? Isn't this information in the debugging symbols? Is it
possible to add line information?

Regards,
Jens

Original issue reported on code.google.com by jens.k.mueller@gmail.com on 15 Oct 2009 at 7:57

GoogleCodeExporter commented 8 years ago
Glog doesn't use debug information to get symbol names and line information is 
in debug 
information, which is available only when you compile your program with -g 
option. But 
anyway, yes, it should be possible to show line information. Google has the 
line info 
parser and I'll work on integrating the parser into glog. I'm sorry but I 
cannot tell 
when it will finish.

Original comment by shinichi...@gmail.com on 23 Oct 2009 at 9:45