Subject: gdb in current snapshot
To: None <port-pmax@NetBSD.ORG>
From: None <gord@engg.ucalgary.ca>
List: port-pmax
Date: 01/10/1996 11:56:20
Hi, all!

This is the problem:

% 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.15.1 (mips-dec-netbsd), Copyright 1995 Free Software Foundation, Inc...
(gdb) b main
Breakpoint 1 at 0x400128: file hello.c, line 5.
(gdb) r
Starting program: /user2/gord/tmp/hello 

Program received signal SIGTRAP, Trace/breakpoint trap.
0x0 in ?? ()
(gdb) s
Cannot find bounds of current function
(gdb) q
%

Has anybody else run into this and/or found a solution?

Here is my source:

% cat hello.c
#include <stdio.h>

int
main () {
  printf ("Hello, World!\n");

  return 1;
}
% gcc -g hello.c -o hello
% ./hello
Hello, World!
%

Thanks,

--Gord

-- 
   Gord Matzigkeit    |    This is my NetBSD development account
gord@engg.ucalgary.ca |  Please send mail to gord@enci.ucalgary.ca