gdb error!


 
Thread Tools Search this Thread
Top Forums Programming gdb error!
# 1  
Old 10-15-2005
gdb error!

When I run gdb in solaris 8 for sparc, the error occurs like this:
“Segmentation Fault(core dumped)”
What's the problem?
Help! Thanks in advance!
# 2  
Old 10-17-2005
Are you running gdb against a program that already segfaulted?
Or is this error from gdb. It's hard for me to see. Could you recreate your problem, then copy what you did plus the error output, and paste it here so we can see it?
# 3  
Old 10-18-2005
Bug

Thanks very much.
I set the LANG equal to c,and it works well.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Systemd booting and execute system command is Not successful!help!

hi guys, booting centos7 and use systemd execute system command ulimit -SHn 202400 is fail.i dont know what's reason.can you give me help. ------------------------------------------ set-ulimit.service Description=test service After=systemd-update-utmp-runlevel.service #the last... (1 Reply)
Discussion started by: shean
1 Replies

2. Red Hat

Gdb error while debugging core file

Hi, I am trying to analyze one core file on my RHEL 6.5, but I am getting below error related to the core file. So I am not getting any stack trace about the crash. # gdb MyDebugBin /var/core/MyDebugBin.27005 GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1) Copyright (C) 2010 Free... (2 Replies)
Discussion started by: sanzee007
2 Replies

3. Programming

Can't debug: assert error with gdb (no problem without)

I'm sorry if the title is really criptic, but I don't know how to phrase my problem. I know I can't really ask for a solution, and I normally wouldn't but this is really escaping my abilities. Antefacts. I developed a program using the zeromq messaging library. I got to a point where the... (11 Replies)
Discussion started by: erupter
11 Replies

4. Programming

GDB No line in file error

Hi, I have a c program i compile with gcc4.5. This elf, if I use gdb and put a breakpoint on main, instead has a breakpoint in a function other than main or says no line in file. I verified the elf is 1 to 1 with source, have all debug symbols for compilation etc. The problem I think is the... (2 Replies)
Discussion started by: dragonpoint
2 Replies

5. Programming

gdb help

i have created some break points in gdb. let's say.... b sqlcxt how can i know the breakpoint name of sqlcxt ??? (1 Reply)
Discussion started by: lipun4u
1 Replies

6. Programming

Gdb classifies a Bus error as SIGSEGV

Consider the following program. int main(){ struct a_t { int *a; unsigned char b; unsigned char c; unsigned char d; } A; unsigned char e; unsigned char f; unsigned char g; g = 1; A.a = (int *)&g; -> Memory misalignment... (1 Reply)
Discussion started by: balaji280283
1 Replies

7. UNIX for Advanced & Expert Users

Gdb

Hi All, I wanted to know if there is a core file generated and I am not sure for which Binary it is generated . Can I use gdb to debug the core file ? Thanks. (1 Reply)
Discussion started by: shubhranshu
1 Replies

8. UNIX for Advanced & Expert Users

Gdb:

Hi, This is a simple question on GDB. Given a core file, how can you check which process has dumped the core? Regards - Krishna (1 Reply)
Discussion started by: krishnamurthig
1 Replies

9. Programming

GDB make error: for m68xx toolchain

Hi people who have more of an idea about this than me, For Uni we have to compile for the m68hc11. So I've set about setting up the toolchain so I can work at home as indicated here. My problem is a make error when compiling GDB make: *** No rule to make target `-lm', needed by `gdb'.... (1 Reply)
Discussion started by: madteckhead
1 Replies
Login or Register to Ask a Question