Date: Wed, 21 Jan 1998 07:03:25 -0500 (EST) From: "John S. Dyson" <dyson@FreeBSD.ORG> To: gena@NetVision.net.il (Gennady Sorokopud) Cc: current@FreeBSD.ORG Subject: Re: gdb problems Message-ID: <199801211203.HAA00823@dyson.iquest.net> In-Reply-To: <XFMail.980121134149.gena@NetVision.net.il> from Gennady Sorokopud at "Jan 21, 98 01:41:49 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Gennady Sorokopud said:
> Hi!
>
> gdb does not seem to work on the latest freebsd-current:
>
> 13:37 root-ttyp2 Burka:/tmp#gcc -g a.c
> 13:37 root-ttyp2 Burka:/tmp#gdb a.out
> 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 (i386-unknown-freebsd),
> Copyright 1996 Free Software Foundation, Inc...
> (gdb) r
> Starting program: /usr/tmp/a.out
> Error accessing memory address 0x1087: Bad address.
> (gdb) The program is running. Quit anyway (and kill it)? (y or n) y
> 13:38 root-ttyp2 Burka:/tmp#cat a.c
> void main(){}
>
> This is on todays current, with todays kernel and gdb , after a make world.
> The same gdb appears to work fine with kernel from about a month ago.
>
> Any ideas?
>
Yes, there is a bug in vm_map. My private version of vm_map is too different
to send you diffs. I'll commit a minimal fix today, if I cannot commit the
entire set of fixes that I need to apply. BDE told me about this a week
or so ago, and maybe I need to "just apply" the fix asap?
--
John | Never try to teach a pig to sing,
dyson@freebsd.org | it just makes you look stupid,
jdyson@nc.com | and it irritates the pig.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801211203.HAA00823>
