Name

kgdb_post_primary_code — (optional) Save error vector/code numbers.

Synopsis

void kgdb_post_primary_code (struct pt_regs * regs,
 int e_vector,
 int err_code);
 

Arguments

regs

Original pt_regs.

e_vector

Original error vector.

err_code

Original error code.

Description

This is usually needed on architectures which support SMP and KGDB. This function is called after all the secondary cpus have been put to a know spin state and the primary CPU has control over KGDB.