This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Speed up find_pc_section
- From: Tom Tromey <tromey at redhat dot com>
- To: Paul Pluzhnikov <ppluzhnikov at google dot com>
- Cc: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Tue, 04 Aug 2009 09:37:54 -0600
- Subject: Re: [patch] Speed up find_pc_section
- References: <8ac60eac0907161724v40e5bd8bg7877d8901b8d7b6e@mail.gmail.com> <m3skgv73i1.fsf@fleche.redhat.com> <8ac60eac0907170927x6314e81djc7f37e8a383dff2b@mail.gmail.com> <m3iqhmf2b3.fsf@fleche.redhat.com> <8ac60eac0907211318j11706eb3u2339901a832e2360@mail.gmail.com> <m33a87irq6.fsf@fleche.redhat.com> <8ac60eac0908040806g4f0495f6gc24ae4d6e440e7e6@mail.gmail.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Paul" == Paul Pluzhnikov <ppluzhnikov@google.com> writes:
Paul> I do have F11 available, so please give reproducing instructions.
Make sure you have gcj installed.
Install the libgcj debuginfo. I did:
sudo debuginfo-install libgcj
This will install an amazing amount of stuff.
Then write a simple java program, like:
public class q {
public static void main(String[] args) {
System.out.println("hi");
}
}
Compile:
gcj -g --main=q -o q q.java
Run gdb, "break q.main", "run".
On my machine this is enough to provoke the crash.
Tom