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 
PLATFORM_NAND(9) Structures STRUCT PLATFORM_NAND(9) NAME
struct_platform_nand_ctrl - controller level device structure SYNOPSIS
struct platform_nand_ctrl { int (* probe) (struct platform_device *pdev); void (* remove) (struct platform_device *pdev); void (* hwcontrol) (struct mtd_info *mtd, int cmd); int (* dev_ready) (struct mtd_info *mtd); void (* select_chip) (struct mtd_info *mtd, int chip); void (* cmd_ctrl) (struct mtd_info *mtd, int dat, unsigned int ctrl); void (* write_buf) (struct mtd_info *mtd, const uint8_t *buf, int len); void (* read_buf) (struct mtd_info *mtd, uint8_t *buf, int len); unsigned char (* read_byte) (struct mtd_info *mtd); void * priv; }; MEMBERS
probe platform specific function to probe/setup hardware remove platform specific function to remove/teardown hardware hwcontrol platform specific hardware control structure dev_ready platform specific function to read ready/busy pin select_chip platform specific chip select function cmd_ctrl platform specific function for controlling ALE/CLE/nCE. Also used to write command and address write_buf platform specific function for write buffer read_buf platform specific function for read buffer read_byte platform specific function to read one byte from chip priv private data to transport driver specific settings DESCRIPTION
All fields are optional and depend on the hardware driver requirements AUTHOR
Thomas Gleixner <tglx@linutronix.de> Author. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT PLATFORM_NAND(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

Featured Tech Videos