mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/monitor.h: Remove STREQ, STNEQ (pollute namespace), RTEMS_MONITOR_PROMPT (pollutes namespace, useless). * monitor/mon-command.c: Add RTEMS_MONITOR_PROMPT. * monitor/mon-monitor.c: Apply private version of STREQ.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* monitor/monitor.h: Remove STREQ, STNEQ (pollute namespace),
|
||||
RTEMS_MONITOR_PROMPT (pollutes namespace, useless).
|
||||
* monitor/mon-command.c: Add RTEMS_MONITOR_PROMPT.
|
||||
* monitor/mon-monitor.c: Apply private version of STREQ.
|
||||
|
||||
2003-09-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* monitor/symbols.h: Convert to private header.
|
||||
|
||||
@@ -18,6 +18,10 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifndef MONITOR_PROMPT
|
||||
#define MONITOR_PROMPT "rtems" /* will have '> ' appended */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* 2001-01-30 KJO (vac4050@cae597.rsc.raytheon.com):
|
||||
* Fixed rtems_monitor_command_lookup() to accept partial
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
|
||||
#include <rtems/monitor.h>
|
||||
|
||||
#define STREQ(a,b) (strcmp(a,b) == 0)
|
||||
|
||||
/* set by trap handler */
|
||||
extern rtems_tcb *debugger_interrupted_task;
|
||||
extern rtems_context *debugger_interrupted_task_context;
|
||||
|
||||
@@ -444,16 +444,8 @@ void rtems_monitor_symbol_cmd(int, char **, unsigned32, boolean);
|
||||
|
||||
extern rtems_symbol_table_t *rtems_monitor_symbols;
|
||||
|
||||
#ifndef MONITOR_PROMPT
|
||||
#define MONITOR_PROMPT "rtems" /* will have '> ' appended */
|
||||
#endif
|
||||
|
||||
#define MONITOR_WAKEUP_EVENT RTEMS_EVENT_0
|
||||
|
||||
|
||||
#define STREQ(a,b) (strcmp(a,b) == 0)
|
||||
#define STRNEQ(a,b,n) (strncmp(a,b,n) == 0)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user