Subject: gdb on pmax/1.3.2?
To: None <port-pmax@netbsd.org>
From: Bob Lantz <lantz@cavalier.Stanford.EDU>
List: port-pmax
Date: 11/13/1998 17:45:23
Is there a functional gdb for netbsd 1.3.2 on a pmax (decstation
5000/260 in my case.) Running gdb on hello world (or any program)
seems to die miserably with some messages like:
gdb hello
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.16 (mips-netbsd), Copyright 1996 Free Software Foundation, Inc...
(gdb) l
1       main()
2       {
3               printf("hello, world\n");
4       }
(gdb) r
Starting program: /tmp/hello 

Program received signal SIGSEGV, Segmentation fault.
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x5fffbbd0
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable).  In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.

Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
0x5fffbbd0 in ?? ()
(gdb)