Bug 8304 - arm simulater crashes with info threads before app has been started
Summary: arm simulater crashes with info threads before app has been started
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: sim (show other bugs)
Version: 3.3
: P3 enhancement
Target Milestone: ---
Assignee: Nick Clifton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-02 11:58 UTC by Øyvind Harboe
Modified: 2021-10-31 17:15 UTC (History)
2 users (show)

See Also:
Host:
Target: arm-*
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Øyvind Harboe 2003-05-02 11:58:00 UTC
[Converted from Gnats 1199]

This is a significant problem because e.g. Eclipse.org CDT issues "info threads" all the time in order to update the GUI.

This is the only thing that stops Eclipse CDT from running the arm emulator.

Release:
arm-elf-gdb 3.2/3.3

How-To-Repeat:
C:\Temp\foo>arm-elf-gdb
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=arm-elf".
(gdb) target sim
Connected to the simulator.
(gdb) info threads
   2891 [main] arm-elf-gdb 316 handle_exceptions: Exception: STATUS_ACCESS_VIOLA
TION
   4162 [main] arm-elf-gdb 316 open_stackdumpfile: Dumping stack trace to arm-el
f-gdb.exe.stackdump
Comment 1 Mike Frysinger 2021-10-31 17:15:52 UTC
seems to have been fixed at some point

$ ./gdb/gdb
GNU gdb (GDB) 12.0.50.20210927-git
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=arm-elf".
(gdb) target sim -EL
Connected to the simulator.
(gdb) info threads
No threads.