Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdb
@ 2002-05-29 13:06 bemis
  0 siblings, 0 replies; 19+ messages in thread
From: bemis @ 2002-05-29 13:06 UTC (permalink / raw)
  To: gdb

Hello,

I am new to using gdb, but I didn't see a really good way to run my
executable inside of gdb.

I am trying to figure out why I am getting a core dump when I am
checking a library in libc.
I have two environment variables:

GCONV_PATH=/mnt/u2/bemis/dev/tools/build/alpha7/bootstrap-gcc_3.0.4/native/libc/

iconvdata

LC_ALL=C

then I run my library with the following command:

/mnt/u2/bemis/dev/tools/build/alpha7/bootstrap-gcc_3.0.4/na
tive/libc/elf/ld-linux.so.2 --library-path
/mnt/u2/bemis/dev/tools/build/alpha7/
bootstrap-gcc_3.0.4/native/libc:/mnt/u2/bemis/dev/tools/build/alpha7/bootstrap-g

cc_3.0.4/native/libc/math:/mnt/u2/bemis/dev/tools/build/alpha7/bootstrap-gcc_3.0

.4/native/libc/elf:/mnt/u2/bemis/dev/tools/build/alpha7/bootstrap-gcc_3.0.4/nati

ve/libc/dlfcn:/mnt/u2/bemis/dev/tools/build/alpha7/bootstrap-gcc_3.0.4/native/li

bc/nss:/mnt/u2/bemis/dev/tools/build/alpha7/bootstrap-gcc_3.0.4/native/libc/nis:

/mnt/u2/bemis/dev/tools/build/alpha7/bootstrap-gcc_3.0.4/native/libc/rt:/mnt/u2/

bemis/dev/tools/build/alpha7/bootstrap-gcc_3.0.4/native/libc/resolv:/mnt/u2/bemi

s/dev/tools/build/alpha7/bootstrap-gcc_3.0.4/native/libc/crypt:/mnt/u2/bemis/dev

/tools/build/alpha7/bootstrap-gcc_3.0.4/native/libc/linuxthreads

and then finally I run :
 /mnt/u2/bemis/d
ev/tools/build/alpha7/bootstrap-gcc_3.0.4/native/libc/dlfcn/tstcxaatexit
> /mnt
/u2/bemis/dev/tools/build/alpha7/bootstrap-gcc_3.0.4/native/libc/dlfcn/tstcxaate

xit.out

Really this is all on one command line!  What would be the proper way to
start debugging this with gdb and the core file I get from this when
I run it outside of gdb?
Thanks!
Matt Bemis
University of New Hampshire
Alpha Linux Group



^ permalink raw reply	[flat|nested] 19+ messages in thread
* Gdb
@ 2006-10-25  7:05 Russell Shaw
  2006-10-25 12:49 ` Gdb Daniel Jacobowitz
  2006-10-26 20:01 ` Gdb Jim Blandy
  0 siblings, 2 replies; 19+ messages in thread
From: Russell Shaw @ 2006-10-25  7:05 UTC (permalink / raw)
  To: gdb

Hi,
After narrowing down a bug location in the last few days, it seems
all too obvious that gdb needs to be gutted and recast. It can all
be made simpler and more understandable, thus easier to maintain.

Gdb should should be a library of functions for the various things
that can be done to a target, and have no user interface and command-
line parsing at all.

All the current user terminal interaction should be in a separate
program that is linked to the gdb library.

There is far too much complexity for the simple things that gdb does.

The bug i have is that gdb does not stop at pending breakpoints i have
set in a dlopen library. I made a small testcase, and gdb does do the
pending breakpoints there ok. This bug should be easy to find and fix,
but it isn't.

If there's no plans to redo gdb, i'll do it anyway.


^ permalink raw reply	[flat|nested] 19+ messages in thread
* gdb
@ 2002-07-25 19:33 Richard A. Painter
  2002-07-30 20:37 ` gdb Daniel Jacobowitz
  0 siblings, 1 reply; 19+ messages in thread
From: Richard A. Painter @ 2002-07-25 19:33 UTC (permalink / raw)
  To: gdb

i was reviewing the documentation for gdb and found no references to pthreads
specifically but did see some thread support.

pthreads embodies threads, mutexes and condition variables.  i saw no references
to the mutexes and condition variables in the docs.

does gdb support pthreads, mutexes and condition variables?

thanks,
rich


-- 

+---------------------------------------------------------------+
| Richard A. Painter            Phone 719 495 7054              |
| Painter Engineering, Inc.     Mailto:r.painter@ieee.org       |
| 8470 Swan Rd.                                                 |
| Black Forest, CO 80908                                        |
|                                                               |
| Visit our Web site:         http://painter.inc                |
|         http://home.earthlink.net/~painterengineering         |
|                                                               |
| Systems & Software Engineering + LAN WAN Networking + X.25    |
| INTERNET TCP-IP + Real-time Transaction Processing            |
| System & Software Integration, Testing, Verification & Audits |
| Web Hosting & Design + Apache + PHP + modSSL + cURL           |
| Database Design & Applications + Oracle                       |
| Benchmarks + Course & Workshop Development & Delivery         |
| Financial and Medical Software Integration + Security         |
| Middleware + EDI + Cryptography + Firewalls                   |
| UNIX + Linux + Windows                                        |
|                                                               |
| What is popular is not always right and what is right is not  |
| always popular.     - Howard Cosell                           |
|                                                               |
| Chance favors the prepared mind!   Illegitima non carborundum |
+---------------------------------------------------------------+


^ permalink raw reply	[flat|nested] 19+ messages in thread
* gdb
@ 2002-03-22  7:18 Kees Everaars
  2002-03-26 17:04 ` gdb Michael Snyder
  0 siblings, 1 reply; 19+ messages in thread
From: Kees Everaars @ 2002-03-22  7:18 UTC (permalink / raw)
  To: gdb


Hi Eveybody
I have been trying to debug a C program that is running multiple threads. 
This has given me a lot of headache.
What I want is that I want to step through a single thread while the other 
threads do not get a chance to run while I am stepping in that single thread 
(i.e. I want "locked stepping").
In the gdb manual I read that it is possible for some Operating systems
to set the so called "scheduler-locking mode".
I have set it on. The answer of my machine (linux version 2.4.3-12 of Redhat). 
"Target 'None' cannot support this command".
Now my questions.
1) Can I configure the installation of Linux in such a way that my machine 
support the above command?
2) If not, is there in a near future a new version of Redhat Linux 
distribution  that supports "locked stepping"?
3) Is there a other debugger under Linux  that offers "locked stepping"?
4) Does the Debian linux distribution offers the "locked stepping".
5) On which Operating systems does "locked stepping" work?

Thanks in advance.

Kees Everaars







^ permalink raw reply	[flat|nested] 19+ messages in thread
[parent not found: <20011117045052.5412.qmail@web13905.mail.yahoo.com>]
* gdb
@ 2001-02-27  9:14 Mathieu Dube
  0 siblings, 0 replies; 19+ messages in thread
From: Mathieu Dube @ 2001-02-27  9:14 UTC (permalink / raw)
  To: GDB

unsubscribe gdb
-- 
Mathieu Dube	
Mondo-Live			
www.flipr.com


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2006-10-27  3:29 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-29 13:06 gdb bemis
  -- strict thread matches above, loose matches on Subject: below --
2006-10-25  7:05 Gdb Russell Shaw
2006-10-25 12:49 ` Gdb Daniel Jacobowitz
2006-10-25 13:38   ` Gdb Russell Shaw
2006-10-25 14:17     ` Gdb Daniel Jacobowitz
2006-10-25 16:29       ` Gdb Russell Shaw
2006-10-25 20:16         ` Gdb Eli Zaretskii
2006-10-25 20:08     ` Gdb Eli Zaretskii
2006-10-26  2:28       ` Gdb Russell Shaw
2006-10-26  7:11         ` Gdb Eli Zaretskii
2006-10-26  8:16           ` Gdb Russell Shaw
2006-10-26 20:01 ` Gdb Jim Blandy
2006-10-27  3:29   ` Gdb Russell Shaw
2002-07-25 19:33 gdb Richard A. Painter
2002-07-30 20:37 ` gdb Daniel Jacobowitz
2002-03-22  7:18 gdb Kees Everaars
2002-03-26 17:04 ` gdb Michael Snyder
     [not found] <20011117045052.5412.qmail@web13905.mail.yahoo.com>
2001-11-07  6:01 ` GDB Christopher Faylor
2001-02-27  9:14 gdb Mathieu Dube

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox