Bug 6608 - always include solib in backtrace
Summary: always include solib in backtrace
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2244
  Show dependency treegraph
 
Reported: 2008-06-09 16:31 UTC by Andrew Cagney
Modified: 2008-06-11 18:51 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2008-06-09 16:31:12 UTC
vis:

  $ ./frysk/bindir/fstack core.7841
  Task #7841
  #0 0x00110416 in [unknown]
  #1 0x00a39028 in abort ()
  #2 0x02d9f68c in _Jv_Throw ()
  #3 0x02d92bf0 in [unknown]

vs:

  $ ./frysk/bindir/fstack -rich core.7841
  Task #7841
  #0 0x00110416 in [unknown] from [vdso]
  #1 0x00a39028 in abort () from .../libc.so.6
  #2 0x02d9f68c in _Jv_Throw () from .../libgcj.so.9
  #3 0x02d92bf0 in [unknown] from .../libgcj.so.9

The -rich shouldn't be required to see the solib.
Comment 1 Andrew Cagney 2008-06-11 18:51:22 UTC
commit 65837bf7e7a75451a6d5971e52ed06edef716ed3
Author: Andrew Cagney <cagney@redhat.com>
Date:   Tue Jun 10 13:21:49 2008 -0400

    Improve fstack, et.al., output; add Frame.toPrint PrintStackOptions param.
    
    This changes the following in fstack et.al.:
    
    -> prints the shared library by default
    
    -> prints FUNC() _at_ FILE#line
    
    -> tightens tests to explicit check for parameter names, and not
       values (and adds framework for adding a -print values option).
    
    -> makes ferror consistent with other utilities - print an abi frame
       by default
    
    -> for -rich, don't print local variable information