Add eCos entry points

Jonathan Larmour jlarmour@redhat.com
Wed Jul 25 16:45:00 GMT 2001


Hi guys,

I was wondering if I could apply this patch? I know it's eCos specific,
but it's harmless elsewhere. I've got write access to the src repository
so just nod if it's okay.

Jifl

2001-07-26  Jonathan Larmour  <jlarmour@redhat.com>

	* library/prefs.tcl (pref_set_defaults): Add additional entry
	points for eCos if main is not present.


Index: library/prefs.tcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/prefs.tcl,v
retrieving revision 1.9
diff -u -5 -p -r1.9 prefs.tcl
--- prefs.tcl	2001/05/12 01:47:36	1.9
+++ prefs.tcl	2001/07/25 23:43:02
@@ -369,11 +369,11 @@ proc pref_set_defaults {} {
 
   # Kernel Objects (kod)
   pref define gdb/kod/show_icon           0
 
   # Various possible "main" functions. What's for Java?
-  pref define gdb/main_names              [list MAIN___ MAIN__ main]
+  pref define gdb/main_names              [list MAIN___ MAIN__ main cyg_user_start cyg_start ]
 
   # These are the classes of warning dialogs, and whether the user plans
   # to ignore them.
   pref define gdb/warnings/signal         0
 



More information about the Insight mailing list