This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Speed up find_pc_section


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]