Commit 685bf7cb authored by Tom Rini's avatar Tom Rini

PPC32: Minor KGDB updates.

parent 4c20e996
...@@ -851,14 +851,4 @@ kgdb_output_string (const char* s, unsigned int count) ...@@ -851,14 +851,4 @@ kgdb_output_string (const char* s, unsigned int count)
putpacket(buffer); putpacket(buffer);
return 1; return 1;
}
#if defined(CONFIG_6xx) || defined(CONFIG_POWER3)
/* This is used on arches which don't have a serial driver that maps
* the ports for us */
void
kgdb_map_scc(void)
{
} }
#endif
...@@ -619,6 +619,8 @@ void __init setup_arch(char **cmdline_p) ...@@ -619,6 +619,8 @@ void __init setup_arch(char **cmdline_p)
if (strstr(cmd_line, "nokgdb")) if (strstr(cmd_line, "nokgdb"))
printk("kgdb default breakpoint deactivated on command line\n"); printk("kgdb default breakpoint deactivated on command line\n");
else { else {
if (ppc_md.progress)
ppc_md.progress("setup_arch: kgdb breakpoint", 0x4000);
printk("kgdb default breakpoint activated\n"); printk("kgdb default breakpoint activated\n");
breakpoint(); breakpoint();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment