Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jan 1999 00:33:32 -0500
From:      "Brian J. McGovern" <mcgovern@spoon.beta.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Changing gdb (3.0) to debug AOUT 
Message-ID:  <199901010533.AAA24192@spoon.beta.com>
In-Reply-To: Your message of "Fri, 01 Jan 1999 11:16:42 %2B1030." <19990101111642.V39598@freebie.lemis.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
The version with 3.0 complains that it can't understand the format of an
a.out image. If you create a short C program, a la

#include <stdio.h>
void main(void)
  {
    printf("Hi!\n");
  }

and compile it a la:

cc -aout -g -o foo foo.c

Then go:

gdb foo

It will load gdb, then complain that the format is unrecognized....

As a "work around", I recompiled a copy from my 2.2.6 machine with -static
defined, and copied it over. It seems to work ok....
	-Brian

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901010533.AAA24192>