# gdb
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is abs
Hi,
I have looked at archives but with no output.
I am running freebsd7.2 amd64 as a virtual machine(VM) in vmware ESX
server. I have configured remote gdb to debug the kernel modules. My
problem is that whenever the breakpoint is hit and the I issue next or
step kernel panics with "d
All watchpoints are software.
How can I troubleshoot?
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
On Jun 21, 2010, at 3:42 PM, Yuri wrote:
> I see. Then my question would morph into this one:
> Why gdb port isn't created for the latest gdb-7.1 ?
Evidently, no one has submitted it. Perhaps the issue you've noted:
> I need gdb-7.1, GPL or not. After compiling from source
On 06/21/2010 15:33, Chuck Swiger wrote:
The latest versions of gdb are under GPLv3-- I believe starting from around Aug
2007 (aka gdb-6.7.1 or later).
I see. Then my question would morph into this one:
Why gdb port isn't created for the latest gdb-7.1 ?
I need gdb-7.1, GPL or not.
On Jun 21, 2010, at 3:20 PM, Yuri wrote:
> Current gdb version in 8.0 is 6.1.1. It was released in 2004. Current version
> is 7.1.
>
> Why it hasn't been updated?
The latest versions of gdb are under GPLv3-- I believe starting from around Aug
2007 (aka gdb-6.7.1 or later).
Re
Current gdb version in 8.0 is 6.1.1. It was released in 2004. Current
version is 7.1.
Why it hasn't been updated?
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, sen
I have code window showing in gdb (Ctrl-X a), and all is fine.
After I put gdb into background (Ctrl-Z) and back (fg) Ctrl-X stops working.
Pressing Ctrl-X just causes ^X to appear.
I think some terminal settings aren't right after coming back from
background. How to fix this?
I use kde
On 03/18/10 08:15, Yuri wrote:
I know there is ddd, but it has so many bugs that it makes it barely
usable.
There is emacs, but I am not used to it and don't like it. It's love it
or hate it usually for most people.
There is some GUI called Insight, for some reason it's not in ports.
I've built i
For what it's worth - Xcode on Mac OS/X, I do probably 75% of my development
there, then just compile/build on FreeBSD. Apple's got a similarly capable
O/S and their development suite is not only stable, but free and uses GCC.
In my situation, the code works fine on both O/S as I'm not writing any
On Thu 18 Mar 2010 at 00:15:30 PDT Yuri wrote:
I know there is ddd, but it has so many bugs that it makes it barely usable.
There is emacs, but I am not used to it and don't like it. It's love
it or hate it usually for most people.
There is some GUI called Insight, for some reason it's not in po
On Thu, Mar 18, 2010 at 8:15 AM, Yuri wrote:
> I know there is ddd, but it has so many bugs that it makes it barely usable.
> There is emacs, but I am not used to it and don't like it. It's love it or
> hate it usually for most people.
> There is some GUI called Insight, for some reason it's not i
I know there is ddd, but it has so many bugs that it makes it barely usable.
There is emacs, but I am not used to it and don't like it. It's love it
or hate it usually for most people.
There is some GUI called Insight, for some reason it's not in ports.
I've built it and it looks unstable.
Gives
nd a file file "< redirect" to ./
> >a.out?
>
>
> gdb myprog
> (gdb) run < myfile
>
thanks, slightly belatedly.
gary
(ps: good to hear from someone from where i spent some great years:
Cory Hall.)
--
Gary Kl
On Jun 5, 2009, at 8:33 PM, Gary Kline wrote:
i'm trying to walk thru a short program and see what's actually
happening.
can anybody remind me how to send a file file "< redirect" to ./
a.out?
gdb myprog
(gdb) run < myfile
_
i'm trying to walk thru a short program and see what's actually
happening.
can anybody remind me how to send a file file "< redirect" to ./a.out?
thanks much,
gary
--
Gary Kline kl...@thought.org http://www.thought.org Public Service Unix
http://jo
/ragendra/src/B_SAN2x INTERNAL=1
LOCALCVSROOT=/disk3/ragendra/src/B_SAN2x/ SYSDIR=/usr/src/sys NONAS=1
DCR_PRODUCT=san PRODUCT=san -DDEBUG -DDCR_DEBUG STRIP= KMODSTRIP= world
Loading Symbols:
(gdb) add-symbol-file /disk3/ragendra/src/B_SAN2x/dfc/kmod/dfc.ko
0x660F63DC
add symbol table from file
When I start gdb, I get a (long) list of messages like:
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
The "-q" flag doesn't suppress this; can it be done at all?
On Sun, 6 Jul 2008 18:36:26 +0200
Tobias Rehbein <[EMAIL PROTECTED]> wrote:
> What me struck now is the fact that my code will crash (signal 11)
> while processing a strcpy. When I run the same thing in gdb it won't
> crash and whats even more important to me: It does what
thing in gdb it won't crash and whats
even more important to me: It does what I wanted it to do...
Perhaps someone can tell me why a program which crashes repeatedly in console
runs fine in the debugger.
Thanks in advance
Tobias
--
Tobias Rehbein
PGP key: 4F2AE314
s
I am trying to set up remote debugging with gdb. I basically followed
the handbook and several other guides I found online: building a custom
kernel and setting the correct flags on sio.0.
When I enter into ddb and type gdb I always get "The gdb remote
debugging backend could not be sel
I am trying to use gdb on FreeBSD 7.0 but is does not seem to work using the
attach option. I know this all works with the FreeBSD 4.11 machines we still
have running. Is there a solution??
# ps -auxww | grep vi
daryl22044 0.0 0.1 3408 1488 qb S+2:34PM 0:00.00 vi xxx
# gdb
,--[ On Wed, Jan 16, 2008 at 01:24:14PM -0800, Arun Paneri wrote:
| Thanks Aryeh & Chuck.
| Well, I am trying to solve issues related to GDB. Like, gdb prints wrong
values of few parameteres eg "this" pointer, when we give "backtrace" or "x/10x
$ebp" comm
On Jan 16, 2008 4:24 PM, Arun Paneri <[EMAIL PROTECTED]> wrote:
> Thanks Aryeh & Chuck.
> Well, I am trying to solve issues related to GDB. Like, gdb prints wrong
> values of few parameteres eg "this" pointer, when we give "backtrace" or
> "x/10x $e
Thanks Aryeh & Chuck.
Well, I am trying to solve issues related to GDB. Like, gdb prints wrong values
of few parameteres eg "this" pointer, when we give "backtrace" or "x/10x $ebp"
command in core of our company product.
I think it reads wrong value from sy
ject: Re: Pls help: regarding gdb internals
On Jan 16, 2008, at 10:58 AM, Arun Paneri wrote:
> Can anyone write few lines about how does gdb internally works. I
> went to "Gdb internals guide" but couldn't find much information
> specifically which i am looking for.
I'
On Jan 16, 2008, at 10:58 AM, Arun Paneri wrote:
Can anyone write few lines about how does gdb internally works. I
went to "Gdb internals guide" but couldn't find much information
specifically which i am looking for.
I'm not familiar with the document you mentione
Hi All,
I am new to gdb code and trying to learn more. i need help regarding gdb
internals.
Can anyone write few lines about how does gdb internally works. I went to "Gdb
internals guide" but couldn't find much information specifically which i am
looking for. I want informati
Hi All,
When i am doing "make CFLAGS=-g" in "gdb-6.7.1" folder after executing
"./configure" to comlile a gdb on FreeBSD machine, getting following error:
config.status: creating shlib/Makefile
config.status: creating config.h
config.status: executing default co
Hi,
I think you did not see an earlier thread started by me started by me.
I am also facing similar problem and you will find more details if you
go through the thread. It seems gdb Makefile is the culprit.
Right now I have commented out build of gdbserver and "buildworld" is
running.
Hi,
After cvsup-ing one of my 6-STABLE machines, cleaning up /usr/obj I
started the usual build process with "make buildworld". However after
some minutes it died with the following messages:
===> gnu/usr.bin/gdb/kgdb (cleandir)
rm -f i386fbsd-tdep-fixed.c nm.h tm.h xm.h kgdb
Ok let me try again (more explanation/question below).
Also sorry that i screwed up the script output by having a copy of the text
in it... not sure how that happened!
On Sat, Nov 10, 2007 at 05:53:09PM +, Jurjen Middendorp wrote:
>Hello, when i try to debug a program with threads (with
Hello, when i try to debug a program with threads (with gdb) gdb complains
about not being able to find thread start point and kind of hangs (see
below). It is quite likely i misconfigured something, but i have no idea
what that something would be (maybe forgot to put stuff in kernel?).
I tried
On Sun, 23 Sep 2007 11:59:14 +0400
Dmitry Gorbik <[EMAIL PROTECTED]> wrote:
> You can start gdb session like this:
> $gdb program
> break main
> set disassembly-flavor intel
> disassemble main
>
> Now you can use "nexti" to run program till break & &quo
On Sun, 23 Sep 2007 00:29:23 +
Ghirai <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> I'm playing with a small nasm executable, is there any way
> i can get gdb to show me the deadlisting, and allow me to
> break at a certain offset, without any debugging symbols?
Hello list,
I'm playing with a small nasm executable, is there any way
i can get gdb to show me the deadlisting, and allow me to
break at a certain offset, without any debugging symbols?
Since my code is raw assembly, seeing the sourcecode file
or the deadlisting is the exact same.
At
Dear folks,
whenever I try to attach gdb to my firefox settings because I'm expecting
firefox to be the source of my stability problems (I always find a gnash.core
and a firefox.core file in my home directory) I get the following error message:
gdb --quiet
(gdb) attach 11808
Attachi
I'm having trouble attaching to a process on my FreeBSD system. I've never
heard of this error:
FreeBSD belle.0lsen.net 5.5-STABLE FreeBSD 5.5-STABLE #1: Mon Oct 23 13:04:36
PDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/BELLE i386
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Fre
Hello,
This port has been waiting for almost for 4 months.
May I ask when it's going to be committed please? because 6.6 is out too.
http://www.freebsd.org/cgi/query-pr.cgi?pr=100067
--
Regards,
-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
__
Subject: gdb does not want to attach to a primitive process
I have written the next program:
// foo.c
#include
int main(void) {
sleep(30);
return 0;
}
compiled it with
cc -g -o foo foo.c
then run it with
./foo
then switched to another tty and tried to attach to the process
Paul Querna wrote:
> Philip M. Gollucci wrote:
>> Hi,
>>
>> 2 years ago, PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68727
>> was filed about gdb itself segfaulting when trying to debug httpd.
>> This PR hasn't seen any action AFAIK.
Its been 2 year
tware/freebsd-6.1-stable/3.4.4/apr/trunk/lib -l apr-1 \
gdb.c -o test
./test
[EMAIL PROTECTED] /home/pgollucci 145 0>gdb ./test
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to c
Philip M. Gollucci wrote:
> Hi,
>
> 2 years ago, PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68727
> was filed about gdb itself segfaulting when trying to debug httpd.
> This PR hasn't seen any action AFAIK.
This appears to be a duplicate of this one:
http://www.f
Hi,
2 years ago, PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68727
was filed about gdb itself segfaulting when trying to debug httpd.
This PR hasn't seen any action AFAIK.
This has been slowly driving me mad as you can not debug any httpd startup code.
Which coincidentally also pre
runs 6-STABLE/amd64 from monday.
If I build ftp://ftp.epicsol.org/pub/epic/EPIC5/epic5-0.2.0.tar.gz,
(the update for the irc/epic5 port hasn't been comitted yet) and manually
add -pthread to LDFLAGS, and run the binary under /usr/bin/gdb, the machine
spontaneously reboots. It doesn't
e, mount a source
and utility NFS partition and run gdb locally, but I
would rather attach a gdb session from my development
machine to the target machine.
Is remote debugging with gdb supported at all on
FreeBSD (5.4)?
Thanks,
Paul.
__
Hi,
I had a problem in porting some Linux multi-threaded applications (using
pthreads),
to FreeBSD 5.4 some months back. Although gcc compiles them ok, but
through the
course of debugging, the threads behaves weirdly and gdb couldn't debug
those threads.
Has the new FreeBSD 6.0 res
I love stl::string(s). They work very well for many application-level
projects. But I hate how GDB steps into their code during next
stepping. Is there a way I can skip this inline code that is part of stl
strings? Unfortunately, 'next' doesn't help, since much of the stl
On Mon, 8 Nov 2004 13:21:26 +0200, Panagiotis Christias
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a FreeBSD 5.3-BETA6 that panics and reboots (yes, I know
> 5.3-RELEASE is out, I will upgrade within the next days..). Gdb seems
> to not support the "--kernel" o
Hello,
I have a FreeBSD 5.3-BETA6 that panics and reboots (yes, I know
5.3-RELEASE is out, I will upgrade within the next days..). Gdb seems
to not support the "--kernel" option. Any ideas?
Thank you,
Panagiotis
___
[EMAIL PROTECTED] mailing
Hello,
I have a FreeBSD 5.3-BETA6 that panics and reboots (yes, I know
5.3-RELEASE is out, I will upgrade within the next days..). Gdb seems
to not support the "--kernel" option. Any ideas?
Thnk you,
Panagiotis
___
[EMAIL PROTECTED] mailing
I'm having a kernel crash on a regular basis, but don't know how to interpret
the gdb output. Any help would be much, much appreciated as I have a deadline
fast approaching to colocate this box.
> what version of FreeBSD?
Running: FreeBSD 4_9
> what error mess
On Tue, Mar 30, 2004 at 05:42:41PM +0100, Andrea Venturoli wrote:
> To make it clear: with nss_ldap enabled, everything that accessed the
> user database would crash: so "ls -l",
> "id" and so on (but not, e.g., "ls" without "-l").
I spoke to nectar@ about this. CVSup to that latest OpenLDAP21 an
--On 30. mars 2004 17:42 +0100 Andrea Venturoli
<[EMAIL PROTECTED]> wrote:
_ apache 2.0 with default prefork MPM will start, but will chew up all
cpu time after a while; using "httpd -DSSL -X"
shows that the server dies when nocc is used to forward a mail; no need
to say that it's a problem with t
A night with threads and gdb
or
How I began to wonder whether 5.2.1 works
or thread support is really broken
It all started on Saturday 2004/3/27: the spring sun was shining hot and
I was struggling in the effort to get apache
working decently
On Sunday, 23 November 2003 at 18:26:38 -1000, Kent Kuriyama wrote:
>> On Sunday, 23 November 2003 at 17:02:09 -1000, Kent Kuriyama wrote:
>>> I am having difficulty in using 'gdb -k' to track down a kernel panic. I
>>> have built a version of the kernel with the
nks.
Kent
>
>
> --vS2hnRoLMmJ4tslQ
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
>
> On Sunday, 23 November 2003 at 17:02:09 -1000, Kent Kuriyama wrote:
> > I am having difficulty in using 'gdb -k' to track down a kernel panic. I
> > have bui
On Sunday, 23 November 2003 at 17:02:09 -1000, Kent Kuriyama wrote:
> I am having difficulty in using 'gdb -k' to track down a kernel panic. I
> have built a version of the kernel with the debugging symbols. After
> the crash I use the 'gdb -k' command
I am having difficulty in using 'gdb -k' to track down a kernel panic. I
have built a version of the kernel with the debugging symbols. After
the crash I use the 'gdb -k' command but get the following output:
------
chinmon1# gdb -k /data1/src/sys/compile/a
On Wed, 2003-06-11 at 00:53, Nicolas Galler wrote:
> I am trying to upgrade from 5.0-RELEASE to 5.1-RELEASE. I just cvsupped but
> trying make buildworld in /usr/src fails (in gdb), some error messages when
> linking about xre_comp not defined (I have included the actual error messages
&g
Hello,
I am trying to upgrade from 5.0-RELEASE to 5.1-RELEASE. I just cvsupped but
trying make buildworld in /usr/src fails (in gdb), some error messages when
linking about xre_comp not defined (I have included the actual error messages
below). I dont think Ive actually run make world since I
On Thu, Feb 27, 2003 at 04:07:44PM -0600, Brian Henning wrote:
> Hello-
> i am trying to get familiar with gdb so i wrote this code knowing that i will
> get a core dump.
> when i try to run the following command i get some error about not being in the
> proper format.
> what
Hello-
i am trying to get familiar with gdb so i wrote this code knowing that i will
get a core dump.
when i try to run the following command i get some error about not being in the
proper format.
what can i do to remedy the problem?
thanks,
brian
>gcc -ggdb gen_core.c
>./a.out
>gdb co
Hi,
When doing remote kernel debugging, how to I "detach" the remote machine?
man ddb says the gdb command toggles between remote GDB and DDB mode. The
problem is that once toggled to remote GDB, gdb won't accept gdb as a
command:
(kgdb) target remote /dev/cuaa0
Remote debug
64 matches
Mail list logo