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
STRUCT 
KGDB_ARCH(9) Kernel Debugger Internals STRUCT KGDB_ARCH(9) NAME
struct_kgdb_arch - Describe architecture specific values. SYNOPSIS
struct kgdb_arch { unsigned char gdb_bpt_instr[BREAK_INSTR_SIZE]; unsigned long flags; int (* set_breakpoint) (unsigned long, char *); int (* remove_breakpoint) (unsigned long, char *); int (* set_hw_breakpoint) (unsigned long, int, enum kgdb_bptype); int (* remove_hw_breakpoint) (unsigned long, int, enum kgdb_bptype); void (* disable_hw_break) (struct pt_regs *regs); void (* remove_all_hw_break) (void); void (* correct_hw_break) (void); void (* enable_nmi) (bool on); }; MEMBERS
gdb_bpt_instr[BREAK_INSTR_SIZE] The instruction to trigger a breakpoint. flags Flags for the breakpoint, currently just KGDB_HW_BREAKPOINT. set_breakpoint Allow an architecture to specify how to set a software breakpoint. remove_breakpoint Allow an architecture to specify how to remove a software breakpoint. set_hw_breakpoint Allow an architecture to specify how to set a hardware breakpoint. remove_hw_breakpoint Allow an architecture to specify how to remove a hardware breakpoint. disable_hw_break Allow an architecture to specify how to disable hardware breakpoints for a single cpu. remove_all_hw_break Allow an architecture to specify how to remove all hardware breakpoints. correct_hw_break Allow an architecture to specify how to correct the hardware debug registers. enable_nmi Manage NMI-triggered entry to KGDB AUTHOR
Jason Wessel <jason.wessel@windriver.com> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT KGDB_ARCH(9)