Dwarves debugging tools
 help / color / mirror / Atom feed
From: Bruce Korb <bruce.korb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: bkorb-mXXj517/zsQ@public.gmane.org,
	Mark Wielaard <mjw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Hagen Paul Pfeifer <hagen-GvnIQ6b/HdU@public.gmane.org>
Cc: DWARVES <dwarves-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: die__process_function: tag not supported (INVALID)!
Date: Sun, 19 Jul 2015 12:16:14 -0700	[thread overview]
Message-ID: <55ABF77E.1080704@gmail.com> (raw)
In-Reply-To: <55A98954.8080202-mXXj517/zsQ@public.gmane.org>


I would happily step through the code -- if I knew what to look for and
where to set break points.  But I don't.  The first call to die__process_and_recode
didn't die, so I don't know what I'm looking for.

> Does this help any?  Should I go down to frame 6 and poke around?
>
> Breakpoint 1, die__process_function (die=0x7fffffffb670, ftype=0x629b90,
>      lexblock=0x629bc8, cu=0x60b430) at /u/bkorb/tools/pahole/dwarf_loader.c:1464
> 1464            if (!dwarf_haschildren(die) || dwarf_child(die, &child) != 0)
> (gdb) bt
> #0  die__process_function (die=0x7fffffffb670, ftype=0x629b90,
>      lexblock=0x629bc8, cu=0x60b430) at /u/bkorb/tools/pahole/dwarf_loader.c:1464
> #1  0x00007ffff7bcffdd in die__create_new_function (die=0x7fffffffb670,
>      cu=0x60b430) at /u/bkorb/tools/pahole/dwarf_loader.c:1544
> #2  0x00007ffff7bd0136 in __die__process_tag (die=0x7fffffffb670, cu=0x60b430,
>      top_level=1, fn=0x7ffff7bd5680 <__FUNCTION__.7998> "die__process_unit")
>      at /u/bkorb/tools/pahole/dwarf_loader.c:1583
> #3  0x00007ffff7bd0209 in die__process_unit (die=0x7fffffffb670, cu=0x60b430)
>      at /u/bkorb/tools/pahole/dwarf_loader.c:1612
> #4  0x00007ffff7bd1076 in die__process (die=0x7fffffffb730, cu=0x60b430)
>      at /u/bkorb/tools/pahole/dwarf_loader.c:2037
> #5  0x00007ffff7bd10fb in die__process_and_recode (die=0x7fffffffb730,
>      cu=0x60b430) at /u/bkorb/tools/pahole/dwarf_loader.c:2052
> #6  0x00007ffff7bd1968 in cus__load_module (cus=0x608060,
>      conf=0x607320 <conf_load>, mod=0x609e10, dw=0x609f90, elf=0x6080f0,
>      filename=0x7fffffffe162 "skyhawk_tests")
>      at /u/bkorb/tools/pahole/dwarf_loader.c:2276
> #7  0x00007ffff7bd1aa6 in cus__process_dwflmod (dwflmod=0x609e10,
>      userdata=0x609e20, name=0x609f50 "skyhawk_tests", base=4194304,
>      arg=0x7fffffffd970) at /u/bkorb/tools/pahole/dwarf_loader.c:2324
> #8  0x00007ffff73e85e1 in dwfl_getmodules () from /usr/lib64/libdw.so.1
> #9  0x00007ffff7bd1b66 in cus__process_file (cus=0x608060,
>      conf=0x607320 <conf_load>, fd=3, filename=0x7fffffffe162 "skyhawk_tests")
>      at /u/bkorb/tools/pahole/dwarf_loader.c:2377
> #10 0x00007ffff7bd1be2 in dwarf__load_file (cus=0x608060,
>      conf=0x607320 <conf_load>, filename=0x7fffffffe162 "skyhawk_tests")
>      at /u/bkorb/tools/pahole/dwarf_loader.c:2394
> #11 0x00007ffff7bc1a8c in cus__load_file (cus=0x608060,
>      conf=0x607320 <conf_load>, filename=0x7fffffffe162 "skyhawk_tests")
>      at /u/bkorb/tools/pahole/dwarves.c:1476
> #12 0x00007ffff7bc1b06 in cus__load_files (cus=0x608060,
>      conf=0x607320 <conf_load>, filenames=0x7fffffffdbb0)
>      at /u/bkorb/tools/pahole/dwarves.c:1490
> #13 0x000000000040436c in main (argc=2, argv=0x7fffffffdba8)
>      at /u/bkorb/tools/pahole/pahole.c:1250
--
To unsubscribe from this list: send the line "unsubscribe dwarves" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2015-07-19 19:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-09 16:21 die__process_function: tag not supported (INVALID)! Bruce Korb
     [not found] ` <559E9FA5.1090307-mXXj517/zsQ@public.gmane.org>
2015-07-17 19:51   ` Hagen Paul Pfeifer
2015-07-17 20:53     ` Bruce Korb
     [not found]       ` <55A96B38.7050103-mXXj517/zsQ@public.gmane.org>
2015-07-17 21:08         ` Hagen Paul Pfeifer
2015-07-17 21:37           ` Bruce Korb
2015-07-17 21:33     ` Mark Wielaard
     [not found]       ` <20150717213300.GA2352-iA3+RHPOETwf7BdofF/totBPR1lH4CV8@public.gmane.org>
2015-07-17 23:01         ` Bruce Korb
     [not found]           ` <55A98954.8080202-mXXj517/zsQ@public.gmane.org>
2015-07-19 19:16             ` Bruce Korb [this message]
2015-07-19 19:18             ` Bruce Korb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55ABF77E.1080704@gmail.com \
    --to=bruce.korb-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=bkorb-mXXj517/zsQ@public.gmane.org \
    --cc=dwarves-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=hagen-GvnIQ6b/HdU@public.gmane.org \
    --cc=mjw-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox