🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.software
Article #134

a question on gdb on NeXT

#134
From: dmedhi
Date: Tue, 03 Nov 1992 20:56
34 lines
1432 bytes
"file source.c" in DBX (in dec, sun, ...) activates source
file  source.c where upon you can put breakpoint using stop etc for 
debugging. Is there an equivalent command in gdb on NeXT? I have tried
file, edit, view without any success.  Do I need to set something
somewhere?

Another observation I have made is that once I am inside gdb and do 
listing, I get 
   (gdb) list
      crt0.s: No such file or directory.

      However, if once I invoke gdb and do (right away) run, and list 
      afterward as shown below:
   (gdb) run
      ...
      ...
      Program exited normally.
   (gdb) list
      #include <stdio.h>
      ...
      ...

then it gives listing and the source file happens to be the 
first source file in my makefile. Any clue what's going on?


(BTW, I am using NS 2.1)

Thanks.

Deep Medhi

dmedhi@aazoli.cstp.umkc.edu (NeXTmail okay)
Technical Details
Message-ID: <1992Nov3.205612.12989@parsifal.umkc.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!kuhub.cc.ukans.edu!parsifal.umkc.edu!eos.cstp.umkc.edu!dmedhi

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!kuhub.cc.ukans.edu!parsifal.umkc.edu!eos.cstp.umkc.edu!dmedhi
Newsgroups: comp.sys.next.software
Subject: a question on gdb on NeXT
Message-ID: <1992Nov3.205612.12989@parsifal.umkc.edu>
From: dmedhi@.cstp.umkc.edu ()
Date: Tue, 3 Nov 1992 20:56:12 GMT
Sender: root@parsifal.umkc.edu (Parsifal Administration)
Organization: University of Missouri Kansas City
Originator: dmedhi@eos.cstp.umkc.edu
Lines: 35