diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/cli/cli-cmds.c | 8 | ||||
-rw-r--r-- | gdb/config/mips/xm-mips.h | 2 | ||||
-rw-r--r-- | gdb/eval.c | 3 | ||||
-rw-r--r-- | gdb/mi/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/mi/mi-out.h | 2 |
6 files changed, 11 insertions, 14 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 90f5fd7..f899681 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2001-03-19 Andrew Cagney <ac131313@redhat.com> + * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''. + * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC. + * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__ + +2001-03-19 Andrew Cagney <ac131313@redhat.com> + * TODO: List known problems with TUI. 2001-03-19 Andrew Cagney <ac131313@redhat.com> diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 19b5970..41001e9 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -664,18 +664,10 @@ End with a line of just \"end\".\n\ Use the \"document\" command to give documentation for the new command.\n\ Commands defined in this way may have up to ten arguments."); -#ifdef __STDC__ c = add_cmd ("source", class_support, source_command, "Read commands from a file named FILE.\n\ Note that the file \"" GDBINIT_FILENAME "\" is read automatically in this way\n\ when gdb is started.", &cmdlist); -#else - /* Punt file name, we can't help it easily. */ - c = add_cmd ("source", class_support, source_command, - "Read commands from a file named FILE.\n\ -Note that the file \".gdbinit\" is read automatically in this way\n\ -when gdb is started.", &cmdlist); -#endif c->completer = filename_completer; add_com ("quit", class_support, quit_command, "Exit gdb."); diff --git a/gdb/config/mips/xm-mips.h b/gdb/config/mips/xm-mips.h index f7e5f3c..4b40fc8 100644 --- a/gdb/config/mips/xm-mips.h +++ b/gdb/config/mips/xm-mips.h @@ -36,7 +36,7 @@ #endif #endif -#if ! defined (__STDC__) && ! defined (offsetof) +#if ! defined (__GNUC__) && ! defined (offsetof) #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) #endif @@ -61,9 +61,6 @@ static LONGEST init_array_element (value_ptr, value_ptr, struct expression *, int *, enum noside, LONGEST, LONGEST); -#if defined (__GNUC__) && !__STDC__ -inline -#endif static value_ptr evaluate_subexp (struct type *expect_type, register struct expression *exp, register int *pos, enum noside noside) diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index 6567642..5215ca5 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,7 @@ +2001-03-19 Andrew Cagney <ac131313@redhat.com> + + * mi-out.h: Remove #ifdef __STDC__. + 2001-03-08 Andrew Cagney <ac131313@redhat.com> * mi-main.c (mi_cmd_data_list_register_names): Use NUM_REGS, not diff --git a/gdb/mi/mi-out.h b/gdb/mi/mi-out.h index 0554e1c..37a643c 100644 --- a/gdb/mi/mi-out.h +++ b/gdb/mi/mi-out.h @@ -22,10 +22,8 @@ #ifndef MI_OUT_H #define MI_OUT_H 1 -#if __STDC__ struct ui_out; struct ui_file; -#endif extern struct ui_out *mi_out_new (void); extern void mi_out_put (struct ui_out *uiout, struct ui_file *stream); |