Putting breakpoint on core


 
Thread Tools Search this Thread
Top Forums Programming Putting breakpoint on core
# 1  
Old 06-17-2003
Putting breakpoint on core

Any one tried puting breakpoint while debugging a core file? I have been using a gdb for running it.. But unsuccessful to put a breakpoint before executing it. Any sugestion or tool for doing it would be welcomed..

Thanks Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Hardware

Putting an old hd in a new computer

What are the steps you need to take when you put an old HD in a new computer? I just did this. Every time it makes it to the windows boot screen then restarts. I have a bunch of old engineering software that is not compatible with the newer versions of windows. I figured this out after I bought... (6 Replies)
Discussion started by: cokedude
6 Replies

2. Shell Programming and Scripting

Other way aside from putting more PIPES (|)

I already manage to get the output that i want.. but wat if removing all the pipes and convert it 1 liner with less pipes. My command below can get the ouput that i want. i just want to remove the pipes or less pipes. #cat file1 us-west-2a running i-3397a421... (2 Replies)
Discussion started by: kenshinhimura
2 Replies

3. UNIX for Dummies Questions & Answers

Putting $$ before filename

Hello , I am searching a directory for a file and have to assign the filename to a variable . The variable must have form $$filename So my code is echo "'$$filename='`ls -lrt *PreMatch*.csv| head -1 | nawk '{print $9}'`" however $$ is converting to a number . How could I make it $$... (3 Replies)
Discussion started by: Pratik4891
3 Replies

4. Shell Programming and Scripting

putting two images together

Hi, I generated many figures in .png format (approximately 120). Right now I need to pair the figures on a single page so that the files with the same file name (i.e. jack) that end with .matrix.png are placed on the left and .cdt.png is on the right (so jack.matrix.png with jack.cdt.png... (6 Replies)
Discussion started by: kylle345
6 Replies

5. UNIX for Advanced & Expert Users

GDB Breakpoint Internals

When we put a breakpoint using gcc then what all things happen internally and how the gdb using break is able to pause the execution of process( instead of killing it ) and later on resume the process execution? (0 Replies)
Discussion started by: rupeshkp728
0 Replies

6. UNIX for Advanced & Expert Users

BreakPoint Command Not found error

I have Suse linux-2.6.31.5-0.1. When I try to set breakpoint in application or kernel modules it gives me command not found error. For instance when I typed the command b xyz.c:47 it gives me an error: "If 'b' is not a typo you can use command-not-found lookup the package that contains... (4 Replies)
Discussion started by: rupeshkp728
4 Replies

7. UNIX for Advanced & Expert Users

Why cannot only the "rtl8139_rx" function be setted breakpoint on whereas the others can?

Dear all: (gdb) add-symbol-file /home/likunlun/rtl8139_driver.ko 0xf80e5000 -s .bss 0xf80e72d4 -s .data 0xf80e70e0 add symbol table from file "/home/likunlun/rtl8139_driver.ko" at .text_addr = 0xf80e5000 .bss_addr = 0xf80e72d4 .data_addr = 0xf80e70e0 (y or n) y Reading symbols... (6 Replies)
Discussion started by: liklstar
6 Replies

8. Shell Programming and Scripting

Need to put a breakpoint in gdb using bash shell

I want a way to put a break point in gdb by runing a shell script. Actualy I wanted to do certain automisation of a long manual process, which includes starting of a process in background and then taking the process ID of that process and then attach the gdb to that process ID. Then finaly... (4 Replies)
Discussion started by: kapilkumawat
4 Replies

9. UNIX for Dummies Questions & Answers

difference between Dual-core & Core-to-duo

Can anybody tell What is the exact difference between a Dual-core processor and a Core-to-duo processor ?Advance thanks to all my friends. (1 Reply)
Discussion started by: Ajith kumar.G
1 Replies

10. UNIX for Dummies Questions & Answers

Putting pC on network

How do I put a my PC with linux 7.0 on a class B network. Can someone give me info or text that will guide me? (1 Reply)
Discussion started by: Rush
1 Replies
Login or Register to Ask a Question
KDBG(1) 						      General Commands Manual							   KDBG(1)

NAME
kdbg - a graphical debugger interface SYNOPSIS
kdbg [ generic-options ] [ -t file ] [ -r device ] [ -l language ] [ -p pid ] [ program ] [ core ] DESCRIPTION
KDbg is a graphical user interface to gdb, the GNU debugger. It provides an intuitive interface for setting breakpoints, inspecting vari- ables, stepping through code and much more. KDbg requires KDE but you can of course debug any program. KDbg can also debug XSLT (XML stylesheet translation) scripts by interfacing with xsldbg. Debian users must install the kxsldbg package to make use of this feature. You can pass KDbg the path of the executable to debug (program) or a core dump to debug (core). Features of KDbg include: Inspection of variable values in a tree structure. Direct member: For certain compound data types the most important member values are displayed next to the variable name, so that it is not necessary to expand the subtree of that variable in order to see the member value. KDbg can also display Qt's QString val- ues, which are Unicode strings. Debugger at your finger tips: The basic debugger functions (step, next, run, finish, until, set/clear/enable/disable breakpoint) are bound to function keys F5 through F10. Quick and easy. View source code, search text, set program arguments and environment variables, display arbitrary expressions. Debugging of core dumps, attaching to running processes is possible. Conditional breakpoints. OPTIONS
Below are the kdbg-specific options. For a full summary of options, run kdbg --help. -t file Write a transcript of the conversation with the debugger to the given file. -r device Use remote debugging via the given device. -l language Specify the language of the program/script to debug. This must be either C (for a C/C++ program) or XSL (for an XSLT script). If this option is not passed then KDbg will try to deduce the language from the given filename. -p pid Attach to the process with the given process ID. SEE ALSO
gdb(1), xsldbg(1). Full user documentation is available through the KDE Help Centre. Alternatively the HTML documentation can be viewed directly from /usr/share/doc/kdbg/html/. AUTHOR
KDbg was written by Johannes Sixt <Johannes.Sixt@telecom.at>. This manual page was prepared by Ben Burton <bab@debian.org> for the Debian GNU/Linux system (but may be used by others). March 25, 2005 KDBG(1)