mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
kgdb patches for 5.14
This was a extremely quiet cycle for kgdb. This PR consists of two patches that between them address spelling errors and a switch fallthrough warning. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEELzVBU1D3lWq6cKzwfOMlXTn3iKEFAmDkLFQACgkQfOMlXTn3 iKEXqA/8CjjiWc7Tr9GrXuSKf2QjcPxUEQwzEVCqalk/X7bQwdJg69nKVulW4Ixm db4fANz90w9E8CCMNJlc/Wfev43kcQprn6cO1AkBUyhtDn6F/ql8E/oUWzniGJiU ko+2Hkd9Vfr6lYsDeMNPMe4bjYYUcfBIkJivPA6auX2iyJq7WJgUAh9iea2VoaNB MVjy8F7uUA/TUK4Y/4YiCK4lBILT0KnUvr50n67ZxhMlE3nzFfI0DtIx+7D1vcor w6COVZSkDeyuj+gYq7BFrnOaXPqmEnwesva8VI3UHBOY8+bXdzAld0MrzpyktXTh HPTRIR1KPdqxr4P+wOJc/D8HRIQZ2oKXFXaziUvy6rSxyfBWpJZ1ZCy/uUbPhmyx d620xwHa9R4g0VeA6NGCHhLv7T7vCItBap+bTVAzFJ1LfBYWF4Y3NUsnWxkFNBjM URv9lfXSD6wXt8k/CtkyYUCilT9RsTrQUwJio3yd+kmrbUm3iPfDMWWHW78Jdp0v JIR3/47YNCh53O37QzRGgiB4/cVBzhk5hI/pRnkfRFttUqIjeaSYXvT4mmTUox+f euZESQbwsi8XmvqNSIkDuNjru6JmrfEiiAotjBY6lZKhRP0dhldWPGNT5x1XCh8i p1Dx42So4BNaPJSf3eTiFWGgtYKqu/gqkns4D4ejtiQUe60pzC0= =dnV5 -----END PGP SIGNATURE----- Merge tag 'kgdb-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux Pull kgdb updates from Daniel Thompson: "This was a extremely quiet cycle for kgdb. This consists of two patches that between them address spelling errors and a switch fallthrough warning" * tag 'kgdb-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux: kgdb: Fix fall-through warning for Clang kgdb: Fix spelling mistakes
This commit is contained in:
commit
df8ba5f160
@ -105,9 +105,9 @@ extern int dbg_set_reg(int regno, void *mem, struct pt_regs *regs);
|
||||
*/
|
||||
|
||||
/**
|
||||
* kgdb_arch_init - Perform any architecture specific initalization.
|
||||
* kgdb_arch_init - Perform any architecture specific initialization.
|
||||
*
|
||||
* This function will handle the initalization of any architecture
|
||||
* This function will handle the initialization of any architecture
|
||||
* specific callbacks.
|
||||
*/
|
||||
extern int kgdb_arch_init(void);
|
||||
@ -229,9 +229,9 @@ extern int kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt);
|
||||
extern int kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt);
|
||||
|
||||
/**
|
||||
* kgdb_arch_late - Perform any architecture specific initalization.
|
||||
* kgdb_arch_late - Perform any architecture specific initialization.
|
||||
*
|
||||
* This function will handle the late initalization of any
|
||||
* This function will handle the late initialization of any
|
||||
* architecture specific callbacks. This is an optional function for
|
||||
* handling things like late initialization of hw breakpoints. The
|
||||
* default implementation does nothing.
|
||||
|
@ -1032,12 +1032,13 @@ dbg_notify_reboot(struct notifier_block *this, unsigned long code, void *x)
|
||||
/*
|
||||
* Take the following action on reboot notify depending on value:
|
||||
* 1 == Enter debugger
|
||||
* 0 == [the default] detatch debug client
|
||||
* 0 == [the default] detach debug client
|
||||
* -1 == Do nothing... and use this until the board resets
|
||||
*/
|
||||
switch (kgdbreboot) {
|
||||
case 1:
|
||||
kgdb_breakpoint();
|
||||
goto done;
|
||||
case -1:
|
||||
goto done;
|
||||
}
|
||||
|
@ -253,7 +253,7 @@ static char *kdballocenv(size_t bytes)
|
||||
* Parameters:
|
||||
* match A character string representing a numeric value
|
||||
* Outputs:
|
||||
* *value the unsigned long represntation of the env variable 'match'
|
||||
* *value the unsigned long representation of the env variable 'match'
|
||||
* Returns:
|
||||
* Zero on success, a kdb diagnostic on failure.
|
||||
*/
|
||||
@ -356,7 +356,7 @@ static void kdb_printenv(void)
|
||||
* Parameters:
|
||||
* arg A character string representing a numeric value
|
||||
* Outputs:
|
||||
* *value the unsigned long represntation of arg.
|
||||
* *value the unsigned long representation of arg.
|
||||
* Returns:
|
||||
* Zero on success, a kdb diagnostic on failure.
|
||||
*/
|
||||
@ -470,7 +470,7 @@ static int kdb_check_regs(void)
|
||||
* symbol name, and offset to the caller.
|
||||
*
|
||||
* The argument may consist of a numeric value (decimal or
|
||||
* hexidecimal), a symbol name, a register name (preceded by the
|
||||
* hexadecimal), a symbol name, a register name (preceded by the
|
||||
* percent sign), an environment variable with a numeric value
|
||||
* (preceded by a dollar sign) or a simple arithmetic expression
|
||||
* consisting of a symbol name, +/-, and a numeric constant value
|
||||
@ -894,7 +894,7 @@ static void parse_grep(const char *str)
|
||||
* Limited to 20 tokens.
|
||||
*
|
||||
* Real rudimentary tokenization. Basically only whitespace
|
||||
* is considered a token delimeter (but special consideration
|
||||
* is considered a token delimiter (but special consideration
|
||||
* is taken of the '=' sign as used by the 'set' command).
|
||||
*
|
||||
* The algorithm used to tokenize the input string relies on
|
||||
|
@ -64,7 +64,7 @@
|
||||
|
||||
/*
|
||||
* KDB_MAXBPT describes the total number of breakpoints
|
||||
* supported by this architecure.
|
||||
* supported by this architecture.
|
||||
*/
|
||||
#define KDB_MAXBPT 16
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user