This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Problem about gdb
- From: fu-x04 at mails dot tsinghua dot edu dot cn
- To: gdb at sources dot redhat dot com
- Cc: fu-x04 at mails dot tsinghua dot edu dot cn
- Date: Mon, 27 Feb 2006 23:02:00 +0800
- Subject: Problem about gdb
- Reply-to: fu-x04 at mails dot tsinghua dot edu dot cn
Hello, GDB redhat
Sorry to distrub you!
I have a problem about the gdb.
In my pc, the fedora core 4 is installed.
Furthermore, I want to use gdb to help me develop uclinux.
Then I download the gdb6.4 from your network and install it. The progress seems
successful.
Next,I download the linux.2.0.x.gz and romfs.2.0.x.gz from http://www.uclinux.org/pub/uClinux/utilities/armulator/.
and
--------------------------------------
gunzip romfs.2.0.x
gunzip linux.2.0.x
ln -s romfs.2.0.x boot.rom
arm-elf-gdb linux-2.0.x
gdb> target sim
gdb> load
gdb> run
---------------------------------------
in the http://www.uclinux.org/pub/uClinux/utilities/armulator/example-session.txt
it shows that the information should be
-------------------
(gdb) target sim
Loaded ROM boot.rom
Loaded ROM boot.rom
Connected to the simulator.
--------------------------------
But in my gdb, it only shows
-----------------------------------
(gdb) target sim
Connected to the simulator.
------------------------------------
and when I type (gdb)run
It stops at
"Starting program: /usr/src/program/linux.2.0.x"
and no any other information.
Hope you can help me.
Thank you very much!
Best regards!
Fu Xu