[xtensa-cvscommit] linux/arch/xtensa/mm init.c,1.2,1.3
Brought to you by:
zankel
|
From: <sfo...@us...> - 2002-09-22 21:46:51
|
Update of /cvsroot/xtensa/linux/arch/xtensa/mm
In directory usw-pr-cvs1:/tmp/cvs-serv1995/mm
Modified Files:
init.c
Log Message:
Parameterize serial port and baud rate for kgdb connection.
There are 2 new command line parameters recognized by kgdb:
"gdbbaud=<baud rate>", and "gdbttyS=<serial port>".
The defaults are gdbbaud=9600 and gdbttyS=1 if these parameters are not specified.
Index: init.c
===================================================================
RCS file: /cvsroot/xtensa/linux/arch/xtensa/mm/init.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** init.c 19 Sep 2002 07:06:12 -0000 1.2
--- init.c 22 Sep 2002 21:46:48 -0000 1.3
***************
*** 536,542 ****
extern void breakpoint(void);
extern void set_debug_traps(void);
! extern void rs_kgdb_hook(int);
if (gdb_enter) {
! rs_kgdb_hook(1);
set_debug_traps();
printk("Waiting for connection from remote gdb... \n");
--- 536,542 ----
extern void breakpoint(void);
extern void set_debug_traps(void);
! extern void rs_kgdb_hook(void);
if (gdb_enter) {
! rs_kgdb_hook();
set_debug_traps();
printk("Waiting for connection from remote gdb... \n");
|