🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2659

Non-blocking GDB Stub

#2659
From: Mattias Wildeman
Date: Thu, 28 Feb 2002 16:28
23 lines
1825 bytes
Hello!

I've been using GDB for a while, running it with a ARM based board and a
serial connection (remote debugging).

To activate GDB, i'll install a breakpoint and then go from there.
Standard behavior.

Now, what i would like to do is to have GDB interactive without stopping
my program. Yes, this breaks some of the purpose of the debugger, but i
would like to use GDB to analyze memory and datastructures without
freezing the program. The OS i am running do support task-switching, so
i was thinking about placing the GDB exception_handler in a process.

Has anyone had experience with doing this? Or know of any place were i
could get more information on this? Is it even feasible?

I looked through Google, but was unable to find anything on this level.

Thank you for your time!

Regards,
Mattias Wildeman
Technical Details
Message-ID: <3C7E5AA5.90630DA1@acc.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed.online.be!zur.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,199dd4b4eb1a510,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-02-28 08:30:59 PST
x-uunet-gateway: sjc3sosrv11.alter.net from bug-gdb to gnu.gdb.bug; Thu, 28 Feb 2002 16:26:59 GMT
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed.online.be!zur.uu.net!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!not-for-mail
From: wilde@acc.am.ericsson.se (Mattias Wildeman)
Subject: Non-blocking GDB Stub
Date: Thu, 28 Feb 2002 08:28:21 -0800
Organization: Ericsson Inc.
Message-ID: <3C7E5AA5.90630DA1@acc.com>
NNTP-Posting-Host: alarm.acc.am.ericsson.se
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U)
X-Accept-Language: en
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Sender: bug-gdb-request@mail.gnu.org
Lines: 24