This is the mail archive of the gdb-prs@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]

[Bug sim/9734] result of sim_create_inferior not checked inremote-sim.c


http://sourceware.org/bugzilla/show_bug.cgi?id=9734

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vapier at gentoo dot org

--- Comment #3 from Mike Frysinger <vapier at gentoo dot org> 2012-02-16 04:42:16 UTC ---
i tested over here and indeed, the code path suggested in the summary results
in gdb attempting to dump core.  i'll post a patch to use error().

$ ./gdb/gdb /tftpboot/u-boot
(gdb) target sim
Connected to the simulator.
(gdb) load
Loading section .text.pre, size 0xf0 lma 0x3f00000
Loading section .text.init, size 0x170 lma 0x3f000f0
Loading section .text, size 0x2af90 lma 0x3f00260
Loading section .rodata, size 0x12d04 lma 0x3f2b1f0
Loading section .data, size 0xa524 lma 0x3f3def4
Loading section .u_boot_cmd, size 0x8a4 lma 0x3f48418
Loading section .text_l1, size 0x28 lma 0x3f48cbc
Start address 0x3f00000
Transfer rate: 2385696 bits in <1 sec.
(gdb) run
Starting program: /tftpboot/u-boot 
thread.c:72: internal-error: inferior_thread: Assertion `tp' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
thread.c:72: internal-error: inferior_thread: Assertion `tp' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
Aborted (core dumped)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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