Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

struct_kgdb_arch(9) [centos man page]

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)

Check Out this Related Man Page

STRUCT 
IRQ_DATA(9) Structures STRUCT IRQ_DATA(9) NAME
struct_irq_data - per irq and irq chip data passed down to chip functions SYNOPSIS
struct irq_data { unsigned int irq; unsigned long hwirq; unsigned int node; unsigned int state_use_accessors; struct irq_chip * chip; struct irq_domain * domain; void * handler_data; void * chip_data; struct msi_desc * msi_desc; cpumask_var_t affinity; }; MEMBERS
irq interrupt number hwirq hardware interrupt number, local to the interrupt domain node node index useful for balancing state_use_accessors status information for irq chip functions. Use accessor functions to deal with it chip low level interrupt hardware access domain Interrupt translation domain; responsible for mapping between hwirq number and linux irq number. handler_data per-IRQ data for the irq_chip methods chip_data platform-specific per-chip private data for the chip methods, to allow shared chip implementations msi_desc MSI descriptor affinity IRQ affinity on SMP DESCRIPTION
The fields here need to overlay the ones in irq_desc until we cleaned up the direct references and switched everything over to irq_data. AUTHORS
Thomas Gleixner <tglx@linutronix.de> Author. Ingo Molnar <mingo@elte.hu> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT IRQ_DATA(9)
Man Page

6 More Discussions You Might Find Interesting

1. Programming

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 :) (0 Replies)
Discussion started by: jyotipg
0 Replies

2. Programming

what is the base type of enum

helo i have asked in exam what that what is the base type of enum options are given bewlo (1) long int (2) short int (3) signed int (4) unsigned int can u tell me what is the exact answer from the above option Regards, Amit (1 Reply)
Discussion started by: amitpansuria
1 Replies

3. Programming

clearing breakpoints using dbx v 7.2.1

Im unsure of how to clear break points using dbx v7.2.1 Ive tried using delete linenumber of breakpoint however this does not seem to work. Could anyone point me in the correct direction ? regards (0 Replies)
Discussion started by: JamesGoh
0 Replies

4. AIX

POWER Hardware

I need book or any useful link about POWER hardware architecture .. Thanks :-) (4 Replies)
Discussion started by: Vit0_Corleone
4 Replies

5. SCO

Unixware Crash ...

Hi, I need help, one of our servers is down, and all data in that Server are critical: The Scenario: ------------- I have a computer with the next architecture: architecture=IA32 bus_types=PCI2.10,ISA,PnP1.0 hostname=xxx.xxx.xxx (the real name is hidden) hw_provider=Generic AT... (2 Replies)
Discussion started by: danilosevilla
2 Replies

6. UNIX for Advanced & Expert Users

Can KGDB debug a device driver?

Hi, all: I am using the KGDB to debug my own network driver on linux. But I suspect if my KGDB work nomally. When I set a breakpoint at "do_one_initcall" function, the kernel function that will call my driver module, and continue to reach there, the "step" command of GDB cannot enter into my... (3 Replies)
Discussion started by: liklstar
3 Replies