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
SIMULAVR(1)							   User Commands						       SIMULAVR(1)

NAME
simulavr - Atmel AVR simulator SYNOPSIS
simulavr [OPTIONS]... -d DEVICE [IMAGE] DESCRIPTION
Simulate an avr device. The optional IMAGE file is loaded into the flash program memory space of the device. Options -h, --help Show this message -D, --debug Debug instruction output -v, --version Print out the version number and exit -g, --gdbserver Run as a gdbserver process -G, --gdb-debug Print out debug messages for gdbserver -p, --port <port> Listen for gdb connection on TCP port -d, --device <dev> Specify device type -e, --eeprom-image <img> Specify an eeprom image file -E, --eeprom-type <type> Specify the type of the eeprom image file -F, --flash-type <type> Specify the type of the flash image file -L, --list-devices Print supported devices to stdout and exit -P, --disp-prog <prog> Display register and memory info with prog -X, --without-xterm Don't start disp prog in an xterm -C, --core-dump Dump a core memory image to file on exit -c, --clock-freq <freq> Set the simulated mcu clock freqency (in Hz) -B, --breakpoint <addr> Set a breakpoint (address is a byte address) If the image file types for eeprom or flash images are not given, the default file type is binary. If you wish to run the simulator in gdbserver mode, you do not have to specify a flash-image file since the program can be loaded from gdb via the `load` command. If '--port' option is given, and '--gdbserver' is not, port is ignored If running in gdbserver mode and port is not specified, a default port of 1212 is used. If using the '--breakpoint' option, note the simulator will terminate when the address is hit if you are not running in gdbserver mode. This feature not intended for use in gdbserver mode. It is really intended for testing the simulator itself, but may be useful for testing avr programs too. Currently available device types: Use the '--list-devices' option to obtain the list your version of simulavr supports. at90s1200 at90s2313 at90s4414 at90s8515 atmega8 atmega16 atmega103 atmega128 at43usb351 at43usb353 at43usb355 at43usb320 at43usb324 at43usb325 at43usb326 AUTHOR
Written by Theodore A. Roth. REPORTING BUGS
Report bugs to <simulavr-devel@nongnu.org> COPYRIGHT
Copyright 2001, 2002, 2003 Theodore A. Roth. simulavr is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under the conditions of the GNU General Public License. SEE ALSO
http://savannah.nongnu.org/projects/simulavr/ simulavr 0.1.2.2 @DATE@ SIMULAVR(1)