SysTutorials

Linux Manual Pages › Section 9

kgdb_arch_set_pc(9)

kgdb_arch_set_pc – Generic call back to the program counter

Synopsis

void kgdb_arch_set_pc(struct pt_regs *regs, unsigned long pc);

Arguments

regs

Current struct pt_regs.

pc

The new value for the program counter

Description

This function handles updating the program counter and requires an architecture specific implementation.

Author

Jason Wessel <jason.wessel [at] windriver.com>

Author.

Copyright