A problem internal to GDB has been detected

2012-02-25 Thread Коньков Евгений
# 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 absolutely

panic while using gdb amd64 freebsd7.2

2011-03-16 Thread Agarwal, Mayank
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 double

Why gdb-7.1 doesn't set hardware watchpoints on i7 CPU (amd64)?

2010-12-08 Thread Yuri
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

Why gdb isn't updated from 2004?

2010-06-21 Thread Yuri
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, send any

Re: Why gdb isn't updated from 2004?

2010-06-21 Thread Chuck Swiger
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). Regards, -- -Chuck

Re: Why gdb isn't updated from 2004?

2010-06-21 Thread Yuri
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. After

Re: Why gdb isn't updated from 2004?

2010-06-21 Thread Chuck Swiger
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 I see an issue

xterm: why after I put gdb in background, Ctrl-X stops working?

2010-03-25 Thread Yuri
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 kde4

Which gdb GUI do you use?

2010-03-18 Thread Yuri
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.

Re: Which gdb GUI do you use?

2010-03-18 Thread Fernando Apesteguía
On Thu, Mar 18, 2010 at 8:15 AM, Yuri y...@rawbw.com 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

Re: Which gdb GUI do you use?

2010-03-18 Thread Charlie Kester
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

Re: Which gdb GUI do you use?

2010-03-18 Thread Nathan Vidican
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

Re: Which gdb GUI do you use?

2010-03-18 Thread Andrea Venturoli
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

Re: how do i use gdb with input?

2009-06-06 Thread Steven Schlansker
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 ___ freebsd-questions

Re: how do i use gdb with input?

2009-06-06 Thread Gary Kline
On Fri, Jun 05, 2009 at 11:36:33PM -0700, Steven Schlansker wrote: 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

how do i use gdb with input?

2009-06-05 Thread Gary Kline
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

FW: Issues in adding symbols in gdb - FreeBSD.

2008-11-02 Thread Mishra, Ragendra
/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

OT: suppressing gdb messages

2008-08-15 Thread Robert Huff
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? Robert Huff

[OT] Why behaves my application different when run in gdb

2008-07-06 Thread Tobias Rehbein
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 server

Re: [OT] Why behaves my application different when run in gdb

2008-07-06 Thread cpghost
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 I wanted it to do

gdb remote debugging

2008-05-31 Thread Oren Almog
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 selected

attach not working in gdb

2008-05-19 Thread Daryl Sayers
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

Pls help: regarding gdb internals

2008-01-16 Thread Arun Paneri
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 information like when we

Re: Pls help: regarding gdb internals

2008-01-16 Thread Chuck Swiger
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 mentioned, but the canonical

Re: Pls help: regarding gdb internals

2008-01-16 Thread Arun Paneri
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'm not familiar with the document you mentioned

Re: Pls help: regarding gdb internals

2008-01-16 Thread Arun Paneri
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 symbol table or stack frame. So i am trying

Re: Pls help: regarding gdb internals

2008-01-16 Thread Aryeh Friedman
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 $ebp command in core of our company product. It should

Re: Pls help: regarding gdb internals

2008-01-16 Thread आशीष शुक्ल Ashish Shukla
,--[ 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 command in core of our company product

Error in compiling gdb-6.7.1

2008-01-11 Thread Arun Paneri
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 commands ar: readline.o: No such file

make buildworld (6-STABLE) - stop in /usr/src/gnu/usr.bin/gdb/gdbserver

2007-12-04 Thread Ewald Jenisch
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 main.o kthr.o trgt.o

Re: make buildworld (6-STABLE) - stop in /usr/src/gnu/usr.bin/gdb/gdbserver

2007-12-04 Thread Venkatesh K
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. Let's wait

Re: problems using gdb on threaded programs

2007-11-13 Thread Jurjen Middendorp
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 gdb

problems using gdb on threaded programs

2007-11-10 Thread Jurjen Middendorp
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

Re: gdb question

2007-09-23 Thread Dmitry Gorbik
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? Since my code is raw assembly

Re: gdb question

2007-09-23 Thread Ghirai
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 next will step one instruction (if there were

gdb question

2007-09-22 Thread Ghirai
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. Atm i'm

gdb error message

2007-07-23 Thread Dino Vliet
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 Attaching

Issue with gdb attaching to a process

2007-06-12 Thread Clint Olsen
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 Free Software

devel/gdb65 GNU GDB 6.5 status?

2007-03-21 Thread Abdullah Ibn Hamad Al-Marri
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/

gdb does not want to attach to a primitive process

2006-09-06 Thread a
Subject: gdb does not want to attach to a primitive process I have written the next program: // foo.c #include unistd.h 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

Re: gdb in realloc(): error: junk pointer, too high to make sense on FreeBSD 5.2+ [SOLVED]

2006-07-10 Thread Philip M. Gollucci
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 years in the making GDB 6.5 works flawlessly

Re: gdb in realloc(): error: junk pointer, too high to make sense on FreeBSD 5.2+

2006-07-03 Thread Paul Querna
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.freebsd.org/cgi/query-pr.cgi?pr

Re: gdb in realloc(): error: junk pointer, too high to make sense on FreeBSD 5.2+

2006-07-03 Thread Philip M. Gollucci
/freebsd-6.1-stable/3.4.4/apr/trunk/lib -l apr-1 \ gdb.c -o test ./test [EMAIL PROTECTED] /home/pgollucci 145 0gdb ./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 change

gdb in realloc(): error: junk pointer, too high to make sense on FreeBSD 5.2+

2006-07-02 Thread Philip M. Gollucci
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 prevents

Spontaneous reboot involving 6-stable, gdb, and -pthread

2006-06-07 Thread Jeremy Nelson
it 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 appear

Is remote gdb debugging supported on FreeBSD-5.4?

2006-01-03 Thread Paul Marciano
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. __ Yahoo! DSL

Linux compatible pthreads and gdb support for thread debugging

2005-11-29 Thread Sam Hon
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 resolved

Question about GDB under BSD

2005-02-23 Thread Jonathon McKitrick
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 code is 'inline

FreeBSD 5.3BETA6: no gdb --kernel option

2004-11-08 Thread Panagiotis Christias
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 list http

FreeBSD 5.3BETA6: no gdb --kernel option

2004-11-08 Thread Panagiotis Christias
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 list http

Re: FreeBSD 5.3BETA6: no gdb --kernel option

2004-11-08 Thread Panagiotis Christias
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 option. Any ideas? Thnk you

Help interpreting Kernel (gdb) Debug output

2004-05-13 Thread M_SPAHZgORN
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 message comes to the screen

Re: A night with threads and gdb

2004-04-01 Thread Eivind Olsen
--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

Re: A night with threads and gdb

2004-04-01 Thread Lewis Thompson
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 and then

A night with threads and gdb

2004-03-30 Thread Andrea Venturoli
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

Re: Questions regarding use of 'gdb -k'

2003-11-25 Thread Greg 'groggy' Lehey
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 debugging symbols. After the crash I

Questions regarding use of 'gdb -k'

2003-11-23 Thread Kent Kuriyama
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/ata/kernel.debug /var

Re: Questions regarding use of 'gdb -k'

2003-11-23 Thread Greg 'groggy' Lehey
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 but get the following output

Re: Questions regarding use of 'gdb -k'

2003-11-23 Thread Kent Kuriyama
--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 built a version of the kernel with the debugging symbols. After

Re: Make world for 5.1 fails in gdb

2003-06-10 Thread Adam
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 below). I

gdb

2003-02-27 Thread Brian Henning
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 core /home

Re: gdb

2003-02-27 Thread Jonathan Chen
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 can i do to remedy

simple question about remote kernel debugging with gdb

2002-12-13 Thread Jonas Bülow
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 debugging using /dev/cuaa0