mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][KGDB] Drop 'E' packet support
@ 2004-03-29 20:17 Tom Rini
  2004-03-30  8:08 ` Amit S. Kale
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2004-03-29 20:17 UTC (permalink / raw)
  To: Amit S. Kale, kgdb-bugreport, Kernel Mailing List

Hi.  After working on the docs a bit based on the textfile from Anurekh
Saxena, I'd like to commit the following patch (and similar hunks to the
i386-lite and x86_64 patch) to drop support for the 'E' packet.

This isn't something supported by stock GDB, nor AFAIK is it something
that's been submitted for inclusion in GDB.  So I'd really like to drop
this entirely until it's something gdb CVS supports (and I assume would
be documented in
http://sources.redhat.com/gdb/current/onlinedocs/gdb_33.html#SEC656 ).
I could stand putting off the question for now and putting it in the
non-lite patches, but I'd really rather not.

If no one objects, I'd like to commit this noon, -0700 on 30 March.
diff -u linux-2.6.4/kernel/kgdb.c linux-2.6.4/kernel/kgdb.c
--- linux-2.6.4/kernel/kgdb.c	2004-03-19 08:22:37.147169789 -0700
+++ linux-2.6.4/kernel/kgdb.c	2004-03-29 13:13:11.440594007 -0700
@@ -130,11 +130,6 @@
 }
 
 void __attribute__ ((weak))
-    kgdb_printexceptioninfo(int exceptionNo, int errorcode, char *buffer)
-{
-}
-
-void __attribute__ ((weak))
     kgdb_disable_hw_debug(struct pt_regs *regs)
 {
 }
@@ -875,12 +870,6 @@
 				int_to_threadref(&thref, threadid);
 				pack_threadid(remcom_out_buffer + 2, &thref);
 				break;
-
-			case 'E':
-				/* Print exception info */
-				kgdb_printexceptioninfo(exVector, err_code,
-							remcom_out_buffer);
-				break;
 			case 'T':
 				if (memcmp(remcom_in_buffer + 1,
 					   "ThreadExtraInfo,", 16)) {

-- 
Tom Rini
http://gate.crashing.org/~trini/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-30  9:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-29 20:17 [PATCH][KGDB] Drop 'E' packet support Tom Rini
2004-03-30  8:08 ` Amit S. Kale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®