<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.evillabs.net/index.php?action=history&amp;feed=atom&amp;title=Amiga_GDB_Debugging</id>
	<title>Amiga GDB Debugging - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.evillabs.net/index.php?action=history&amp;feed=atom&amp;title=Amiga_GDB_Debugging"/>
	<link rel="alternate" type="text/html" href="http://www.evillabs.net/index.php?title=Amiga_GDB_Debugging&amp;action=history"/>
	<updated>2026-05-03T14:59:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>http://www.evillabs.net/index.php?title=Amiga_GDB_Debugging&amp;diff=487&amp;oldid=prev</id>
		<title>Ezrec: Created page with &quot;== Debugging AmigaOS with the AROS GDB Utilities ==  You can use C:GDBStub and C:GDBStop from [http://aros.sourceforge.net/download.php aros-m68k-system.iso] - it runs on not onl...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.evillabs.net/index.php?title=Amiga_GDB_Debugging&amp;diff=487&amp;oldid=prev"/>
		<updated>2011-08-29T14:17:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Debugging AmigaOS with the AROS GDB Utilities ==  You can use C:GDBStub and C:GDBStop from [http://aros.sourceforge.net/download.php aros-m68k-system.iso] - it runs on not onl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Debugging AmigaOS with the AROS GDB Utilities ==&lt;br /&gt;
&lt;br /&gt;
You can use C:GDBStub and C:GDBStop from [http://aros.sourceforge.net/download.php aros-m68k-system.iso] - it runs on not only AROS, but also KS 1.3 ... KS 3.x, and uses the serial port for the debug port.&lt;br /&gt;
&lt;br /&gt;
C:GDBStub is a self-detaching program, and installs hooks into Exec/Alert(), the TRAP vectors, and every newly run program&amp;#039;s default tc_TrapHook. When those hooks trigger, it starts up a GDB Stub target on the serial port.&lt;br /&gt;
&lt;br /&gt;
(You can use C:GDBStop to start a GDB Stub session manually)&lt;br /&gt;
&lt;br /&gt;
You can then use a m68k-elf-gdb on your host with the &amp;#039;target remote /dev/ttyS0&amp;#039; (if using a physical serial port) or &amp;#039;target remote localhost:1234&amp;#039; (if using an emulator) command to make a local connection to the emulator&amp;#039;s serial port.&lt;br /&gt;
&lt;br /&gt;
NOTE: When using C:GDBStop, you&amp;#039;ll need to &amp;#039;set $pc=$pc+2&amp;#039; to skip over the &amp;#039;trap #1&amp;#039; instruction before continuing execution.&lt;/div&gt;</summary>
		<author><name>Ezrec</name></author>
	</entry>
</feed>