🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #155

break point problem with gdb 4.[56] on ISC

#155
From: Darryl P. Wagoner
Date: Sat, 01 Aug 1992 23:59
26 lines
990 bytes
I am sure I must be doing something wrong but I can't get
gdb to see break points.

I run it with following commands and nothing seems to happen.

63
64          switch (argv[x][1]) {
65
(gdb) b 57
Breakpoint 1 at 0x2f6: file listc.c, line 57.
(gdb) run

Starting program: /proj/src/listc/listc
usage: listc [ -h header -i# -l -L -D -e ] file1 file2 ... filen

Program exited normally.
You can't do that without a process to debug
(gdb) stop


To me it looks like the address should be a long and not a 16 bit
value.

thanks for any help you can give me.

-darryl
Technical Details
Message-ID: <m0mETM7-0004sDC@lemuria.sai.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!lemuria.sai.COM!darryl

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!lemuria.sai.COM!darryl
From: darryl@lemuria.sai.COM (Darryl P. Wagoner)
Subject: break point problem with gdb 4.[56] on ISC
Message-ID: <m0mETM7-0004sDC@lemuria.sai.com>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 1 Aug 1992 23:59:00 GMT
Approved: bug-gdb@prep.ai.mit.edu
Lines: 27