From: Olivier Parisy <olivier.parisy@free.fr>
To: gdb@sourceware.org
Subject: Associating source to a running program
Date: Mon, 14 Aug 2006 22:08:00 -0000 [thread overview]
Message-ID: <44E0F463.2030500@free.fr> (raw)
Hi,
I'm trying to step through a gcj-compiled java program.
I get outputs such as this one:
(gdb) step
JvRunMain (klass=0xf3c310, argc=1, argv=0x33ec8)
at /home/olivier/gcj/w32gcc/src/gcc/libjava/prims.cc:1552
1552 /home/olivier/gcj/w32gcc/src/gcc/libjava/prims.cc: No such file
or directory.
in /home/olivier/gcj/w32gcc/src/gcc/libjava/prims.cc
Current language: auto; currently c++
This makes sense, as prims.cc is probably part of libjava runtime, and
was only available at gcc/gcj compilation, but not during program execution.
Considering that this source code is available elsewhere on the file
system, how can I specify to GDB where it can find it?
Best regards,
Olivier Parisy.
next reply other threads:[~2006-08-14 22:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-14 22:08 Olivier Parisy [this message]
2006-08-14 22:13 ` Joel Brobecker
2006-08-14 22:44 ` Olivier Parisy
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=44E0F463.2030500@free.fr \
--to=olivier.parisy@free.fr \
--cc=gdb@sourceware.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