This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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: GDB Windows for idiots


>>>>> "Øyvind" == Øyvind Harboe <oyvind dot harboe at zylin dot com> writes:

Øyvind> Is there a "GDB Windows for idiots" resource?

I don't know.  Google...

Øyvind> The tutorial below is a bit steep, when what I want to do is
Øyvind> to produce a useful bug-report within an hour for GCJ 3.3
Øyvind> under Windows.
Øyvind> http://gcc.gnu.org/java/gdb.html

This is specialized for Linux.
For Windows you won't need the "handle" stuff.

Try:

shell$ gdb <my-program-name>
...
(gdb)  run <command-line-arguments>
...
... program crashes
(gdb) bt
... gdb prints stack trace

gdb has on-line help; use the "help" command.
I imagine there is a tutorial or something on the gdb site:

    http://sources.redhat.com/gdb/

Tom


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