On 01/-10/-28163 11:59 AM, Jan-Benedict Glaw wrote:
Are all object files built with -g and is the `vax' binary not
stripped? Then you'd just run it with gdb:
$ gdb ./vax .....
Then do your work (-> make it segfault) and when you're back at GDB's
prompt, use the `bt' command to show us where it's breaking.
It may be obvious, but in case it is not, don't replace the "....."
with simh arguments. That would produce a "No such file or directory"
message.
Instead, after typing:
$ gdb ./vax
run the program with
(gdb) run Program_Arguments
where <Program_Arguments> are the arguments you would normally provide
on the command line to simh.
Then, follow the rest of Jan-Benedict's instructions (make it segfault,
and get a backtrace). Actually, after typing "bt", it might help to
also say "bt full", to provide additional information (about local
variable values), without cluttering up the initial backtrace.
- Michael
_______________________________________________
Simh mailing list
[email protected]
http://mailman.trailing-edge.com/mailman/listinfo/simh