🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #403

Re: Bug in gdb-4.6.

#403
From: Peggy Fieland
Date: Thu, 27 Aug 1992 14:10
18 lines
1116 bytes
When setting breakpoints using an assembly language address it
is necessary to use an asterisk (*) before the address, ie,

citron-tests% gdb misc
GDB is free software and you are welcome to 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.
GDB 4.3, Copyright 1991 Free Software Foundation, Inc...
(gdb) info line 7
Line 7 of "misc.c" starts at pc 0x22ae and ends at 0x22b2.
(gdb) b *0x22ae
Breakpoint 1 at 0x22ae: file misc.c, line 7.
(gdb)


You can find this in the manual in section 5.1.1, setting breakpoints.

Peggy
Technical Details
Message-ID: <5944@transfer.stratus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!citron.sw.stratus.com!pfieland
References: <9208262206.AA02539@ncube.think.com>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!citron.sw.stratus.com!pfieland
From: pfieland@citron.sw.stratus.com (Peggy Fieland)
Subject: Re: Bug in gdb-4.6.
Message-ID: <5944@transfer.stratus.com>
Sender: gnulists@ai.mit.edu
Organization: Stratus Computer, Software Engineering
References: <9208262206.AA02539@ncube.think.com>
Distribution: gnu
Date: Thu, 27 Aug 1992 14:10:06 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 19