2001-03-06 16:22:02 +08:00
|
|
|
# Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
2003-01-05 03:27:19 +08:00
|
|
|
# 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# This file is part of GDB.
|
|
|
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
|
|
|
host_alias = @host_alias@
|
|
|
|
target_alias = @target_alias@
|
|
|
|
program_transform_name = @program_transform_name@
|
|
|
|
bindir = @bindir@
|
|
|
|
libdir = @libdir@
|
|
|
|
tooldir = $(libdir)/$(target_alias)
|
|
|
|
|
|
|
|
datadir = @datadir@
|
|
|
|
mandir = @mandir@
|
|
|
|
man1dir = $(mandir)/man1
|
|
|
|
man2dir = $(mandir)/man2
|
|
|
|
man3dir = $(mandir)/man3
|
|
|
|
man4dir = $(mandir)/man4
|
|
|
|
man5dir = $(mandir)/man5
|
|
|
|
man6dir = $(mandir)/man6
|
|
|
|
man7dir = $(mandir)/man7
|
|
|
|
man8dir = $(mandir)/man8
|
|
|
|
man9dir = $(mandir)/man9
|
|
|
|
infodir = @infodir@
|
1999-06-29 00:06:02 +08:00
|
|
|
htmldir = $(prefix)/html
|
1999-04-16 09:35:26 +08:00
|
|
|
includedir = @includedir@
|
|
|
|
|
|
|
|
# This can be referenced by `INTLDEPS' as computed by CY_GNU_GETTEXT.
|
|
|
|
top_builddir = .
|
|
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
EXEEXT = @EXEEXT@
|
|
|
|
|
1999-04-27 02:34:20 +08:00
|
|
|
AWK = @AWK@
|
2000-03-03 13:44:39 +08:00
|
|
|
LN_S = @LN_S@
|
1999-04-27 02:34:20 +08:00
|
|
|
|
1999-04-16 09:35:26 +08:00
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
|
2002-11-09 11:14:11 +08:00
|
|
|
DESTDIR =
|
|
|
|
|
1999-04-16 09:35:26 +08:00
|
|
|
AR = @AR@
|
|
|
|
AR_FLAGS = qv
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
DLLTOOL = @DLLTOOL@
|
|
|
|
WINDRES = @WINDRES@
|
2000-02-26 21:57:35 +08:00
|
|
|
MIG = @MIG@
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# If you are compiling with GCC, make sure that either 1) You have the
|
|
|
|
# fixed include files where GCC can reach them, or 2) You use the
|
|
|
|
# -traditional flag. Otherwise the ioctl calls in inflow.c
|
|
|
|
# will be incorrectly compiled. The "fixincludes" script in the gcc
|
|
|
|
# distribution will fix your include files up.
|
|
|
|
CC=@CC@
|
|
|
|
|
|
|
|
# Directory containing source files.
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
YACC=@YACC@
|
|
|
|
|
2002-08-19 18:52:20 +08:00
|
|
|
# This is used to rebuild ada-lex.c from ada-lex.l. If the program is
|
|
|
|
# not defined, but ada-lex.c is present, compilation will continue,
|
|
|
|
# possibly with a warning.
|
|
|
|
FLEX = flex
|
|
|
|
|
1999-04-16 09:35:26 +08:00
|
|
|
YLWRAP = $(srcdir)/../ylwrap
|
|
|
|
|
|
|
|
# where to find makeinfo, preferably one designed for texinfo-2
|
|
|
|
MAKEINFO=makeinfo
|
|
|
|
|
1999-06-29 00:06:02 +08:00
|
|
|
MAKEHTML = texi2html
|
|
|
|
|
|
|
|
MAKEHTMLFLAGS = -glossary -menu -split_chapter
|
|
|
|
|
1999-04-16 09:35:26 +08:00
|
|
|
# Set this up with gcc if you have gnu ld and the loader will print out
|
|
|
|
# line numbers for undefined references.
|
|
|
|
#CC_LD=gcc -static
|
|
|
|
CC_LD=$(CC)
|
|
|
|
|
|
|
|
# Where is our "include" directory? Typically $(srcdir)/../include.
|
|
|
|
# This is essentially the header file directory for the library
|
|
|
|
# routines in libiberty.
|
|
|
|
INCLUDE_DIR = $(srcdir)/../include
|
|
|
|
INCLUDE_CFLAGS = -I$(INCLUDE_DIR)
|
|
|
|
|
|
|
|
# Where is the "-liberty" library? Typically in ../libiberty.
|
|
|
|
LIBIBERTY = ../libiberty/libiberty.a
|
|
|
|
|
|
|
|
# Configured by the --with-mmalloc option to configure.
|
|
|
|
MMALLOC = @MMALLOC@
|
|
|
|
MMALLOC_CFLAGS = @MMALLOC_CFLAGS@
|
|
|
|
|
|
|
|
# Where is the BFD library? Typically in ../bfd.
|
|
|
|
BFD_DIR = ../bfd
|
|
|
|
BFD = $(BFD_DIR)/libbfd.a
|
|
|
|
BFD_SRC = $(srcdir)/$(BFD_DIR)
|
|
|
|
BFD_CFLAGS = -I$(BFD_DIR) -I$(BFD_SRC)
|
|
|
|
|
|
|
|
# Where is the READLINE library? Typically in ../readline.
|
|
|
|
READLINE_DIR = ../readline
|
|
|
|
READLINE = $(READLINE_DIR)/libreadline.a
|
|
|
|
READLINE_SRC = $(srcdir)/$(READLINE_DIR)
|
|
|
|
READLINE_CFLAGS = -I$(READLINE_SRC)/..
|
|
|
|
|
|
|
|
WARN_CFLAGS = @WARN_CFLAGS@
|
1999-08-31 09:14:27 +08:00
|
|
|
WERROR_CFLAGS = @WERROR_CFLAGS@
|
1999-09-09 08:02:17 +08:00
|
|
|
GDB_WARN_CFLAGS = $(WARN_CFLAGS)
|
|
|
|
GDB_WERROR_CFLAGS = $(WERROR_CFLAGS)
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# Where is the INTL library? Typically in ../intl.
|
|
|
|
INTL_DIR = ../intl
|
|
|
|
INTL = @INTLLIBS@
|
|
|
|
INTL_DEPS = @INTLDEPS@
|
|
|
|
INTL_SRC = $(srcdir)/$(INTL_DIR)
|
|
|
|
INTL_CFLAGS = -I$(INTL_DIR) -I$(INTL_SRC)
|
|
|
|
|
2002-09-20 08:24:01 +08:00
|
|
|
# Where is the ICONV library? This can be empty if libc has iconv.
|
|
|
|
LIBICONV = @LIBICONV@
|
|
|
|
|
2003-01-14 02:00:16 +08:00
|
|
|
# Did the user give us a --with-sysroot option?
|
|
|
|
TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
|
|
|
|
TARGET_SYSTEM_ROOT_DEFINE = @TARGET_SYSTEM_ROOT_DEFINE@
|
|
|
|
|
2000-12-01 Fernando Nasser <fnasser@redhat.com>
* cli/cli-decode.c: New file. Handle lists of commands, their decoding
and documentation.
(add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
Moved here from command.c.
(add_info, add_info_alias, add_com, add_com_alias): Moved here from
top.c.
* cli/cli-decode.h: Definitions/declarations for the above.
* cli/cli-cmds.c: New file. GDB CLI commands.
(error_no_arg, info_command, show_command, help_command, show_version,
quit_command, pwd_command, cd_command, echo_command, shell_escape,
make_command, show_user, set_debug, show_debug, init_cmd_lists):
Moved here from top.c.
(apropos_command): Moved here from command.c.
(complete_command, source_command): Moved here (part) from top.c.
(is_complete_command): New function. Checks if a command is the
"complete" command.
(init_cli_cmds): New function. Add commands to the CLI (from code
previously in top.c.
* cli/cli-cmds.h: Definitions/declarations for the above.
* cli/cli-script.c: New file. GDB CLI command scripting.
(build_command_line, get_command_line, print_command_lines,
print_command_line, execute_user_command, execute_control_command,
while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
insert_args, realloc_body_list, read_next_line,
recurse_read_control_structure, read_command_lines, free_command_lines,
do_free_command_lines_cleanup, make_cleanup_free_command_lines,
validate_comname, user_defined_command, define_command,
document_command, source_cleanup_lines, do_fclose_cleanup,
show_user_1): Moved here from top.c.
(script_from_file): New function. Implements execution of a script
contained in a file (part of code for the source_command() that used
to exist in top.c).
* cli/cli-script.h: Definitions/declarations for the above.
* cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
(parse_auto_binary_operation, parse_binary_operation,
do_setshow_command, cmd_show_list): Moved here from command.c.
* cli/cli-setshow.h: Definitions/declarations for the above.
* top.c: Remove all CLI code, except the command loop.
(gdb_init): Call init_cli_cmds().
* command.c: Remove obsolete file.
* command.h: Mark as DEPRECATED.
* gdbcmd.h: Ditto.
* call-cmds.h: Ditto.
* Makefile.in (SFILES): Remove command.c.
(COMMON_OBS): Remove command.o.
(command.o): Remove obsolete target.
(cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
Refer to CLI header files.
(cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
subdirectory.
* configure.in (enable_gdbcli): New option. Include the CLI in the
executable (cannot be disabled yet).
(CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
the corresponding SUBDIR_CLI_* macros if CLI requested.
* configure: Regenerate.
2000-12-02 02:01:38 +08:00
|
|
|
#
|
|
|
|
# CLI sub directory definitons
|
|
|
|
#
|
|
|
|
SUBDIR_CLI_OBS = \
|
2002-03-29 09:22:41 +08:00
|
|
|
cli-dump.o \
|
2003-02-06 13:30:17 +08:00
|
|
|
cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o \
|
2003-06-29 00:19:07 +08:00
|
|
|
cli-logging.o \
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
cli-interp.o
|
2000-12-01 Fernando Nasser <fnasser@redhat.com>
* cli/cli-decode.c: New file. Handle lists of commands, their decoding
and documentation.
(add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
Moved here from command.c.
(add_info, add_info_alias, add_com, add_com_alias): Moved here from
top.c.
* cli/cli-decode.h: Definitions/declarations for the above.
* cli/cli-cmds.c: New file. GDB CLI commands.
(error_no_arg, info_command, show_command, help_command, show_version,
quit_command, pwd_command, cd_command, echo_command, shell_escape,
make_command, show_user, set_debug, show_debug, init_cmd_lists):
Moved here from top.c.
(apropos_command): Moved here from command.c.
(complete_command, source_command): Moved here (part) from top.c.
(is_complete_command): New function. Checks if a command is the
"complete" command.
(init_cli_cmds): New function. Add commands to the CLI (from code
previously in top.c.
* cli/cli-cmds.h: Definitions/declarations for the above.
* cli/cli-script.c: New file. GDB CLI command scripting.
(build_command_line, get_command_line, print_command_lines,
print_command_line, execute_user_command, execute_control_command,
while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
insert_args, realloc_body_list, read_next_line,
recurse_read_control_structure, read_command_lines, free_command_lines,
do_free_command_lines_cleanup, make_cleanup_free_command_lines,
validate_comname, user_defined_command, define_command,
document_command, source_cleanup_lines, do_fclose_cleanup,
show_user_1): Moved here from top.c.
(script_from_file): New function. Implements execution of a script
contained in a file (part of code for the source_command() that used
to exist in top.c).
* cli/cli-script.h: Definitions/declarations for the above.
* cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
(parse_auto_binary_operation, parse_binary_operation,
do_setshow_command, cmd_show_list): Moved here from command.c.
* cli/cli-setshow.h: Definitions/declarations for the above.
* top.c: Remove all CLI code, except the command loop.
(gdb_init): Call init_cli_cmds().
* command.c: Remove obsolete file.
* command.h: Mark as DEPRECATED.
* gdbcmd.h: Ditto.
* call-cmds.h: Ditto.
* Makefile.in (SFILES): Remove command.c.
(COMMON_OBS): Remove command.o.
(command.o): Remove obsolete target.
(cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
Refer to CLI header files.
(cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
subdirectory.
* configure.in (enable_gdbcli): New option. Include the CLI in the
executable (cannot be disabled yet).
(CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
the corresponding SUBDIR_CLI_* macros if CLI requested.
* configure: Regenerate.
2000-12-02 02:01:38 +08:00
|
|
|
SUBDIR_CLI_SRCS = \
|
2002-03-29 09:22:41 +08:00
|
|
|
cli/cli-dump.c \
|
2001-01-04 23:50:48 +08:00
|
|
|
cli/cli-decode.c cli/cli-script.c cli/cli-cmds.c cli/cli-setshow.c \
|
2003-06-29 00:19:07 +08:00
|
|
|
cli/cli-logging.c \
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
cli/cli-interp.c \
|
2001-01-04 23:50:48 +08:00
|
|
|
cli/cli-utils.c
|
2000-12-01 Fernando Nasser <fnasser@redhat.com>
* cli/cli-decode.c: New file. Handle lists of commands, their decoding
and documentation.
(add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
Moved here from command.c.
(add_info, add_info_alias, add_com, add_com_alias): Moved here from
top.c.
* cli/cli-decode.h: Definitions/declarations for the above.
* cli/cli-cmds.c: New file. GDB CLI commands.
(error_no_arg, info_command, show_command, help_command, show_version,
quit_command, pwd_command, cd_command, echo_command, shell_escape,
make_command, show_user, set_debug, show_debug, init_cmd_lists):
Moved here from top.c.
(apropos_command): Moved here from command.c.
(complete_command, source_command): Moved here (part) from top.c.
(is_complete_command): New function. Checks if a command is the
"complete" command.
(init_cli_cmds): New function. Add commands to the CLI (from code
previously in top.c.
* cli/cli-cmds.h: Definitions/declarations for the above.
* cli/cli-script.c: New file. GDB CLI command scripting.
(build_command_line, get_command_line, print_command_lines,
print_command_line, execute_user_command, execute_control_command,
while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
insert_args, realloc_body_list, read_next_line,
recurse_read_control_structure, read_command_lines, free_command_lines,
do_free_command_lines_cleanup, make_cleanup_free_command_lines,
validate_comname, user_defined_command, define_command,
document_command, source_cleanup_lines, do_fclose_cleanup,
show_user_1): Moved here from top.c.
(script_from_file): New function. Implements execution of a script
contained in a file (part of code for the source_command() that used
to exist in top.c).
* cli/cli-script.h: Definitions/declarations for the above.
* cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
(parse_auto_binary_operation, parse_binary_operation,
do_setshow_command, cmd_show_list): Moved here from command.c.
* cli/cli-setshow.h: Definitions/declarations for the above.
* top.c: Remove all CLI code, except the command loop.
(gdb_init): Call init_cli_cmds().
* command.c: Remove obsolete file.
* command.h: Mark as DEPRECATED.
* gdbcmd.h: Ditto.
* call-cmds.h: Ditto.
* Makefile.in (SFILES): Remove command.c.
(COMMON_OBS): Remove command.o.
(command.o): Remove obsolete target.
(cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
Refer to CLI header files.
(cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
subdirectory.
* configure.in (enable_gdbcli): New option. Include the CLI in the
executable (cannot be disabled yet).
(CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
the corresponding SUBDIR_CLI_* macros if CLI requested.
* configure: Regenerate.
2000-12-02 02:01:38 +08:00
|
|
|
SUBDIR_CLI_DEPS =
|
2002-02-10 02:45:06 +08:00
|
|
|
SUBDIR_CLI_INITS = \
|
|
|
|
$(SUBDIR_CLI_SRCS)
|
2000-12-01 Fernando Nasser <fnasser@redhat.com>
* cli/cli-decode.c: New file. Handle lists of commands, their decoding
and documentation.
(add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
Moved here from command.c.
(add_info, add_info_alias, add_com, add_com_alias): Moved here from
top.c.
* cli/cli-decode.h: Definitions/declarations for the above.
* cli/cli-cmds.c: New file. GDB CLI commands.
(error_no_arg, info_command, show_command, help_command, show_version,
quit_command, pwd_command, cd_command, echo_command, shell_escape,
make_command, show_user, set_debug, show_debug, init_cmd_lists):
Moved here from top.c.
(apropos_command): Moved here from command.c.
(complete_command, source_command): Moved here (part) from top.c.
(is_complete_command): New function. Checks if a command is the
"complete" command.
(init_cli_cmds): New function. Add commands to the CLI (from code
previously in top.c.
* cli/cli-cmds.h: Definitions/declarations for the above.
* cli/cli-script.c: New file. GDB CLI command scripting.
(build_command_line, get_command_line, print_command_lines,
print_command_line, execute_user_command, execute_control_command,
while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
insert_args, realloc_body_list, read_next_line,
recurse_read_control_structure, read_command_lines, free_command_lines,
do_free_command_lines_cleanup, make_cleanup_free_command_lines,
validate_comname, user_defined_command, define_command,
document_command, source_cleanup_lines, do_fclose_cleanup,
show_user_1): Moved here from top.c.
(script_from_file): New function. Implements execution of a script
contained in a file (part of code for the source_command() that used
to exist in top.c).
* cli/cli-script.h: Definitions/declarations for the above.
* cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
(parse_auto_binary_operation, parse_binary_operation,
do_setshow_command, cmd_show_list): Moved here from command.c.
* cli/cli-setshow.h: Definitions/declarations for the above.
* top.c: Remove all CLI code, except the command loop.
(gdb_init): Call init_cli_cmds().
* command.c: Remove obsolete file.
* command.h: Mark as DEPRECATED.
* gdbcmd.h: Ditto.
* call-cmds.h: Ditto.
* Makefile.in (SFILES): Remove command.c.
(COMMON_OBS): Remove command.o.
(command.o): Remove obsolete target.
(cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
Refer to CLI header files.
(cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
subdirectory.
* configure.in (enable_gdbcli): New option. Include the CLI in the
executable (cannot be disabled yet).
(CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
the corresponding SUBDIR_CLI_* macros if CLI requested.
* configure: Regenerate.
2000-12-02 02:01:38 +08:00
|
|
|
SUBDIR_CLI_LDFLAGS=
|
|
|
|
SUBDIR_CLI_CFLAGS=
|
|
|
|
SUBDIR_CLI_ALL=
|
|
|
|
SUBDIR_CLI_CLEAN=
|
|
|
|
SUBDIR_CLI_INSTALL=
|
|
|
|
SUBDIR_CLI_UNINSTALL=
|
|
|
|
|
2000-02-23 08:25:43 +08:00
|
|
|
#
|
|
|
|
# MI sub directory definitons
|
|
|
|
#
|
|
|
|
SUBDIR_MI_OBS = \
|
|
|
|
mi-out.o mi-console.o \
|
2002-12-14 01:55:49 +08:00
|
|
|
mi-cmds.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o \
|
2003-05-12 08:26:19 +08:00
|
|
|
mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o \
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
mi-interp.o \
|
2000-02-23 08:25:43 +08:00
|
|
|
mi-main.o mi-parse.o mi-getopt.o
|
|
|
|
SUBDIR_MI_SRCS = \
|
|
|
|
mi/mi-out.c mi/mi-console.c \
|
2002-12-14 01:55:49 +08:00
|
|
|
mi/mi-cmds.c mi/mi-cmd-env.c \
|
2000-02-23 08:25:43 +08:00
|
|
|
mi/mi-cmd-var.c mi/mi-cmd-break.c mi/mi-cmd-stack.c \
|
2003-05-12 08:26:19 +08:00
|
|
|
mi/mi-cmd-file.c mi/mi-cmd-disas.c mi/mi-symbol-cmds.c \
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
mi/mi-interp.c \
|
2000-02-23 08:25:43 +08:00
|
|
|
mi/mi-main.c mi/mi-parse.c mi/mi-getopt.c
|
|
|
|
SUBDIR_MI_DEPS =
|
|
|
|
SUBDIR_MI_INITS = \
|
2002-02-10 02:45:06 +08:00
|
|
|
$(SUBDIR_MI_SRCS)
|
2000-02-23 08:25:43 +08:00
|
|
|
SUBDIR_MI_LDFLAGS=
|
|
|
|
SUBDIR_MI_CFLAGS= \
|
2000-12-21 05:24:28 +08:00
|
|
|
-DMI_OUT=1
|
2000-03-03 13:44:39 +08:00
|
|
|
SUBDIR_MI_ALL=
|
|
|
|
SUBDIR_MI_CLEAN=
|
2000-02-24 16:16:26 +08:00
|
|
|
SUBDIR_MI_INSTALL=
|
|
|
|
SUBDIR_MI_UNINSTALL=
|
2000-02-23 08:25:43 +08:00
|
|
|
|
2000-05-25 09:50:50 +08:00
|
|
|
#
|
|
|
|
# TUI sub directory definitions
|
|
|
|
#
|
|
|
|
SUBDIR_TUI_OBS = \
|
2001-07-19 04:53:35 +08:00
|
|
|
tui-file.o tui.o tuiData.o tuiSource.o tuiStack.o tuiIO.o \
|
2003-02-14 21:58:06 +08:00
|
|
|
tui-interp.o \
|
2000-05-25 09:50:50 +08:00
|
|
|
tuiGeneralWin.o tuiLayout.o tuiWin.o tuiCommand.o \
|
2001-07-29 03:45:04 +08:00
|
|
|
tuiDisassem.o tuiSourceWin.o tuiRegs.o tuiDataWin.o \
|
|
|
|
tui-out.o tui-hooks.o
|
2000-05-25 09:50:50 +08:00
|
|
|
SUBDIR_TUI_SRCS = \
|
2001-07-19 04:53:35 +08:00
|
|
|
tui/tui-file.c tui/tui.c tui/tuiData.c tui/tuiSource.c \
|
2003-02-14 21:58:06 +08:00
|
|
|
tui/tui-interp.c \
|
2000-05-25 09:50:50 +08:00
|
|
|
tui/tuiStack.c tui/tuiIO.c \
|
|
|
|
tui/tuiGeneralWin.c tui/tuiLayout.c \
|
|
|
|
tui/tuiWin.c tui/tuiCommand.c \
|
|
|
|
tui/tuiDisassem.c tui/tuiSourceWin.c \
|
2001-07-29 03:45:04 +08:00
|
|
|
tui/tuiRegs.c tui/tuiDataWin.c tui/tui-out.c tui/tui-hooks.c
|
2000-05-25 09:50:50 +08:00
|
|
|
SUBDIR_TUI_DEPS =
|
|
|
|
SUBDIR_TUI_INITS = \
|
|
|
|
$(SUBDIR_TUI_SRCS)
|
|
|
|
SUBDIR_TUI_LDFLAGS=
|
|
|
|
SUBDIR_TUI_CFLAGS= \
|
|
|
|
-DTUI=1 -I${srcdir}/tui
|
|
|
|
SUBDIR_TUI_ALL=
|
|
|
|
SUBDIR_TUI_CLEAN=
|
|
|
|
SUBDIR_TUI_INSTALL=
|
|
|
|
SUBDIR_TUI_UNINSTALL=
|
|
|
|
|
|
|
|
|
|
|
|
|
1999-04-16 09:35:26 +08:00
|
|
|
# Opcodes currently live in one of two places. Either they are in the
|
|
|
|
# opcode library, typically ../opcodes, or they are in a header file
|
|
|
|
# in INCLUDE_DIR.
|
|
|
|
# Where is the "-lopcodes" library, with (some of) the opcode tables and
|
|
|
|
# disassemblers?
|
2002-07-26 Andrew Cagney <ac131313@redhat.com>
* z8k-tdep.c: Do not include "obstack.h".
* h8300-tdep.c, h8500-tdep.c: Ditto.
* m68hc11-tdep.c, sh-tdep.c: Ditto.
* valprint.c, v850-tdep.c: Ditto.
* d10v-tdep.c, mn10300-tdep.c: Ditto.
* mn10200-tdep.c: Ditto.
* Makefile.in (z8k-tdep.o): Update dependencies.
(m68hc11-tdep.o, valprint.o): Ditto.
(v850-tdep.o, d10v-tdep.o): Ditto.
(mn10300-tdep.o, sparc-tdep.o): Ditto.
(sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
(m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
(sh_opc_h, gdb_sim_sh_h): Define.
(elf_sh_h, elf_bfd_h): Define.
(opcode_m68hc11_h): Define.
(OPCODES_SRC, OPCODES_DIR): define.
(OPCODES): Use $(OPCODES_DIR).
(gdb_sim_d10v_h): Rename sim_d10v_h.
(gdb_sim_arm_h): Rename sim_arm_h.
2002-07-30 00:34:07 +08:00
|
|
|
OPCODES_DIR = ../opcodes
|
|
|
|
OPCODES_SRC = $(srcdir)/$(OPCODES_DIR)
|
|
|
|
OPCODES = $(OPCODES_DIR)/libopcodes.a
|
1999-04-16 09:35:26 +08:00
|
|
|
# Where are the other opcode tables which only have header file
|
|
|
|
# versions?
|
|
|
|
OP_INCLUDE = $(INCLUDE_DIR)/opcode
|
|
|
|
OPCODES_CFLAGS = -I$(OP_INCLUDE)
|
|
|
|
|
|
|
|
# The simulator is usually nonexistent; targets that include one
|
|
|
|
# should set this to list all the .o or .a files to be linked in.
|
|
|
|
SIM =
|
|
|
|
|
1999-05-11 21:35:55 +08:00
|
|
|
WIN32LIBS = @WIN32LIBS@
|
|
|
|
|
2000-02-07 08:19:45 +08:00
|
|
|
# Where is the TCL library? Typically in ../tcl.
|
|
|
|
LIB_INSTALL_DIR = $(libdir)
|
|
|
|
# This variable is needed when doing dynamic linking.
|
|
|
|
LIB_RUNTIME_DIR = $(libdir)
|
2003-02-12 00:11:16 +08:00
|
|
|
TCL = @TCL_CC_SEARCH_FLAGS@ @TCL_BUILD_LIB_SPEC@
|
2000-02-07 08:19:45 +08:00
|
|
|
TCL_CFLAGS = @TCLHDIR@
|
|
|
|
GDBTKLIBS = @GDBTKLIBS@
|
|
|
|
# Extra flags that the GDBTK files need:
|
|
|
|
GDBTK_CFLAGS = @GDBTK_CFLAGS@
|
|
|
|
|
|
|
|
# Where is the TK library? Typically in ../tk.
|
|
|
|
TK = @TK_BUILD_LIB_SPEC@
|
|
|
|
TK_CFLAGS = @TKHDIR@ @TK_BUILD_INCLUDES@
|
|
|
|
|
|
|
|
# Where is Itcl? Typically in ../itcl/itcl.
|
|
|
|
ITCL_CFLAGS = @ITCLHDIR@
|
|
|
|
ITCL = @ITCLLIB@
|
|
|
|
|
|
|
|
# Where is Itk? Typically in ../itcl/itk.
|
|
|
|
ITK_CFLAGS = @ITKHDIR@
|
|
|
|
ITK = @ITKLIB@
|
|
|
|
|
|
|
|
X11_CFLAGS = @TK_XINCLUDES@
|
|
|
|
X11_LDFLAGS =
|
|
|
|
X11_LIBS =
|
|
|
|
|
|
|
|
WIN32LDAPP = @WIN32LDAPP@
|
|
|
|
|
|
|
|
LIBGUI = @LIBGUI@
|
|
|
|
GUI_CFLAGS_X = @GUI_CFLAGS_X@
|
|
|
|
IDE_CFLAGS=$(GUI_CFLAGS_X) $(IDE_CFLAGS_X)
|
2000-12-12 05:11:16 +08:00
|
|
|
|
2001-08-16 05:09:46 +08:00
|
|
|
# The version of gdbtk we're building. This should be kept
|
|
|
|
# in sync with GDBTK_VERSION and friends in gdbtk.h.
|
|
|
|
GDBTK_VERSION = 1.0
|
|
|
|
GDBTK_LIBRARY = $(datadir)/insight$(GDBTK_VERSION)
|
|
|
|
|
2001-08-17 06:47:00 +08:00
|
|
|
# Gdbtk requires an absolute path to the source directory or
|
|
|
|
# the testsuite won't run properly.
|
|
|
|
GDBTK_SRC_DIR = @GDBTK_SRC_DIR@
|
|
|
|
|
2000-12-12 05:11:16 +08:00
|
|
|
SUBDIR_GDBTK_OBS = \
|
2003-02-19 07:27:42 +08:00
|
|
|
gdbtk.o gdbtk-bp.o gdbtk-cmds.o gdbtk-hooks.o gdbtk-interp.o \
|
2001-05-11 02:02:58 +08:00
|
|
|
gdbtk-register.o gdbtk-stack.o gdbtk-varobj.o gdbtk-wrapper.o
|
2000-12-12 05:11:16 +08:00
|
|
|
SUBDIR_GDBTK_SRCS = \
|
2001-05-11 02:02:58 +08:00
|
|
|
gdbtk/generic/gdbtk.c gdbtk/generic/gdbtk-bp.c \
|
2003-02-19 07:27:42 +08:00
|
|
|
gdbtk/generic/gdbtk-cmds.c gdbtk/generic/gdbtk-hooks.c gdbtk-interp.c \
|
2001-05-11 02:02:58 +08:00
|
|
|
gdbtk/generic/gdbtk-register.c gdbtk/generic/gdbtk-stack.c \
|
2002-09-27 01:46:04 +08:00
|
|
|
gdbtk/generic/gdbtk-varobj.c gdbtk/generic/gdbtk-wrapper.c \
|
|
|
|
gdbtk/generic/gdbtk-main.c
|
2000-12-12 05:11:16 +08:00
|
|
|
SUBDIR_GDBTK_DEPS = \
|
2002-11-28 03:13:10 +08:00
|
|
|
$(LIBGUI) $(ITCL_DEPS) $(ITK_DEPS) $(TK_DEPS) $(TCL_DEPS)
|
2003-02-19 07:27:42 +08:00
|
|
|
SUBDIR_GDBTK_INITS = gdbtk/generic/gdbtk.c gdbtk/generic/gdbtk-interp.c
|
2000-12-12 05:11:16 +08:00
|
|
|
SUBDIR_GDBTK_LDFLAGS=
|
|
|
|
SUBDIR_GDBTK_CFLAGS= -DGDBTK
|
2002-09-27 01:46:04 +08:00
|
|
|
SUBDIR_GDBTK_ALL= all-gdbtk
|
|
|
|
SUBDIR_GDBTK_CLEAN= clean-gdbtk
|
2000-02-24 16:16:26 +08:00
|
|
|
SUBDIR_GDBTK_INSTALL= install-gdbtk
|
2002-09-27 01:46:04 +08:00
|
|
|
SUBDIR_GDBTK_UNINSTALL= uninstall-gdbtk
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2000-02-23 08:25:43 +08:00
|
|
|
CONFIG_OBS= @CONFIG_OBS@
|
2000-12-22 00:16:17 +08:00
|
|
|
CONFIG_LIB_OBS= @CONFIG_LIB_OBS@
|
2000-02-23 08:25:43 +08:00
|
|
|
CONFIG_SRCS= @CONFIG_SRCS@
|
|
|
|
CONFIG_DEPS= @CONFIG_DEPS@
|
|
|
|
CONFIG_INITS= @CONFIG_INITS@
|
|
|
|
CONFIG_LDFLAGS = @CONFIG_LDFLAGS@
|
1999-04-16 09:35:26 +08:00
|
|
|
ENABLE_CFLAGS= @ENABLE_CFLAGS@
|
2000-03-03 13:44:39 +08:00
|
|
|
CONFIG_ALL= @CONFIG_ALL@
|
|
|
|
CONFIG_CLEAN= @CONFIG_CLEAN@
|
|
|
|
CONFIG_CLEAN= @CONFIG_CLEAN@
|
2000-02-24 16:16:26 +08:00
|
|
|
CONFIG_INSTALL = @CONFIG_INSTALL@
|
|
|
|
CONFIG_UNINSTALL = @CONFIG_UNINSTALL@
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# -I. for config files.
|
2001-09-02 05:38:05 +08:00
|
|
|
# -I$(srcdir) for gdb internal headers.
|
1999-04-16 09:35:26 +08:00
|
|
|
# -I$(srcdir)/config for more generic config files.
|
|
|
|
|
|
|
|
# It is also possible that you will need to add -I/usr/include/sys if
|
|
|
|
# your system doesn't have fcntl.h in /usr/include (which is where it
|
|
|
|
# should be according to Posix).
|
|
|
|
DEFS = @DEFS@
|
2002-06-22 07:48:41 +08:00
|
|
|
GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config -DLOCALEDIR="\"$(prefix)/share/locale\"" $(DEFS)
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# M{H,T}_CFLAGS, if defined, have host- and target-dependent CFLAGS
|
|
|
|
# from the config directory.
|
|
|
|
GLOBAL_CFLAGS = $(MT_CFLAGS) $(MH_CFLAGS)
|
2003-01-23 07:50:35 +08:00
|
|
|
|
|
|
|
PROFILE_CFLAGS = @PROFILE_CFLAGS@
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# CFLAGS is specifically reserved for setting from the command line
|
|
|
|
# when running make. I.E. "make CFLAGS=-Wmissing-prototypes".
|
2000-04-07 16:57:39 +08:00
|
|
|
CFLAGS = @CFLAGS@
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# Need to pass this to testsuite for "make check". Probably should be
|
|
|
|
# consistent with top-level Makefile.in and gdb/testsuite/Makefile.in
|
|
|
|
# so "make check" has the same result no matter where it is run.
|
|
|
|
CXXFLAGS = -g -O
|
|
|
|
|
|
|
|
# INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
|
1999-08-31 09:14:27 +08:00
|
|
|
INTERNAL_WARN_CFLAGS = \
|
|
|
|
$(CFLAGS) $(GLOBAL_CFLAGS) $(PROFILE_CFLAGS) \
|
1999-04-16 09:35:26 +08:00
|
|
|
$(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
|
|
|
|
$(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS) \
|
2003-01-03 04:29:15 +08:00
|
|
|
$(INTL_CFLAGS) $(ENABLE_CFLAGS) \
|
2000-04-11 09:21:15 +08:00
|
|
|
$(GDB_WARN_CFLAGS)
|
1999-09-09 08:02:17 +08:00
|
|
|
INTERNAL_CFLAGS = $(INTERNAL_WARN_CFLAGS) $(GDB_WERROR_CFLAGS)
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# LDFLAGS is specifically reserved for setting from the command line
|
|
|
|
# when running make.
|
2002-08-21 05:32:18 +08:00
|
|
|
LDFLAGS = @LDFLAGS@
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# Profiling options need to go here to work.
|
|
|
|
# I think it's perfectly reasonable for a user to set -pg in CFLAGS
|
|
|
|
# and have it work; that's why CFLAGS is here.
|
2003-01-23 07:50:35 +08:00
|
|
|
# PROFILE_CFLAGS is _not_ included, however, because we use monstartup.
|
|
|
|
INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_LDFLAGS)
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# If your system is missing alloca(), or, more likely, it's there but
|
|
|
|
# it doesn't work, then refer to libiberty.
|
|
|
|
|
|
|
|
# Libraries and corresponding dependencies for compiling gdb.
|
|
|
|
# {X,T}M_CLIBS, defined in *config files, have host- and target-dependent libs.
|
|
|
|
# MMALLOC comes after anything else that might want an allocation function.
|
|
|
|
# LIBIBERTY appears twice on purpose.
|
|
|
|
# If you have the Cygnus libraries installed,
|
|
|
|
# you can use 'CLIBS=$(INSTALLED_LIBS)' 'CDEPS='
|
|
|
|
INSTALLED_LIBS=-lbfd -lreadline -lopcodes -liberty \
|
2003-01-03 00:54:56 +08:00
|
|
|
$(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
|
1999-04-16 09:35:26 +08:00
|
|
|
-lmmalloc -lintl -liberty
|
|
|
|
CLIBS = $(SIM) $(BFD) $(READLINE) $(OPCODES) $(INTL) $(LIBIBERTY) \
|
2003-01-03 00:54:56 +08:00
|
|
|
$(XM_CLIBS) $(TM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ \
|
2002-09-20 08:24:01 +08:00
|
|
|
$(LIBICONV) \
|
1999-04-16 09:35:26 +08:00
|
|
|
$(MMALLOC) $(LIBIBERTY) $(WIN32LIBS)
|
|
|
|
CDEPS = $(XM_CDEPS) $(TM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE) \
|
2000-02-23 08:25:43 +08:00
|
|
|
$(OPCODES) $(MMALLOC) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS)
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2001-09-02 05:38:05 +08:00
|
|
|
ADD_FILES = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
|
|
|
|
ADD_DEPS = $(XM_ADD_FILES) $(TM_ADD_FILES) $(NAT_ADD_FILES)
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
DIST=gdb
|
|
|
|
|
|
|
|
LINT=/usr/5bin/lint
|
2001-03-07 10:57:08 +08:00
|
|
|
LINTFLAGS= $(GDB_CFLAGS) $(OPCODES_CFLAGS) $(READLINE_CFLAGS) \
|
|
|
|
$(BFD_CFLAGS) $(MMALLOC_CFLAGS) $(INCLUDE_CFLAGS) \
|
|
|
|
$(INTL_CFLAGS)
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
RUNTEST = `if [ -f $${rootsrc}/../dejagnu/runtest ] ; then \
|
|
|
|
echo $${rootsrc}/../dejagnu/runtest ; else echo runtest; \
|
|
|
|
fi`
|
|
|
|
|
|
|
|
RUNTESTFLAGS=
|
|
|
|
|
|
|
|
# This is ser-unix.o for any system which supports a v7/BSD/SYSV/POSIX
|
|
|
|
# interface to the serial port. Hopefully if get ported to OS/2, VMS,
|
|
|
|
# etc., then there will be (as part of the C library or perhaps as
|
|
|
|
# part of libiberty) a POSIX interface. But at least for now the
|
|
|
|
# host-dependent makefile fragment might need to use something else
|
|
|
|
# besides ser-unix.o
|
2000-08-04 17:27:18 +08:00
|
|
|
SER_HARDWIRE = @SER_HARDWIRE@
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# The `remote' debugging target is supported for most architectures,
|
|
|
|
# but not all (e.g. 960)
|
2003-06-10 22:37:04 +08:00
|
|
|
REMOTE_OBS = remote.o dcache.o remote-utils.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# This is remote-sim.o if a simulator is to be linked in.
|
|
|
|
SIM_OBS =
|
|
|
|
|
|
|
|
ANNOTATE_OBS = annotate.o
|
|
|
|
|
|
|
|
# Host and target-dependent makefile fragments come in here.
|
|
|
|
@host_makefile_frag@
|
|
|
|
@target_makefile_frag@
|
|
|
|
# End of host and target-dependent makefile fragments
|
|
|
|
|
1999-04-27 02:34:20 +08:00
|
|
|
# Possibly ignore the simulator. If the simulator is being ignored,
|
|
|
|
# these expand into SIM= and SIM_OBJ=, overriding the entries from
|
|
|
|
# target_makefile_frag
|
|
|
|
#
|
|
|
|
@IGNORE_SIM@
|
|
|
|
@IGNORE_SIM_OBS@
|
|
|
|
|
1999-04-16 09:35:26 +08:00
|
|
|
FLAGS_TO_PASS = \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"exec_prefix=$(exec_prefix)" \
|
2000-08-04 17:27:18 +08:00
|
|
|
"infodir=$(infodir)" \
|
2002-04-23 04:19:52 +08:00
|
|
|
"libdir=$(libdir)" \
|
|
|
|
"mandir=$(mandir)" \
|
|
|
|
"datadir=$(datadir)" \
|
|
|
|
"includedir=$(includedir)" \
|
1999-04-16 09:35:26 +08:00
|
|
|
"against=$(against)" \
|
2003-08-09 01:30:37 +08:00
|
|
|
"DESTDIR=$(DESTDIR)" \
|
1999-04-16 09:35:26 +08:00
|
|
|
"AR=$(AR)" \
|
|
|
|
"AR_FLAGS=$(AR_FLAGS)" \
|
|
|
|
"CC=$(CC)" \
|
|
|
|
"CFLAGS=$(CFLAGS)" \
|
|
|
|
"CXX=$(CXX)" \
|
|
|
|
"CXXFLAGS=$(CXXFLAGS)" \
|
|
|
|
"DLLTOOL=$(DLLTOOL)" \
|
2003-03-06 02:07:15 +08:00
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
1999-04-16 09:35:26 +08:00
|
|
|
"RANLIB=$(RANLIB)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1999-06-29 00:06:02 +08:00
|
|
|
"MAKEHTML=$(MAKEHTML)" \
|
|
|
|
"MAKEHTMLFLAGS=$(MAKEHTMLFLAGS)" \
|
1999-04-16 09:35:26 +08:00
|
|
|
"INSTALL=$(INSTALL)" \
|
|
|
|
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
|
|
|
|
"INSTALL_DATA=$(INSTALL_DATA)" \
|
|
|
|
"RUNTEST=$(RUNTEST)" \
|
|
|
|
"RUNTESTFLAGS=$(RUNTESTFLAGS)"
|
|
|
|
|
|
|
|
# Flags that we pass when building the testsuite.
|
|
|
|
|
|
|
|
# empty for native, $(target_alias)/ for cross
|
|
|
|
target_subdir = @target_subdir@
|
|
|
|
|
|
|
|
CC_FOR_TARGET = ` \
|
|
|
|
if [ -f $${rootme}/../gcc/xgcc ] ; then \
|
|
|
|
if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \
|
|
|
|
echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/$(target_subdir)newlib/targ-include -idirafter $${rootsrc}/../$(target_subdir)newlib/libc/include -nostdinc -B$${rootme}/../$(target_subdir)newlib/; \
|
|
|
|
else \
|
|
|
|
echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
|
|
|
|
fi; \
|
|
|
|
else \
|
|
|
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
|
|
|
echo $(CC); \
|
|
|
|
else \
|
|
|
|
t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
|
|
|
|
fi; \
|
|
|
|
fi`
|
|
|
|
|
|
|
|
CXX = gcc
|
|
|
|
CXX_FOR_TARGET = ` \
|
|
|
|
if [ -f $${rootme}/../gcc/xgcc ] ; then \
|
|
|
|
if [ -f $${rootme}/../$(target_subdir)newlib/Makefile ] ; then \
|
|
|
|
echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/ -idirafter $${rootme}/$(target_subdir)newlib/targ-include -idirafter $${rootsrc}/../$(target_subdir)newlib/libc/include -nostdinc -B$${rootme}/../$(target_subdir)newlib/; \
|
|
|
|
else \
|
|
|
|
echo $${rootme}/../gcc/xgcc -B$${rootme}/../gcc/; \
|
|
|
|
fi; \
|
|
|
|
else \
|
|
|
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
|
|
|
echo $(CXX); \
|
|
|
|
else \
|
|
|
|
t='$(program_transform_name)'; echo gcc | sed -e '' $$t; \
|
|
|
|
fi; \
|
|
|
|
fi`
|
|
|
|
|
|
|
|
# The use of $$(x_FOR_TARGET) reduces the command line length by not
|
|
|
|
# duplicating the lengthy definition.
|
|
|
|
TARGET_FLAGS_TO_PASS = \
|
|
|
|
"prefix=$(prefix)" \
|
|
|
|
"exec_prefix=$(exec_prefix)" \
|
|
|
|
"against=$(against)" \
|
|
|
|
'CC=$$(CC_FOR_TARGET)' \
|
|
|
|
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
|
|
|
|
"CFLAGS=$(CFLAGS)" \
|
|
|
|
'CXX=$$(CXX_FOR_TARGET)' \
|
|
|
|
"CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
|
|
|
|
"CXXFLAGS=$(CXXFLAGS)" \
|
|
|
|
"INSTALL=$(INSTALL)" \
|
|
|
|
"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
|
|
|
|
"INSTALL_DATA=$(INSTALL_DATA)" \
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
1999-06-29 00:06:02 +08:00
|
|
|
"MAKEHTML=$(MAKEHTML)" \
|
1999-04-16 09:35:26 +08:00
|
|
|
"RUNTEST=$(RUNTEST)" \
|
|
|
|
"RUNTESTFLAGS=$(RUNTESTFLAGS)"
|
|
|
|
|
|
|
|
# All source files that go into linking GDB.
|
|
|
|
# Links made at configuration time should not be specified here, since
|
|
|
|
# SFILES is used in building the distribution archive.
|
|
|
|
|
2002-08-19 18:52:20 +08:00
|
|
|
SFILES = ada-exp.y ada-lang.c ada-typeprint.c ada-valprint.c ada-tasks.c \
|
2002-09-30 23:57:26 +08:00
|
|
|
ax-general.c ax-gdb.c \
|
2003-11-01 03:19:51 +08:00
|
|
|
bcache.c \
|
|
|
|
bfd-target.c \
|
|
|
|
block.c blockframe.c breakpoint.c buildsym.c \
|
2002-09-30 23:57:26 +08:00
|
|
|
c-exp.y c-lang.c c-typeprint.c c-valprint.c \
|
2003-02-20 11:12:46 +08:00
|
|
|
charset.c cli-out.c coffread.c coff-pe-read.c \
|
|
|
|
complaints.c completer.c corefile.c \
|
2003-04-15 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add cp-namespace.c.
(COMMON_OBS): Add cp-namespace.o.
(block.o): Depend on gdb_obstack_h and cp_support_h.
(buildsym.o): Depend on cp_support_h.
(cp-namespace.o): New.
(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
(dwarf2read.o): Depend on cp_support_h.
* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
* dwarf2read.c (process_die): Set processing_has_namespace_info,
processing_current_namespace.
(read_namespace): Update processing_current_namespace; check for
anonymous namespaces.
(dwarf2_name): New function.
(dwarf2_extension): Ditto.
* cp-support.h: Update copyright, contributors.
Add inclusion guards.
Add opaque declaration for structs obstack, block, symbol.
(struct using_direct): New struct.
Add declarations for cp_find_first_component,
cp_entire_prefix_len, processing_has_namespace_info,
processing_current_namespace, cp_is_anonymous,
cp_add_using_directive, cp_initialize_namespace,
cp_finalize_namespace, cp_set_block_scope,
cp_scan_for_anonymous_namespaces.
* cp-namespace.c: New file.
* cp-support.c: Update copyright.
Include ctype.h, gdb_assert.h, gdbcmd.h.
New variable maint_cplus_cmd_list.
(cp_find_first_component): New function.
(cp_entire_prefix_len, maint_cplus_command)
(first_component_command, _initialize_cp_support): Ditto.
* buildsym.c: Include cp-support.h.
New variable using_list.
(add_symbol_to_list): Check for anonymous namespaces.
(finish_block): Set block's scope.
(start_symtab): Initialize C++ namespace support.
(end_symtab): Finalize C++ namespace support.
* block.h: Add opaque declarations for structs
block_namespace_info, using_direct, and obstack.
Add declarations for block_set_scope and block_set_using.
(struct block): Add 'language_specific' member.
(BLOCK_NAMESPACE): New macro.
* block.c: Include gdb_obstack.h and cp-support.h.
(struct block_namespace_info): New struct.
(block_set_scope): New function.
(block_set_using, block_initialize_namespace): Ditto.
2003-04-15 David Carlton <carlton@math.stanford.edu>
* gdb.c++/maint.exp: New file.
2003-04-16 07:07:11 +08:00
|
|
|
cp-abi.c cp-support.c cp-namespace.c cp-valprint.c \
|
2003-06-11 David Carlton <carlton@bactrian.org>
* dictionary.h: New.
* dictionary.c: New.
* block.h: Add opaque declaration for struct dictionary.
(struct block): Add 'dict' member; delete 'hashtable', 'nsyms',
'sym' members.
(BLOCK_DICT): New macro.
Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM,
BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE,
BLOCK_SHOULD_SORT.
(ALL_BLOCK_SYMBOLS): Update definition.
* Makefile.in (SFILES): Add dictionary.c.
(dictionary_h): New.
(COMMON_OBS): Add dictionary.o.
(dictionary.o): New.
(ada-lang.o): Depend on dictionary_h.
(buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o)
(stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o)
(mi-cmd-stack.o): Ditto.
(gdbtk-cmds.o): Update dependencies.
(gdbtk-stack.o): Ditto.
* ada-lang.c: Include dictionary.h.
(symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS.
(fill_in_ada_prototype, debug_print_block): Ditto.
(ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace
explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable
'is_sorted'.
* mdebugread.c: Include dictionary.h.
(struct parse_stack): Delete 'maxsyms' member.
(parse_symbol): Update calls to new_block. Delete calls to
shrink_block. Use dictionary methods.
(psymtab_to_symtab_1): Delete calls to sort_symtab_syms.
Update calls to new_symtab. Don't maintain maxsyms data.
(mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS.
(add_symbol): Just call dict_add_symbol.
(new_symtab): Delete 'maxsyms' argument.
(new_symtab): Update calls to new_block.
(new_block): Delete 'maxsyms' argument; add 'function' argument.
(shrink_block): Delete function.
(fixup_sigtramp): Update call to new_block. Add symbol via
dict_add_symbol.
* jv-lang.c: Include dictionary.h.
(get_java_class_symtab): Set the BLOCK_DICT of the blocks
appropriately. Set class_symtab->free_func. Make sure the
blockvector is big enough to hold two blocks.
(add_class_symtab_symbol): Use dictionary methods.
(free_class_block): New function.
(type_from_class): Replace explicit iteration by
ALL_BLOCK_SYMBOLS.
* symtab.h (struct symtab): Replace 'free_ptr' method by
'free_func'.
* dwarf2read.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* dwarfread.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* coffread.c (coff_symfile_read): Delete call to sort_symtab_syms.
Include dictionary.h.
(patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS.
* dbxread.c (dbx_psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* objfiles.c: Include dictionary.h.
(objfile_relocate): Update use of ALL_BLOCK_SYMBOLS.
* buildsym.c: Include dictionary.h.
(finish_block): Use dictionary methods.
(end_symtab): Set free_func to NULL, not free_ptr.
* tracepoint.c: Include dictionary.h.
(add_local_symbols): Update use of ALL_BLOCK_SYMBOLS.
(scope_info): Ditto.
* stack.c: Include dictionary.h.
(print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS.
(print_block_frame_labels, print_frame_arg_vars)
(print_frame_args): Ditto.
* symmisc.c (free_symtab_block): Use dictionary methods.
(dump_symtab): Ditto.
(free_symtab): Replace use of 'free_ptr' by 'free_func'.
Include dictionary.h.
* symfile.h: Delete declarations of sort_block_syms,
sort_symtab_syms.
* symfile.c (sort_block_syms): Delete.
(sort_symtab_syms): Delete.
* symtab.c: Include dictionary.h.
(lookup_block_symbol): Use dictionary iterators.
(find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS.
(search_symbols, make_symbol_completion_list): Ditto.
(make_symbol_overload_list): Ditto.
* valops.c (value_of_local): Use dict_empty.
Include dictionary.h.
2003-06-11 David Carlton <carlton@bactrian.org>
* generic/gdbtk-stack.c: Include dictionary.h.
(gdb_block_vars): Update use of ALL_BLOCK_SYMBOLS.
(gdb_get_blocks, gdb_get_vars_command): Ditto.
* generic/gdbtk-cmds.c: Include dictionary.h.
(gdb_listfuncs): Update use of ALL_BLOCK_SYMBOLS.
2003-06-11 David Carlton <carlton@bactrian.org>
* mi-cmd-stack.c: Include dictionary.h.
(list_args_or_locals): Update use of ALL_BLOCK_SYMBOLS.
2003-06-12 07:29:49 +08:00
|
|
|
dbxread.c demangle.c dictionary.c disasm.c doublest.c dummy-frame.c \
|
2003-06-01 03:18:05 +08:00
|
|
|
dwarfread.c dwarf2expr.c dwarf2loc.c dwarf2read.c dwarf2-frame.c \
|
2002-09-30 23:57:26 +08:00
|
|
|
elfread.c environ.c eval.c event-loop.c event-top.c expprint.c \
|
|
|
|
f-exp.y f-lang.c f-typeprint.c f-valprint.c findvar.c frame.c \
|
2003-04-02 03:11:01 +08:00
|
|
|
frame-base.c \
|
2003-01-18 Andrew Cagney <ac131313@redhat.com>
* dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
(struct frame_unwind): Declare opaque.
(dummy_frame_p): Declare function.
* dummy-frame.c (dummy_frame_id_unwind): Make static.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
* dummy-frame.c: Include "frame-unwind.h".
(dummy_frame_p): New function.
(dummy_frame_unwind): New variable.
* frame.c: Include "frame-unwind.h".
(frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
to use the new unwind field.
(set_unwind_by_pc): Delete function.
(create_new_frame, get_prev_frame): Set unwind field using
frame_unwind_find_by_pc.
(trad_frame_unwind, trad_frame_unwinder): New variables.
* frame.h (trad_frame_unwind): Declare variable.
(frame_id_unwind_ftype): Delete declaration.
(frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
(struct frame_unwind): Declare opaque.
(struct frame_info): Replace the fields id_unwind, pc_unwind and
register_unwind with a single unwind pointer.
* frame-unwind.h, frame-unwind.c: New files.
* Makefile.in (SFILES): Add frame-unwind.c.
(frame_unwind_h): Define.
(COMMON_OBS): Add frame-unwind.o.
(frame-unwind.o): Specify dependencies.
(frame.o, dummy-frame.o): Update dependencies.
2003-01-19 01:25:23 +08:00
|
|
|
frame-unwind.c \
|
2002-09-30 23:57:26 +08:00
|
|
|
gdbarch.c arch-utils.c gdbtypes.c gnu-v2-abi.c gnu-v3-abi.c \
|
|
|
|
hpacc-abi.c \
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.
2003-04-22 00:48:41 +08:00
|
|
|
inf-loop.c \
|
|
|
|
infcall.c \
|
|
|
|
infcmd.c inflow.c infrun.c \
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
interps.c \
|
1999-04-16 09:35:26 +08:00
|
|
|
jv-exp.y jv-lang.c jv-valprint.c jv-typeprint.c \
|
2002-09-30 23:57:26 +08:00
|
|
|
kod.c kod-cisco.c \
|
|
|
|
language.c linespec.c \
|
|
|
|
m2-exp.y m2-lang.c m2-typeprint.c m2-valprint.c \
|
|
|
|
macrotab.c macroexp.c macrocmd.c macroscope.c main.c maint.c \
|
|
|
|
mdebugread.c memattr.c mem-break.c minsyms.c mipsread.c \
|
|
|
|
nlmread.c \
|
2002-11-19 23:17:50 +08:00
|
|
|
objc-exp.y objc-lang.c \
|
2003-03-01 01:14:16 +08:00
|
|
|
objfiles.c osabi.c observer.c \
|
2002-09-30 23:57:26 +08:00
|
|
|
p-exp.y p-lang.c p-typeprint.c p-valprint.c parse.c printcmd.c \
|
2003-06-10 22:37:04 +08:00
|
|
|
regcache.c reggroups.c remote.c remote-fileio.c \
|
2003-01-28 05:41:41 +08:00
|
|
|
scm-exp.c scm-lang.c scm-valprint.c \
|
|
|
|
sentinel-frame.c \
|
|
|
|
serial.c ser-unix.c source.c \
|
2002-09-30 23:57:26 +08:00
|
|
|
stabsread.c stack.c std-regs.c symfile.c symmisc.c symtab.c \
|
2003-06-09 00:09:46 +08:00
|
|
|
target.c thread.c top.c tracepoint.c \
|
|
|
|
trad-frame.c \
|
|
|
|
typeprint.c \
|
1999-04-16 09:35:26 +08:00
|
|
|
tui/tui.c tui/tui.h tui/tuiCommand.c tui/tuiCommand.h \
|
|
|
|
tui/tuiData.c tui/tuiData.h tui/tuiDataWin.c tui/tuiDataWin.h \
|
|
|
|
tui/tuiDisassem.c tui/tuiDisassem.h tui/tuiGeneralWin.c \
|
|
|
|
tui/tuiGeneralWin.h tui/tuiIO.c tui/tuiIO.h tui/tuiLayout.c \
|
|
|
|
tui/tuiLayout.h tui/tuiRegs.c tui/tuiRegs.h tui/tuiSource.c \
|
|
|
|
tui/tuiSource.h tui/tuiSourceWin.c tui/tuiSourceWin.h \
|
2000-02-01 11:19:29 +08:00
|
|
|
tui/tuiStack.c tui/tuiStack.h tui/tuiWin.c tui/tuiWin.h \
|
2001-07-29 03:45:04 +08:00
|
|
|
tui/tui-file.h tui/tui-file.c tui/tui-out.c tui/tui-hooks.c \
|
2002-09-30 23:57:26 +08:00
|
|
|
ui-out.c utils.c ui-file.h ui-file.c \
|
2003-07-07 22:36:58 +08:00
|
|
|
user-regs.c \
|
2002-09-30 23:57:26 +08:00
|
|
|
valarith.c valops.c valprint.c values.c varobj.c \
|
|
|
|
wrapper.c
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2000-02-23 08:25:43 +08:00
|
|
|
LINTFILES = $(SFILES) $(YYFILES) $(CONFIG_SRCS) init.c
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# "system" headers. Using these in dependencies is a rather personal
|
|
|
|
# choice. (-rich, summer 1993)
|
|
|
|
# (Why would we not want to depend on them? If one of these changes in a
|
|
|
|
# non-binary-compatible way, it is a real pain to remake the right stuff
|
|
|
|
# without these dependencies -kingdon, 13 Mar 1994)
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
aout_aout64_h = $(INCLUDE_DIR)/aout/aout64.h
|
2002-07-30 Andrew Cagney <ac131313@redhat.com>
* symtab.h: Replace #include "gdb_obstack.h" with opaque
declaration.
* cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h".
* gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto.
* avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto.
* arch-utils.c, cli/cli-setshow.c: Unconditionally include
"gdb_string.h".
* Makefile.in (cli-script.o, cli-cmds.o): Update dependencies.
(gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto.
(cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto.
(avr-tdep.o, mon960-rom.o): Ditto.
(aout_stabs_gnu_h): Define.
(symtab_h): Remove $(gdb_obstack_h).
2002-07-30 21:45:15 +08:00
|
|
|
aout_stabs_gnu_h = $(INCLUDE_DIR)/aout/stabs_gnu.h
|
1999-04-16 09:35:26 +08:00
|
|
|
getopt_h = $(INCLUDE_DIR)/getopt.h
|
|
|
|
floatformat_h = $(INCLUDE_DIR)/floatformat.h
|
|
|
|
bfd_h = $(BFD_DIR)/bfd.h
|
2002-06-09 23:45:54 +08:00
|
|
|
callback_h = $(INCLUDE_DIR)/gdb/callback.h
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
coff_sym_h = $(INCLUDE_DIR)/coff/sym.h
|
|
|
|
coff_symconst_h = $(INCLUDE_DIR)/coff/symconst.h
|
|
|
|
coff_ecoff_h = $(INCLUDE_DIR)/coff/ecoff.h
|
2003-03-22 22:42:54 +08:00
|
|
|
coff_internal_h = $(INCLUDE_DIR)/coff/internal.h
|
2003-09-18 05:34:29 +08:00
|
|
|
dis_asm_h = $(INCLUDE_DIR)/dis-asm.h $(bfd_h)
|
2003-03-22 22:54:58 +08:00
|
|
|
elf_reloc_macros_h = $(INCLUDE_DIR)/elf/reloc-macros.h
|
2002-07-26 Andrew Cagney <ac131313@redhat.com>
* z8k-tdep.c: Do not include "obstack.h".
* h8300-tdep.c, h8500-tdep.c: Ditto.
* m68hc11-tdep.c, sh-tdep.c: Ditto.
* valprint.c, v850-tdep.c: Ditto.
* d10v-tdep.c, mn10300-tdep.c: Ditto.
* mn10200-tdep.c: Ditto.
* Makefile.in (z8k-tdep.o): Update dependencies.
(m68hc11-tdep.o, valprint.o): Ditto.
(v850-tdep.o, d10v-tdep.o): Ditto.
(mn10300-tdep.o, sparc-tdep.o): Ditto.
(sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
(m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
(sh_opc_h, gdb_sim_sh_h): Define.
(elf_sh_h, elf_bfd_h): Define.
(opcode_m68hc11_h): Define.
(OPCODES_SRC, OPCODES_DIR): define.
(OPCODES): Use $(OPCODES_DIR).
(gdb_sim_d10v_h): Rename sim_d10v_h.
(gdb_sim_arm_h): Rename sim_arm_h.
2002-07-30 00:34:07 +08:00
|
|
|
elf_sh_h = $(INCLUDE_DIR)/elf/sh.h
|
2003-03-22 22:54:58 +08:00
|
|
|
elf_arm_h = $(INCLUDE_DIR)/elf/arm.h $(elf_reloc_macros_h)
|
2002-07-26 Andrew Cagney <ac131313@redhat.com>
* z8k-tdep.c: Do not include "obstack.h".
* h8300-tdep.c, h8500-tdep.c: Ditto.
* m68hc11-tdep.c, sh-tdep.c: Ditto.
* valprint.c, v850-tdep.c: Ditto.
* d10v-tdep.c, mn10300-tdep.c: Ditto.
* mn10200-tdep.c: Ditto.
* Makefile.in (z8k-tdep.o): Update dependencies.
(m68hc11-tdep.o, valprint.o): Ditto.
(v850-tdep.o, d10v-tdep.o): Ditto.
(mn10300-tdep.o, sparc-tdep.o): Ditto.
(sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
(m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
(sh_opc_h, gdb_sim_sh_h): Define.
(elf_sh_h, elf_bfd_h): Define.
(opcode_m68hc11_h): Define.
(OPCODES_SRC, OPCODES_DIR): define.
(OPCODES): Use $(OPCODES_DIR).
(gdb_sim_d10v_h): Rename sim_d10v_h.
(gdb_sim_arm_h): Rename sim_arm_h.
2002-07-30 00:34:07 +08:00
|
|
|
elf_bfd_h = $(BFD_SRC)/elf-bfd.h
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
libaout_h = $(BFD_SRC)/libaout.h
|
2003-04-12 08:31:30 +08:00
|
|
|
libbfd_h = $(BFD_SRC)/libbfd.h
|
2002-06-09 23:45:54 +08:00
|
|
|
remote_sim_h = $(INCLUDE_DIR)/gdb/remote-sim.h
|
2001-03-21 05:23:38 +08:00
|
|
|
demangle_h = $(INCLUDE_DIR)/demangle.h
|
2001-05-09 13:23:24 +08:00
|
|
|
obstack_h = $(INCLUDE_DIR)/obstack.h
|
2002-07-26 Andrew Cagney <ac131313@redhat.com>
* z8k-tdep.c: Do not include "obstack.h".
* h8300-tdep.c, h8500-tdep.c: Ditto.
* m68hc11-tdep.c, sh-tdep.c: Ditto.
* valprint.c, v850-tdep.c: Ditto.
* d10v-tdep.c, mn10300-tdep.c: Ditto.
* mn10200-tdep.c: Ditto.
* Makefile.in (z8k-tdep.o): Update dependencies.
(m68hc11-tdep.o, valprint.o): Ditto.
(v850-tdep.o, d10v-tdep.o): Ditto.
(mn10300-tdep.o, sparc-tdep.o): Ditto.
(sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
(m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
(sh_opc_h, gdb_sim_sh_h): Define.
(elf_sh_h, elf_bfd_h): Define.
(opcode_m68hc11_h): Define.
(OPCODES_SRC, OPCODES_DIR): define.
(OPCODES): Use $(OPCODES_DIR).
(gdb_sim_d10v_h): Rename sim_d10v_h.
(gdb_sim_arm_h): Rename sim_arm_h.
2002-07-30 00:34:07 +08:00
|
|
|
opcode_m68hc11_h = $(INCLUDE_DIR)/opcode/m68hc11.h
|
2002-12-09 09:28:10 +08:00
|
|
|
readline_h = $(READLINE_SRC)/readline.h
|
2003-11-01 09:42:48 +08:00
|
|
|
frv_desc_h = $(OPCODES_SRC)/frv-desc.h
|
2002-07-26 Andrew Cagney <ac131313@redhat.com>
* z8k-tdep.c: Do not include "obstack.h".
* h8300-tdep.c, h8500-tdep.c: Ditto.
* m68hc11-tdep.c, sh-tdep.c: Ditto.
* valprint.c, v850-tdep.c: Ditto.
* d10v-tdep.c, mn10300-tdep.c: Ditto.
* mn10200-tdep.c: Ditto.
* Makefile.in (z8k-tdep.o): Update dependencies.
(m68hc11-tdep.o, valprint.o): Ditto.
(v850-tdep.o, d10v-tdep.o): Ditto.
(mn10300-tdep.o, sparc-tdep.o): Ditto.
(sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
(m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
(sh_opc_h, gdb_sim_sh_h): Define.
(elf_sh_h, elf_bfd_h): Define.
(opcode_m68hc11_h): Define.
(OPCODES_SRC, OPCODES_DIR): define.
(OPCODES): Use $(OPCODES_DIR).
(gdb_sim_d10v_h): Rename sim_d10v_h.
(gdb_sim_arm_h): Rename sim_arm_h.
2002-07-30 00:34:07 +08:00
|
|
|
sh_opc_h = $(OPCODES_SRC)/sh-opc.h
|
|
|
|
gdb_sim_arm_h = $(INCLUDE_DIR)/gdb/sim-arm.h
|
|
|
|
gdb_sim_d10v_h = $(INCLUDE_DIR)/gdb/sim-d10v.h
|
2003-11-01 09:42:48 +08:00
|
|
|
gdb_sim_frv_h = $(INCLUDE_DIR)/gdb/sim-frv.h
|
2002-07-26 Andrew Cagney <ac131313@redhat.com>
* z8k-tdep.c: Do not include "obstack.h".
* h8300-tdep.c, h8500-tdep.c: Ditto.
* m68hc11-tdep.c, sh-tdep.c: Ditto.
* valprint.c, v850-tdep.c: Ditto.
* d10v-tdep.c, mn10300-tdep.c: Ditto.
* mn10200-tdep.c: Ditto.
* Makefile.in (z8k-tdep.o): Update dependencies.
(m68hc11-tdep.o, valprint.o): Ditto.
(v850-tdep.o, d10v-tdep.o): Ditto.
(mn10300-tdep.o, sparc-tdep.o): Ditto.
(sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
(m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
(sh_opc_h, gdb_sim_sh_h): Define.
(elf_sh_h, elf_bfd_h): Define.
(opcode_m68hc11_h): Define.
(OPCODES_SRC, OPCODES_DIR): define.
(OPCODES): Use $(OPCODES_DIR).
(gdb_sim_d10v_h): Rename sim_d10v_h.
(gdb_sim_arm_h): Rename sim_arm_h.
2002-07-30 00:34:07 +08:00
|
|
|
gdb_sim_sh_h = $(INCLUDE_DIR)/gdb/sim-sh.h
|
2002-05-14 02:13:07 +08:00
|
|
|
splay_tree_h = $(INCLUDE_DIR)/splay-tree.h
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
readline_headers = \
|
|
|
|
$(READLINE_SRC)/chardefs.h \
|
|
|
|
$(READLINE_SRC)/history.h \
|
|
|
|
$(READLINE_SRC)/keymaps.h \
|
|
|
|
$(READLINE_SRC)/readline.h
|
|
|
|
|
2003-07-09 04:18:41 +08:00
|
|
|
#
|
|
|
|
# $BUILD/ headers
|
|
|
|
#
|
|
|
|
|
|
|
|
config_h = config.h
|
|
|
|
exc_request_U_h = exc_request_U.h
|
|
|
|
exc_request_S_h = exc_request_S.h
|
|
|
|
msg_reply_S_h = msg_reply_S.h
|
|
|
|
msg_U_h = msg_U.h
|
|
|
|
notify_S_h = notify_S.h
|
|
|
|
process_reply_S_h = process_reply_S.h
|
|
|
|
|
|
|
|
#
|
|
|
|
# config/ headers
|
|
|
|
#
|
|
|
|
|
Thu Jul 27 17:38:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (targetfile): Ignore TM_FILE, don't just issue
warning.
(tm_h, xm_h, nm_h, GDB_TM_FILE, GDB_XM_FILE, GDB_NM_FILE): Define.
* acconfig.h (GDB_XM_FILE, GDB_TM_FILE, GDB_NM_FILE): Add.
* config/nm-empty.h: Delete.
* defs.h (xm.h, nm.h, tm.h): Only include when GDB_XM_FILE,
GDB_NM_FILE or GDB_TM_FILE defined.
* Makefile.in (defs_h): Replace tm.h, xm.h and nm.h with tm_h,
xm_h and nm_h macro that are defined by configure.
(tm_h, xm_h, tm_h): New.
* configure, config.in: Regenerate
* TODO: Update.
2000-08-02 19:11:47 +08:00
|
|
|
xm_h = @xm_h@
|
|
|
|
tm_h = @tm_h@
|
|
|
|
nm_h = @nm_h@
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2002-08-21 13:03:38 +08:00
|
|
|
#
|
2003-07-09 04:18:41 +08:00
|
|
|
# gdb/ headers
|
2002-08-21 13:03:38 +08:00
|
|
|
#
|
|
|
|
|
|
|
|
ada_lang_h = ada-lang.h $(value_h) $(gdbtypes_h)
|
|
|
|
alphabsd_tdep_h = alphabsd-tdep.h
|
2003-08-03 04:11:48 +08:00
|
|
|
alpha_tdep_h = alpha-tdep.h
|
2003-09-05 00:48:42 +08:00
|
|
|
amd64_nat_h = amd64-nat.h
|
2002-08-21 13:03:38 +08:00
|
|
|
annotate_h = annotate.h $(symtab_h) $(gdbtypes_h)
|
|
|
|
arch_utils_h = arch-utils.h
|
2003-01-05 07:38:46 +08:00
|
|
|
arm_tdep_h = arm-tdep.h
|
2002-08-21 13:03:38 +08:00
|
|
|
ax_gdb_h = ax-gdb.h
|
|
|
|
ax_h = ax.h $(doublest_h)
|
|
|
|
bcache_h = bcache.h
|
2003-11-01 03:19:51 +08:00
|
|
|
bfd_target_h = bfd-target.h
|
2003-02-19 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add block.c.
(block_h): New.
(COMMON_OBS): Add block.o.
(block.o): New.
(x86-64-tdep.o): Add $(block_h).
(values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
(stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
(objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
(m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
(f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
(c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
(alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
* value.h: Add opaque declaration for struct block.
* parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
* ada-lang.h: Ditto.
* x86-64-tdep.c: #include "block.h"
* values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
* symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
* objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
* mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
* jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
* findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
* buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
* alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
* blockframe.c (blockvector_for_pc_sect): Move to "block.c".
(blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
* symtab.c (block_function): Ditto.
(contained_in): Ditto.
* frame.h: Move block_for_pc and block_for_pc_sect declarations to
block.h. Add opaque declaration for struct block.
* symtab.h: Move block_function and contained_in declarations to
block.h. Add opaque declarations for struct block, struct
blockvector.
(struct block): Move to block.h.
(struct blockvector): Ditto.
(BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
(BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
(BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
(ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
(BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
Ditto.
* block.c: New file.
* block.h: New file.
2003-02-19 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: #include "block.h"
2003-02-20 08:01:07 +08:00
|
|
|
block_h = block.h
|
2002-08-21 13:03:38 +08:00
|
|
|
breakpoint_h = breakpoint.h $(frame_h) $(value_h) $(gdb_events_h)
|
|
|
|
buildsym_h = buildsym.h
|
|
|
|
call_cmds_h = call-cmds.h
|
2003-08-03 04:11:48 +08:00
|
|
|
charset_h = charset.h
|
|
|
|
c_lang_h = c-lang.h $(value_h) $(macroexp_h)
|
2002-08-21 13:03:38 +08:00
|
|
|
cli_out_h = cli-out.h
|
2003-02-20 11:12:46 +08:00
|
|
|
coff_pe_read_h = coff-pe-read.h
|
2003-08-03 04:11:48 +08:00
|
|
|
coff_solib_h = coff-solib.h
|
2002-08-21 13:03:38 +08:00
|
|
|
command_h = command.h
|
|
|
|
complaints_h = complaints.h
|
|
|
|
completer_h = completer.h
|
|
|
|
cp_abi_h = cp-abi.h
|
2003-05-20 11:56:29 +08:00
|
|
|
cp_support_h = cp-support.h $(symtab_h)
|
2002-08-21 13:03:38 +08:00
|
|
|
dcache_h = dcache.h
|
2003-08-03 04:11:48 +08:00
|
|
|
defs_h = defs.h $(config_h) $(ansidecl_h) $(gdb_locale_h) $(gdb_signals_h) \
|
2002-08-21 13:03:38 +08:00
|
|
|
$(libiberty_h) $(progress_h) $(bfd_h) $(tui_h) $(ui_file_h) $(xm_h) \
|
2003-09-05 00:48:42 +08:00
|
|
|
$(nm_h) $(tm_h) $(fopen_same_h) $(gdbarch_h)
|
2003-06-11 David Carlton <carlton@bactrian.org>
* dictionary.h: New.
* dictionary.c: New.
* block.h: Add opaque declaration for struct dictionary.
(struct block): Add 'dict' member; delete 'hashtable', 'nsyms',
'sym' members.
(BLOCK_DICT): New macro.
Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM,
BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE,
BLOCK_SHOULD_SORT.
(ALL_BLOCK_SYMBOLS): Update definition.
* Makefile.in (SFILES): Add dictionary.c.
(dictionary_h): New.
(COMMON_OBS): Add dictionary.o.
(dictionary.o): New.
(ada-lang.o): Depend on dictionary_h.
(buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o)
(stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o)
(mi-cmd-stack.o): Ditto.
(gdbtk-cmds.o): Update dependencies.
(gdbtk-stack.o): Ditto.
* ada-lang.c: Include dictionary.h.
(symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS.
(fill_in_ada_prototype, debug_print_block): Ditto.
(ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace
explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable
'is_sorted'.
* mdebugread.c: Include dictionary.h.
(struct parse_stack): Delete 'maxsyms' member.
(parse_symbol): Update calls to new_block. Delete calls to
shrink_block. Use dictionary methods.
(psymtab_to_symtab_1): Delete calls to sort_symtab_syms.
Update calls to new_symtab. Don't maintain maxsyms data.
(mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS.
(add_symbol): Just call dict_add_symbol.
(new_symtab): Delete 'maxsyms' argument.
(new_symtab): Update calls to new_block.
(new_block): Delete 'maxsyms' argument; add 'function' argument.
(shrink_block): Delete function.
(fixup_sigtramp): Update call to new_block. Add symbol via
dict_add_symbol.
* jv-lang.c: Include dictionary.h.
(get_java_class_symtab): Set the BLOCK_DICT of the blocks
appropriately. Set class_symtab->free_func. Make sure the
blockvector is big enough to hold two blocks.
(add_class_symtab_symbol): Use dictionary methods.
(free_class_block): New function.
(type_from_class): Replace explicit iteration by
ALL_BLOCK_SYMBOLS.
* symtab.h (struct symtab): Replace 'free_ptr' method by
'free_func'.
* dwarf2read.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* dwarfread.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* coffread.c (coff_symfile_read): Delete call to sort_symtab_syms.
Include dictionary.h.
(patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS.
* dbxread.c (dbx_psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* objfiles.c: Include dictionary.h.
(objfile_relocate): Update use of ALL_BLOCK_SYMBOLS.
* buildsym.c: Include dictionary.h.
(finish_block): Use dictionary methods.
(end_symtab): Set free_func to NULL, not free_ptr.
* tracepoint.c: Include dictionary.h.
(add_local_symbols): Update use of ALL_BLOCK_SYMBOLS.
(scope_info): Ditto.
* stack.c: Include dictionary.h.
(print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS.
(print_block_frame_labels, print_frame_arg_vars)
(print_frame_args): Ditto.
* symmisc.c (free_symtab_block): Use dictionary methods.
(dump_symtab): Ditto.
(free_symtab): Replace use of 'free_ptr' by 'free_func'.
Include dictionary.h.
* symfile.h: Delete declarations of sort_block_syms,
sort_symtab_syms.
* symfile.c (sort_block_syms): Delete.
(sort_symtab_syms): Delete.
* symtab.c: Include dictionary.h.
(lookup_block_symbol): Use dictionary iterators.
(find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS.
(search_symbols, make_symbol_completion_list): Ditto.
(make_symbol_overload_list): Ditto.
* valops.c (value_of_local): Use dict_empty.
Include dictionary.h.
2003-06-11 David Carlton <carlton@bactrian.org>
* generic/gdbtk-stack.c: Include dictionary.h.
(gdb_block_vars): Update use of ALL_BLOCK_SYMBOLS.
(gdb_get_blocks, gdb_get_vars_command): Ditto.
* generic/gdbtk-cmds.c: Include dictionary.h.
(gdb_listfuncs): Update use of ALL_BLOCK_SYMBOLS.
2003-06-11 David Carlton <carlton@bactrian.org>
* mi-cmd-stack.c: Include dictionary.h.
(list_args_or_locals): Update use of ALL_BLOCK_SYMBOLS.
2003-06-12 07:29:49 +08:00
|
|
|
dictionary_h = dictionary.h
|
2002-09-30 23:57:26 +08:00
|
|
|
disasm_h = disasm.h
|
2002-08-21 13:03:38 +08:00
|
|
|
doublest_h = doublest.h $(floatformat_h)
|
2002-11-09 03:42:00 +08:00
|
|
|
dummy_frame_h = dummy-frame.h
|
Based on a patch from Daniel Berlin (dberlin@dberlin.org).
* symtab.h: Add opaque declarations of struct axs_value and
struct agent_expr.
(enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
(struct location_funcs): New type.
(struct symbol): Add "loc" to aux_value.
(SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
* dwarf2read.c: Include "dwarf2expr.h".
(dwarf2_symbol_mark_computed): New function.
(read_func_scope): Use it.
(var_decode_location): New function.
(new_symbol): Use it.
* dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
* Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
(dwarf2expr_h, dwarf2loc_h): New variables.
(COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
(dwarf2expr.o, dwarf2loc.o): New rules.
(dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
* buildsym.c (finish_block): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* printcmd.c (address_info, print_frame_args): Likewise.
* stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* ada-lang.c (ada_resolve_subexp, symtab_for_sym)
(ada_add_block_symbols, fill_in_ada_prototype): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
2003-02-21 23:24:18 +08:00
|
|
|
dwarf2expr_h = dwarf2expr.h
|
2003-06-01 03:18:05 +08:00
|
|
|
dwarf2_frame_h = dwarf2-frame.h
|
2003-08-03 04:11:48 +08:00
|
|
|
dwarf2loc_h = dwarf2loc.h
|
2002-08-21 13:03:38 +08:00
|
|
|
environ_h = environ.h
|
|
|
|
event_loop_h = event-loop.h
|
|
|
|
event_top_h = event-top.h
|
2003-10-23 11:01:55 +08:00
|
|
|
exec_h = exec.h $(target_h)
|
2002-08-21 13:03:38 +08:00
|
|
|
expression_h = expression.h $(symtab_h) $(doublest_h)
|
|
|
|
f_lang_h = f-lang.h
|
2003-08-03 04:11:48 +08:00
|
|
|
frame_base_h = frame-base.h
|
2002-08-21 13:03:38 +08:00
|
|
|
frame_h = frame.h
|
2003-04-05 11:56:00 +08:00
|
|
|
frame_unwind_h = frame-unwind.h $(frame_h)
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
gdbarch_h = gdbarch.h
|
2002-08-21 13:03:38 +08:00
|
|
|
gdb_assert_h = gdb_assert.h
|
2003-08-03 04:11:48 +08:00
|
|
|
gdbcmd_h = gdbcmd.h $(command_h) $(ui_out_h)
|
|
|
|
gdbcore_h = gdbcore.h $(bfd_h)
|
2002-08-21 13:03:38 +08:00
|
|
|
gdb_dirent_h = gdb_dirent.h
|
2003-08-03 04:11:48 +08:00
|
|
|
gdb_events_h = gdb-events.h
|
|
|
|
gdb_h = gdb.h
|
2002-08-21 13:03:38 +08:00
|
|
|
gdb_locale_h = gdb_locale.h
|
|
|
|
gdb_obstack_h = gdb_obstack.h $(obstack_h)
|
|
|
|
gdb_proc_service_h = gdb_proc_service.h $(gregset_h)
|
|
|
|
gdb_regex_h = gdb_regex.h $(xregex_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
gdb_stabs_h = gdb-stabs.h
|
2002-08-21 13:03:38 +08:00
|
|
|
gdb_stat_h = gdb_stat.h
|
|
|
|
gdb_string_h = gdb_string.h
|
|
|
|
gdb_thread_db_h = gdb_thread_db.h
|
2002-12-06 15:35:55 +08:00
|
|
|
gdbthread_h = gdbthread.h $(breakpoint_h) $(frame_h)
|
2002-08-21 13:03:38 +08:00
|
|
|
gdbtypes_h = gdbtypes.h
|
2003-08-03 04:11:48 +08:00
|
|
|
gdb_vfork_h = gdb_vfork.h
|
|
|
|
gdb_wait_h = gdb_wait.h
|
2002-08-21 13:03:38 +08:00
|
|
|
gnu_nat_h = gnu-nat.h
|
|
|
|
gregset_h = gregset.h
|
2003-08-16 07:02:05 +08:00
|
|
|
hppa_tdep_h = hppa-tdep.h
|
2002-06-15 06:30:41 +08:00
|
|
|
i386_linux_tdep_h = i386-linux-tdep.h
|
2003-01-05 07:38:46 +08:00
|
|
|
i386_tdep_h = i386-tdep.h
|
2002-08-21 13:03:38 +08:00
|
|
|
i387_tdep_h = i387-tdep.h
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.
2003-04-22 00:48:41 +08:00
|
|
|
infcall_h = infcall.h
|
2002-12-06 15:35:55 +08:00
|
|
|
inferior_h = inferior.h $(breakpoint_h) $(target_h) $(frame_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
inf_loop_h = inf-loop.h
|
2003-02-07 12:21:34 +08:00
|
|
|
inflow_h = inflow.h $(terminal_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
infttrace_h = infttrace.h
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
interps_h = interps.h
|
2002-08-21 13:03:38 +08:00
|
|
|
jv_lang_h = jv-lang.h
|
|
|
|
kod_h = kod.h
|
|
|
|
language_h = language.h
|
|
|
|
linespec_h = linespec.h
|
2003-06-20 06:52:04 +08:00
|
|
|
linux_nat_h = linux-nat.h
|
2002-08-21 13:03:38 +08:00
|
|
|
m2_lang_h = m2-lang.h
|
2002-11-24 03:45:12 +08:00
|
|
|
m68k_tdep_h = m68k-tdep.h
|
2002-08-21 13:03:38 +08:00
|
|
|
macroexp_h = macroexp.h
|
|
|
|
macroscope_h = macroscope.h $(macrotab_h) $(symtab_h)
|
|
|
|
macrotab_h = macrotab.h
|
2002-09-27 01:46:04 +08:00
|
|
|
main_h = main.h
|
2002-08-21 13:03:38 +08:00
|
|
|
memattr_h = memattr.h
|
|
|
|
minimon_h = minimon.h
|
|
|
|
mipsnbsd_tdep_h = mipsnbsd-tdep.h
|
2003-08-03 04:11:48 +08:00
|
|
|
mips_tdep_h = mips-tdep.h
|
2002-08-21 13:03:38 +08:00
|
|
|
monitor_h = monitor.h
|
|
|
|
nbsd_tdep_h = nbsd-tdep.h
|
2003-01-05 07:38:46 +08:00
|
|
|
ns32k_tdep_h = ns32k-tdep.h
|
2003-08-03 04:11:48 +08:00
|
|
|
nto_tdep_h = nto-tdep.h $(defs_h) $(solist_h)
|
2002-11-19 23:17:50 +08:00
|
|
|
objc_lang_h = objc-lang.h
|
2002-08-21 13:03:38 +08:00
|
|
|
objfiles_h = objfiles.h $(gdb_obstack_h) $(symfile_h)
|
2003-03-01 01:14:16 +08:00
|
|
|
observer_h = observer.h
|
2002-08-21 13:03:38 +08:00
|
|
|
ocd_h = ocd.h
|
|
|
|
osabi_h = osabi.h
|
|
|
|
pa64solib_h = pa64solib.h
|
|
|
|
parser_defs_h = parser-defs.h $(doublest_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
p_lang_h = p-lang.h
|
2002-08-21 13:03:38 +08:00
|
|
|
ppcnbsd_tdep_h = ppcnbsd-tdep.h
|
2003-08-03 04:11:48 +08:00
|
|
|
ppc_tdep_h = ppc-tdep.h
|
2002-08-21 13:03:38 +08:00
|
|
|
proc_utils_h = proc-utils.h
|
|
|
|
regcache_h = regcache.h
|
2002-11-02 23:13:34 +08:00
|
|
|
reggroups_h = reggroups.h
|
2003-09-26 22:36:56 +08:00
|
|
|
regset_h = regset.h
|
2003-06-11 21:50:11 +08:00
|
|
|
remote_fileio_h = remote-fileio.h
|
2003-08-03 04:11:48 +08:00
|
|
|
remote_h = remote.h
|
|
|
|
remote_utils_h = remote-utils.h $(target_h)
|
2002-08-21 13:03:38 +08:00
|
|
|
scm_lang_h = scm-lang.h $(scm_tags_h)
|
|
|
|
scm_tags_h = scm-tags.h
|
2003-01-28 05:41:41 +08:00
|
|
|
sentinel_frame_h = sentinel-frame.h
|
2002-08-21 13:03:38 +08:00
|
|
|
serial_h = serial.h
|
2003-08-03 04:11:48 +08:00
|
|
|
ser_unix_h = ser-unix.h
|
2002-08-21 13:03:38 +08:00
|
|
|
shnbsd_tdep_h = shnbsd-tdep.h
|
2003-08-03 04:11:48 +08:00
|
|
|
sh_tdep_h = sh-tdep.h
|
2002-08-21 13:03:38 +08:00
|
|
|
sim_regno_h = sim-regno.h
|
|
|
|
solib_h = solib.h
|
2003-08-03 04:11:48 +08:00
|
|
|
solib_svr4_h = solib-svr4.h
|
2002-08-21 13:03:38 +08:00
|
|
|
solist_h = solist.h
|
|
|
|
somsolib_h = somsolib.h
|
|
|
|
source_h = source.h
|
2003-09-05 00:48:42 +08:00
|
|
|
sparc64_tdep_h = sparc64-tdep.h
|
|
|
|
sparcbsd_nat_h = sparcbsd-nat.h
|
2002-08-21 13:03:38 +08:00
|
|
|
sparcnbsd_tdep_h = sparcnbsd-tdep.h
|
2003-08-03 04:11:48 +08:00
|
|
|
sparc_tdep_h = sparc-tdep.h
|
2002-08-21 13:03:38 +08:00
|
|
|
srec_h = srec.h
|
|
|
|
stabsread_h = stabsread.h
|
2003-06-08 Andrew Cagney <cagney@redhat.com>
* acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen
from GCC's acinclude.m4.
* configure.in: Check for getopt's delcaration.
* aclocal.m4, config.in, configure: Re-generate.
* main.c (error_init): Delete declaration.
* defs.h (error_init): Declare.
* rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static.
(rs6000_convert_from_func_ptr_addr): Make static.
(_initialize_rs6000_tdep): Add declaration.
* cli/cli-cmds.c (dont_repeat): Delete declaration.
(show_commands, set_verbose, show_history): Delete declaration.
* top.h (set_verbose): Add declaration.
(show_history, set_history, show_commands): Add declaration.
(do_restore_instream_cleanup): Add declaration.
* objc-lang.c (specialcmp): Make static.
(print_object_command): Make static.
(find_objc_msgsend): Make static.
(find_objc_msgcall_submethod_helper): Make static.
(find_objc_msgcall_submethod): Make static.
(_initialize_objc_language): Add declaration.
(find_implementation_from_class): Make static.
(find_implementation): Make static.
* objc-exp.y (yylex): Delete lookup_struct_typedef declaration.
* objc-lang.h (lookup_struct_typedef): Add declaration.
* cli/cli-interp.c (_initialize_cli_interp): Add declaration.
* cli/cli-script.c (clear_hook_in_cleanup): Make static.
(do_restore_user_call_depth): Make static.
(do_restore_instream_cleanup): Delete declaration.
(dont_repeat): Delete declaration.
* cli/cli-decode.c (add_abbrev_cmd): Delete function.
* cli/cli-dump.c (_initialize_cli_dump): Add declaration.
* reggroups.c (_initialize_reggroup): Add declaration.
* cp-support.c (_initialize_cp_support): Add declaration.
* cp-abi.c (_initialize_cp_abi): Add declaration.
* hpacc-abi.c (_initialize_hpacc_abi): Add declaration.
* gnu-v3-abi.c (gnuv3_baseclass_offset): Make static.
(_initialize_gnu_v3_abi): Add declaration.
* gnu-v2-abi.c (gnuv2_value_rtti_type): Make static.
(_initialize_gnu_v2_abi): Add declaration.
* frame-base.c (_initialize_frame_base): Add declaration.
* doublest.c (floatformat_from_length): Make static.
* frame-unwind.c (_initialize_frame_unwind): Add declaration.
* frame.c (create_sentinel_frame): Make static.
(_initialize_frame): Add declaration.
* top.c (do_catch_errors): Make static.
(gdb_rl_operate_and_get_next_completion): Make static.
* typeprint.c: Include "typeprint.h".
* sentinel-frame.c (sentinel_frame_prev_register): Make static.
(sentinel_frame_this_id): Make static.
* p-valprint.c (_initialize_pascal_valprint): Add declaration.
* ui-out.c (make_cleanup_ui_out_begin_end): Delete function.
* dwarf2-frame.c (dwarf2_frame_cache): Make static.
* p-exp.y (push_current_type, pop_current_type): ISO C declaration.
* dwarf2expr.h (dwarf_expr_context): ISO C declaration.
* maint.c (maintenance_print_architecture): Make static.
* signals/signals.c (_initialize_signals): Add declaration.
* std-regs.c (_initialize_frame_reg): Add declaration.
* jv-exp.y (push_variable): ISO C definition.
(push_qualified_expression_name): Ditto.
* memattr.c (_initialize_mem): Add declaration.
* remote.c (remote_check_watch_resources): Make static.
(remote_stopped_by_watchpoint): Make static.
(remote_stopped_data_address): Make static.
* d10v-tdep.c (nr_dmap_regs): Make static.
(a0_regnum): Make static.
(d10v_frame_unwind_cache): Make static.
(d10v_frame_p): Make static.
* osabi.c (show_osabi): Make static.
(_initialize_gdb_osabi): Add extern declaration.
* gdbtypes.c (make_qualified_type): Make static.
(safe_parse_type): Make static.
* macrocmd.c (_initialize_macrocmd): Add extern declaration.
* macrotab.c (macro_bcache_free): Make static.
* interps.c (interp_set_quiet): Make static.
(interpreter_exec_cmd): Make static.
* stack.h (select_frame_command): New file.
* stack.c: Include "stack.h".
(select_frame_command_wrapper): Delete function.
(select_frame_command): Make global.
* infcall.c: Include "infcall.h".
* linespec.c: Include "linespec.h".
* symfile.c (sections_overlap): Make static.
* cp-support.h (cp_initialize_namespace): ISO C declaration.
* charset.c (_initialize_charset): Add missing prototype.
* regcache.c (init_legacy_regcache_descr): Make static.
(do_regcache_xfree): Make static.
(regcache_xfer_part): Make static.
(_initialize_regcache): Add missing prototype.
* breakpoint.c (parse_breakpoint_sals): Make static.
(breakpoint_sals_to_pc): Make static.
* interps.h (clear_interpreter_hooks): ISO C declaration.
* Makefile.in (stack_h): Define.
(stack.o, typeprint.o, mi-main.o): Update dependencies.
(mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies.
Index: mi/ChangeLog
2003-06-08 Andrew Cagney <cagney@redhat.com>
* mi-parse.c (_initialize_mi_parse): Delete function.
* mi-main.c: Include "mi-main.h".
* mi-interp.c (_initialize_mi_interp): Add declaration.
* mi-cmd-stack.c: Include "stack.h".
(select_frame_command_wrapper): Delete extern declaration.
(mi_cmd_stack_select_frame): Replace select_frame_command_wrapper
with select_frame_command.
2003-06-09 02:27:14 +08:00
|
|
|
stack_h = stack.h
|
2002-08-21 13:03:38 +08:00
|
|
|
symfile_h = symfile.h
|
|
|
|
symtab_h = symtab.h
|
|
|
|
target_h = target.h $(bfd_h) $(symtab_h) $(dcache_h) $(memattr_h)
|
|
|
|
terminal_h = terminal.h
|
|
|
|
top_h = top.h
|
|
|
|
tracepoint_h = tracepoint.h
|
2003-08-03 04:11:48 +08:00
|
|
|
trad_frame_h = trad-frame.h
|
2002-08-21 13:03:38 +08:00
|
|
|
typeprint_h = typeprint.h
|
|
|
|
ui_file_h = ui-file.h
|
|
|
|
ui_out_h = ui-out.h
|
2003-07-07 22:36:58 +08:00
|
|
|
user_regs_h = user-regs.h
|
2002-08-21 13:03:38 +08:00
|
|
|
valprint_h = valprint.h
|
2003-08-03 04:11:48 +08:00
|
|
|
value_h = value.h $(doublest_h) $(frame_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(expression_h)
|
2002-08-21 13:03:38 +08:00
|
|
|
varobj_h = varobj.h $(symtab_h) $(gdbtypes_h)
|
2003-01-05 07:38:46 +08:00
|
|
|
vax_tdep_h = vax-tdep.h
|
2002-08-21 13:03:38 +08:00
|
|
|
version_h = version.h
|
|
|
|
wince_stub_h = wince-stub.h
|
|
|
|
wrapper_h = wrapper.h $(gdb_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
x86_64_linux_tdep_h = x86-64-linux-tdep.h
|
2002-08-21 13:03:38 +08:00
|
|
|
x86_64_tdep_h = x86-64-tdep.h $(i386_tdep_h)
|
|
|
|
xcoffsolib_h = xcoffsolib.h
|
|
|
|
xmodem_h = xmodem.h
|
|
|
|
|
|
|
|
#
|
|
|
|
# gdb/cli/ headers
|
|
|
|
#
|
|
|
|
|
|
|
|
cli_cmds_h = $(srcdir)/cli/cli-cmds.h
|
2003-01-03 22:10:08 +08:00
|
|
|
cli_decode_h = $(srcdir)/cli/cli-decode.h $(command_h)
|
2002-08-21 13:03:38 +08:00
|
|
|
cli_dump_h = $(srcdir)/cli/cli-dump.h
|
|
|
|
cli_script_h = $(srcdir)/cli/cli-script.h
|
|
|
|
cli_setshow_h = $(srcdir)/cli/cli-setshow.h
|
|
|
|
cli_utils_h = $(srcdir)/cli/cli-utils.h
|
|
|
|
|
|
|
|
#
|
|
|
|
# gdb/mi/ headers
|
|
|
|
#
|
|
|
|
|
|
|
|
mi_cmds_h = $(srcdir)/mi/mi-cmds.h
|
|
|
|
mi_console_h = $(srcdir)/mi/mi-console.h
|
|
|
|
mi_getopt_h = $(srcdir)/mi/mi-getopt.h
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
mi_main_h = $(srcdir)/mi/mi-main.h
|
2002-08-21 13:03:38 +08:00
|
|
|
mi_out_h = $(srcdir)/mi/mi-out.h
|
|
|
|
mi_parse_h = $(srcdir)/mi/mi-parse.h
|
|
|
|
|
|
|
|
#
|
|
|
|
# gdb/tui/ headers
|
|
|
|
#
|
|
|
|
|
|
|
|
tuiCommand_h = $(srcdir)/tui/tuiCommand.h
|
|
|
|
tuiDataWin_h = $(srcdir)/tui/tuiDataWin.h
|
2003-08-03 04:11:48 +08:00
|
|
|
tuiData_h = $(srcdir)/tui/tuiData.h
|
2002-08-21 13:03:38 +08:00
|
|
|
tuiDisassem_h = $(srcdir)/tui/tuiDisassem.h
|
|
|
|
tuiGeneralWin_h = $(srcdir)/tui/tuiGeneralWin.h
|
|
|
|
tuiIO_h = $(srcdir)/tui/tuiIO.h
|
|
|
|
tuiLayout_h = $(srcdir)/tui/tuiLayout.h
|
|
|
|
tuiRegs_h = $(srcdir)/tui/tuiRegs.h
|
|
|
|
tuiSourceWin_h = $(srcdir)/tui/tuiSourceWin.h
|
2003-08-03 04:11:48 +08:00
|
|
|
tuiSource_h = $(srcdir)/tui/tuiSource.h $(defs_h)
|
2002-08-21 13:03:38 +08:00
|
|
|
tuiStack_h = $(srcdir)/tui/tuiStack.h
|
|
|
|
tuiWin_h = $(srcdir)/tui/tuiWin.h
|
2003-08-03 04:11:48 +08:00
|
|
|
tui_file_h = $(srcdir)/tui/tui-file.h
|
|
|
|
tui_h = $(srcdir)/tui/tui.h $(ansidecl_h)
|
2002-09-20 08:24:01 +08:00
|
|
|
|
1999-04-16 09:35:26 +08:00
|
|
|
# Header files that need to have srcdir added. Note that in the cases
|
|
|
|
# where we use a macro like $(gdbcmd_h), things are carefully arranged
|
|
|
|
# so that each .h file is listed exactly once (M-x tags-search works
|
|
|
|
# wrong if TAGS has files twice). Because this is tricky to get
|
|
|
|
# right, it is probably easiest just to list .h files here directly.
|
|
|
|
|
|
|
|
HFILES_NO_SRCDIR = bcache.h buildsym.h call-cmds.h coff-solib.h defs.h \
|
2002-08-21 08:57:44 +08:00
|
|
|
environ.h $(gdbcmd_h) gdb.h gdbcore.h \
|
2002-01-24 11:44:10 +08:00
|
|
|
gdb-stabs.h $(inferior_h) language.h minimon.h monitor.h \
|
2001-11-08 12:39:04 +08:00
|
|
|
objfiles.h parser-defs.h serial.h solib.h \
|
1999-04-16 09:35:26 +08:00
|
|
|
symfile.h stabsread.h target.h terminal.h typeprint.h xcoffsolib.h \
|
2002-05-17 05:15:53 +08:00
|
|
|
macrotab.h macroexp.h macroscope.h \
|
2002-08-01 Andrew Cagney <cagney@redhat.com>
* NEWS: Menion that CHILL has been made obsolete.
* gdbtypes.c (chill_varying_type): Make chill references obsolete.
* gdbserver/Makefile.in: Ditto.
* stabsread.c (read_range_type): Ditto.
* gdbtypes.h: Ditto.
* language.c (binop_type_check): Ditto.
(binop_result_type): Ditto.
(integral_type): Ditto.
(character_type): Ditto.
(string_type): Ditto.
(boolean_type): Ditto.
(structured_type): Ditto.
(lang_bool_type): Ditto.
(binop_type_check): Ditto.
* language.h (_LANG_chill): Ditto.
* dwarfread.c (set_cu_language): Ditto.
* dwarfread.c (CHILL_PRODUCER): Ditto.
* dwarfread.c (handle_producer): Ditto.
* expression.h (enum exp_opcode): Ditto.
* eval.c: Ditto for comments.
* typeprint.c (typedef_print) [_LANG_chill]: Ditto.
* expprint.c (print_subexp): Ditto.
(print_subexp): Ditto.
* valops.c (value_cast): Ditto.
(search_struct_field): Ditto.
* value.h (COERCE_VARYING_ARRAY): Ditto.
* symfile.c (init_filename_language_table): Ditto.
(add_psymbol_with_dem_name_to_list): Ditto.
* valarith.c (value_binop): Ditto.
(value_neg): Ditto.
* valops.c (value_slice): Ditto.
* symtab.h (union language_specific): Ditto.
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Ditto.
(SYMBOL_DEMANGLED_NAME): Ditto.
(SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
* defs.h (enum language): Ditto.
* symtab.c (got_symtab): Ditto.
* utils.c (fprintf_symbol_filtered): Ditto.
* ch-typeprint.c: Make file obsolete.
* ch-valprint.c: Make file obsolete.
* ch-lang.h: Make file obsolete.
* ch-exp.c: Make file obsolete.
* ch-lang.c: Make file obsolete.
* Makefile.in (FLAGS_TO_PASS): Do not pass CHILL or CHILLFLAGS or
CHILL_LIB.
(TARGET_FLAGS_TO_PASS): Ditto.
(CHILLFLAGS): Obsolete.
(CHILL): Obsolete.
(CHILL_FOR_TARGET): Obsolete.
(CHILL_LIB): Obsolete.
(SFILES): Remove ch-exp.c, ch-lang.c, ch-typeprint.c and
ch-valprint.c.
(HFILES_NO_SRCDIR): Remove ch-lang.h.
(COMMON_OBS): Remove ch-valprint.o, ch-typeprint.o, ch-exp.o and
ch-lang.o.
(ch-exp.o, ch-lang.o, ch-typeprint.o, ch-valprint.o): Delete
targets.
2002-08-01 Andrew Cagney <cagney@redhat.com>
* stabs.texinfo, gdb.texinfo, gdbint.texinfo: Obsolete references
to CHILL.
2002-08-01 Andrew Cagney <cagney@redhat.com>
* Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
CHILL_FOR_TARGET and CHILL_LIB.
* configure.in (configdirs): Remove gdb.chill.
* configure: Regenerate.
* lib/gdb.exp: Obsolete references to chill.
* gdb.fortran/types.exp: Ditto.
* gdb.fortran/exprs.exp: Ditto.
2002-08-02 01:18:35 +08:00
|
|
|
c-lang.h f-lang.h \
|
1999-04-16 09:35:26 +08:00
|
|
|
jv-lang.h \
|
2000-08-25 15:54:32 +08:00
|
|
|
m2-lang.h p-lang.h \
|
1999-04-16 09:35:26 +08:00
|
|
|
complaints.h valprint.h \
|
|
|
|
vx-share/dbgRpcLib.h vx-share/ptrace.h vx-share/vxTypes.h \
|
|
|
|
vx-share/vxWorks.h vx-share/wait.h vx-share/xdr_ld.h \
|
|
|
|
vx-share/xdr_ptrace.h vx-share/xdr_rdb.h gdbthread.h \
|
|
|
|
dcache.h remote-utils.h top.h somsolib.h
|
|
|
|
|
|
|
|
# Header files that already have srcdir in them, or which are in objdir.
|
|
|
|
|
2002-06-24 12:47:09 +08:00
|
|
|
HFILES_WITH_SRCDIR = ../bfd/bfd.h
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
# GDB "info" files, which should be included in their entirety
|
|
|
|
INFOFILES = gdb.info*
|
|
|
|
|
|
|
|
REMOTE_EXAMPLES = m68k-stub.c i386-stub.c sparc-stub.c rem-multi.shar
|
|
|
|
|
|
|
|
# {X,T,NAT}DEPFILES are something of a pain in that it's hard to
|
|
|
|
# default their values the way we do for SER_HARDWIRE; in the future
|
|
|
|
# maybe much of the stuff now in {X,T,NAT}DEPFILES will go into other
|
|
|
|
# variables analogous to SER_HARDWIRE which get defaulted in this
|
|
|
|
# Makefile.in
|
|
|
|
|
2002-01-18 12:51:10 +08:00
|
|
|
DEPFILES = $(TDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
|
2000-12-22 00:16:17 +08:00
|
|
|
$(REMOTE_OBS) $(SIM_OBS) $(CONFIG_LIB_OBS)
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2000-02-23 08:25:43 +08:00
|
|
|
SOURCES = $(SFILES) $(ALLDEPFILES) $(YYFILES) $(CONFIG_SRCS)
|
1999-04-16 09:35:26 +08:00
|
|
|
# Don't include YYFILES (*.tab.c) because we already include *.y in SFILES,
|
|
|
|
# and it's more useful to see it in the .y file.
|
|
|
|
TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \
|
2001-09-02 05:38:05 +08:00
|
|
|
$(SUBDIR_CLI_SRCS)
|
1999-04-16 09:35:26 +08:00
|
|
|
TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
|
|
|
|
|
2003-11-01 03:19:51 +08:00
|
|
|
COMMON_OBS = version.o \
|
|
|
|
bfd-target.o \
|
|
|
|
blockframe.o breakpoint.o findvar.o regcache.o \
|
2002-11-09 03:42:00 +08:00
|
|
|
charset.o disasm.o dummy-frame.o \
|
1999-04-16 09:35:26 +08:00
|
|
|
source.o values.o eval.o valops.o valarith.o valprint.o printcmd.o \
|
2003-06-11 David Carlton <carlton@bactrian.org>
* dictionary.h: New.
* dictionary.c: New.
* block.h: Add opaque declaration for struct dictionary.
(struct block): Add 'dict' member; delete 'hashtable', 'nsyms',
'sym' members.
(BLOCK_DICT): New macro.
Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM,
BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE,
BLOCK_SHOULD_SORT.
(ALL_BLOCK_SYMBOLS): Update definition.
* Makefile.in (SFILES): Add dictionary.c.
(dictionary_h): New.
(COMMON_OBS): Add dictionary.o.
(dictionary.o): New.
(ada-lang.o): Depend on dictionary_h.
(buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o)
(stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o)
(mi-cmd-stack.o): Ditto.
(gdbtk-cmds.o): Update dependencies.
(gdbtk-stack.o): Ditto.
* ada-lang.c: Include dictionary.h.
(symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS.
(fill_in_ada_prototype, debug_print_block): Ditto.
(ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace
explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable
'is_sorted'.
* mdebugread.c: Include dictionary.h.
(struct parse_stack): Delete 'maxsyms' member.
(parse_symbol): Update calls to new_block. Delete calls to
shrink_block. Use dictionary methods.
(psymtab_to_symtab_1): Delete calls to sort_symtab_syms.
Update calls to new_symtab. Don't maintain maxsyms data.
(mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS.
(add_symbol): Just call dict_add_symbol.
(new_symtab): Delete 'maxsyms' argument.
(new_symtab): Update calls to new_block.
(new_block): Delete 'maxsyms' argument; add 'function' argument.
(shrink_block): Delete function.
(fixup_sigtramp): Update call to new_block. Add symbol via
dict_add_symbol.
* jv-lang.c: Include dictionary.h.
(get_java_class_symtab): Set the BLOCK_DICT of the blocks
appropriately. Set class_symtab->free_func. Make sure the
blockvector is big enough to hold two blocks.
(add_class_symtab_symbol): Use dictionary methods.
(free_class_block): New function.
(type_from_class): Replace explicit iteration by
ALL_BLOCK_SYMBOLS.
* symtab.h (struct symtab): Replace 'free_ptr' method by
'free_func'.
* dwarf2read.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* dwarfread.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* coffread.c (coff_symfile_read): Delete call to sort_symtab_syms.
Include dictionary.h.
(patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS.
* dbxread.c (dbx_psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* objfiles.c: Include dictionary.h.
(objfile_relocate): Update use of ALL_BLOCK_SYMBOLS.
* buildsym.c: Include dictionary.h.
(finish_block): Use dictionary methods.
(end_symtab): Set free_func to NULL, not free_ptr.
* tracepoint.c: Include dictionary.h.
(add_local_symbols): Update use of ALL_BLOCK_SYMBOLS.
(scope_info): Ditto.
* stack.c: Include dictionary.h.
(print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS.
(print_block_frame_labels, print_frame_arg_vars)
(print_frame_args): Ditto.
* symmisc.c (free_symtab_block): Use dictionary methods.
(dump_symtab): Ditto.
(free_symtab): Replace use of 'free_ptr' by 'free_func'.
Include dictionary.h.
* symfile.h: Delete declarations of sort_block_syms,
sort_symtab_syms.
* symfile.c (sort_block_syms): Delete.
(sort_symtab_syms): Delete.
* symtab.c: Include dictionary.h.
(lookup_block_symbol): Use dictionary iterators.
(find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS.
(search_symbols, make_symbol_completion_list): Ditto.
(make_symbol_overload_list): Ditto.
* valops.c (value_of_local): Use dict_empty.
Include dictionary.h.
2003-06-11 David Carlton <carlton@bactrian.org>
* generic/gdbtk-stack.c: Include dictionary.h.
(gdb_block_vars): Update use of ALL_BLOCK_SYMBOLS.
(gdb_get_blocks, gdb_get_vars_command): Ditto.
* generic/gdbtk-cmds.c: Include dictionary.h.
(gdb_listfuncs): Update use of ALL_BLOCK_SYMBOLS.
2003-06-11 David Carlton <carlton@bactrian.org>
* mi-cmd-stack.c: Include dictionary.h.
(list_args_or_locals): Update use of ALL_BLOCK_SYMBOLS.
2003-06-12 07:29:49 +08:00
|
|
|
block.o symtab.o symfile.o symmisc.o linespec.o dictionary.o \
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.
2003-04-22 00:48:41 +08:00
|
|
|
infcall.o \
|
|
|
|
infcmd.o infrun.o \
|
2000-07-07 Michael Snyder <msnyder@cleaver.cygnus.com>
* findvar.c (_initialize_findvar, build_findvar, write_fp, read_fp,
generic_target_write_fp, generic_target_read_fp, write_sp, read_sp,
generic_target_write_sp, generic_target_read_sp, write_pc, read_pc,
generic_target_write_pc, generic_target_read_pc, write_pc_pid,
read_pc_pid, supply_register, write_register_pid, write_register,
read_register_pid, read_register, write_register_bytes,
read_register_bytes, write_register_gen, read_register_gen,
registers_fetched, registers_changed, find_saved_register,
read_relative_register_raw_bytes, default_get_saved_register,
read_relative_register_raw_bytes_for_frame, get_saved_register):
Move from this file into new file regcache.c.
(register_valid, registers_pid, registers): Ditto.
* regcache.c: New file to hold the register cache.
(register_cached): New function to read register_valid array.
* value.h (register_cached): Declare.
* defs.h (default_get_saved_register): Delete decl of static function.
* Makefile.in: Add regcache module.
2000-07-10 14:16:51 +08:00
|
|
|
expprint.o environ.o stack.o thread.o \
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
interps.o \
|
2002-05-17 05:15:53 +08:00
|
|
|
macrotab.o macrocmd.o macroexp.o macroscope.o \
|
2000-11-30 Fernando Nasser <fnasser@redhat.com>
* linespec.h: New file. Declarations for linespec.c.
* linespec.c, alpha-tdep.c, breakpoint.c, parse.c, source.c,
symtab.c, tracepoint.c: Include the above.
* completer.c: New file. Line completion stuff for GDB.
(get_gdb_completer_word_break_characters,
get_gdb_completer_quote_characters): New functions. Accessors for
useful completer internal data.
(filename_completer, line_completion_function, skip_quoted): Moved
here from top.c.
* completer.h: New file. Declarations for the above.
* linespec.c (decode_line_1): Use
get_gdb_completer_word_break_characters and
get_gdb_completer_quote_characters.
* top.c: Include completer.h.
(filename_completer, line_completion_function, skip_quoted):
Moved to completer.c.
* corefile.c, exec.c, source.c, symfile.c, linespec.c: Include
completer.h.
* Makefile.in (SFILES): Add completer.c.
(COMMON_OBS): Add completer.o.
(completer.o): New target.
(linespec.o, alpha-tdep.o, breakpoint.o, parse.o, source.o,
symtab.o, tracepoint.o): Add linespec.h to dependencies list.
(corefile.o, exec.o, source.o, symfile.o, linespec.o): Add completer.h
to dependencies list.
2000-12-01 08:43:47 +08:00
|
|
|
event-loop.o event-top.o inf-loop.o completer.o \
|
* Makefile.in (SFILES): Add osabi.c.
(COMMON_OBS): Add osabi.o.
(osabi.o): New dependency list.
* osabi.c: New file.
* osabi.h: New file.
* doc/gdbint.texinfo: Document new generic OS ABI framework.
* Makefile.in (alpha_tdep_h): Define and use instead of
alpha-tdep.h.
* alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections,
get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi):
Remove.
(alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework.
* alpha-tdep.h: Include osabi.h.
(alpha_abi): Remove.
(gdbarch_tdep): Use generic OS ABI framework.
* alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use
gdbarch_register_osabi.
* alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise.
* alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise.
* alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise.
* Makefile.in (sh_tdep_h): Add osabi.h.
* sh-tdep.h (sh_osabi): Remove.
(gdbarch_tdep): Use generic OS ABI framework.
* sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections,
sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove.
(sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework.
* shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi.
* Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h.
* arm-linux-tdep.c (_initialize_arm_linux_tdep): Use
gdbarch_register_osabi.
* arm-tdep.c (arm_abi_names, process_note_abi_tag_sections,
arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove.
(get_elfosabi): Rename to...
(arm_elf_osabi_sniffer): ...this. Adjust to use generic OS
ABI framework support routines.
(arm_gdbarch_init): Use generic OS ABI framework.
(arm_dump_tdep): Likewise.
(_initialize_arm_tdep): Likewise.
* arm-tdep.h: Include osabi.h.
(arm_abi): Remove.
(gdbarch_tdep): Remove arm_abi and abi_name members. Add
osabi member.
(arm_gdbarch_register_os_abi): Remove prototype.
* armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function.
(_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi.
* Makefile.in (mips-tdep.o): Add osabi.h to dependency list.
* mips-tdep.c: Include osabi.h.
(gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic
OS ABI framework.
2002-05-21 23:36:03 +08:00
|
|
|
gdbarch.o arch-utils.o gdbtypes.o osabi.o copying.o $(DEPFILES) \
|
* exec.c (xfer_memory): Add attrib argument.
* infptrace.c (child_xfer_memory): Likewise.
* monitor.c (monitor_xfer_memory): Likewise.
* remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
* remote-array.c (array_xfer_memory): Likewise.
* remote-bug.c (bug_xfer_memory): Likewise.
* remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
* remote-eb.c (eb_xfer_inferior_memory): Likewise.
* remote-es.c (es1800_xfer_inferior_memory): Likewise.
* remote-mips.c (mips_xfer_memory): Likewise.
* remote-mm.c (mm_xfer_inferior_memory): Likewise.
* remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
* remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
* remote-rdi.c (arm_rdi_xfer_memory): Likewise.
* remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
* remote-sds.c (sds_xfer_memory): Likewise.
* remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
* remote-st.c (st2000_xfer_inferior_memory): Likewise.
* remote-udi.c (udi_xfer_inferior_memory): Likewise.
* remote-vx.c (vx_xfer_memory): Likewise.
* remote.c (remote_xfer_memory): Likewise.
* target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
* target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
* target.h (#include "memattr.h"): Added.
(target_ops.to_xfer_memory): Add attrib argument.
* wince.c (_initialize_inftarg): Removed call to set_dcache_state.
* dcache.h (set_dcache_state): Removed declaration.
* dcache.c (set_dcache_state): Removed definition
* dcache.c: Update module comment, as dcache is now enabled and
disabled with memory region attributes instead of by the global
variable "remotecache". Add comment describing the interaction
between dcache and memory region attributes.
(dcache_xfer_memory): Add comment describing benefits of moving
cache writeback to a higher level.
(dcache_struct): Removed cache_has_stuff field. This was used to
record whether the cache had been accessed in order to invalidate
it when it was disabled. However, this is not needed because the
cache is write through and the code that enables, disables, and
deletes memory regions invalidate the cache. Add comment which
suggests that we could be more selective and only invalidate those
cache lines containing data from those memory regions.
(dcache_invalidate): Updated.
(dcache_xfer_memory): Updated.
(dcache_alloc): Don't abort() if dcache_enabled_p is clear.
(dcache_xfer_memory): Removed code that called do_xfer_memory() to
perform a uncached transfer if dcache_enabled_p was clear. This
function is now only called if caching is enabled for the memory
region.
(dcache_info): Always print cache info.
* target.c (do_xfer_memory): Add attrib argument.
(target_xfer_memory, target_xfer_memory_partial): Break transfer
into chunks defined by memory regions, pass region attributes to
do_xfer_memory().
* dcache.c (dcache_read_line, dcache_write_line): Likewise.
* Makefile.in (SFILES): Add memattr.c.
(COMMON_OBS): Add memattr.o.
(dcache.o): Add target.h to dependencies.
* memattr.c: New file.
* memattr.h: Likewise.
2001-01-24 06:48:56 +08:00
|
|
|
memattr.o mem-break.o target.o parse.o language.o $(YYOBJ) buildsym.o \
|
2003-07-07 22:36:58 +08:00
|
|
|
std-regs.o \
|
2001-07-20 02:09:11 +08:00
|
|
|
signals.o \
|
1999-08-10 05:36:23 +08:00
|
|
|
kod.o kod-cisco.o \
|
1999-08-31 09:14:27 +08:00
|
|
|
gdb-events.o \
|
2003-03-01 01:14:16 +08:00
|
|
|
exec.o bcache.o objfiles.o observer.o minsyms.o maint.o demangle.o \
|
2003-02-20 11:12:46 +08:00
|
|
|
dbxread.o coffread.o coff-pe-read.o elfread.o \
|
1999-04-16 09:35:26 +08:00
|
|
|
dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o \
|
2003-06-01 03:18:05 +08:00
|
|
|
dwarf2expr.o dwarf2loc.o dwarf2-frame.o \
|
2003-04-26 09:57:28 +08:00
|
|
|
c-lang.o f-lang.o objc-lang.o \
|
2000-02-03 12:14:45 +08:00
|
|
|
ui-out.o cli-out.o \
|
|
|
|
varobj.o wrapper.o \
|
1999-04-16 09:35:26 +08:00
|
|
|
jv-lang.o jv-valprint.o jv-typeprint.o \
|
2000-10-09 06:31:22 +08:00
|
|
|
m2-lang.o p-lang.o p-typeprint.o p-valprint.o \
|
2003-01-28 05:41:41 +08:00
|
|
|
scm-exp.o scm-lang.o scm-valprint.o \
|
|
|
|
sentinel-frame.o \
|
|
|
|
complaints.o typeprint.o \
|
2002-08-01 Andrew Cagney <cagney@redhat.com>
* NEWS: Menion that CHILL has been made obsolete.
* gdbtypes.c (chill_varying_type): Make chill references obsolete.
* gdbserver/Makefile.in: Ditto.
* stabsread.c (read_range_type): Ditto.
* gdbtypes.h: Ditto.
* language.c (binop_type_check): Ditto.
(binop_result_type): Ditto.
(integral_type): Ditto.
(character_type): Ditto.
(string_type): Ditto.
(boolean_type): Ditto.
(structured_type): Ditto.
(lang_bool_type): Ditto.
(binop_type_check): Ditto.
* language.h (_LANG_chill): Ditto.
* dwarfread.c (set_cu_language): Ditto.
* dwarfread.c (CHILL_PRODUCER): Ditto.
* dwarfread.c (handle_producer): Ditto.
* expression.h (enum exp_opcode): Ditto.
* eval.c: Ditto for comments.
* typeprint.c (typedef_print) [_LANG_chill]: Ditto.
* expprint.c (print_subexp): Ditto.
(print_subexp): Ditto.
* valops.c (value_cast): Ditto.
(search_struct_field): Ditto.
* value.h (COERCE_VARYING_ARRAY): Ditto.
* symfile.c (init_filename_language_table): Ditto.
(add_psymbol_with_dem_name_to_list): Ditto.
* valarith.c (value_binop): Ditto.
(value_neg): Ditto.
* valops.c (value_slice): Ditto.
* symtab.h (union language_specific): Ditto.
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Ditto.
(SYMBOL_DEMANGLED_NAME): Ditto.
(SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
* defs.h (enum language): Ditto.
* symtab.c (got_symtab): Ditto.
* utils.c (fprintf_symbol_filtered): Ditto.
* ch-typeprint.c: Make file obsolete.
* ch-valprint.c: Make file obsolete.
* ch-lang.h: Make file obsolete.
* ch-exp.c: Make file obsolete.
* ch-lang.c: Make file obsolete.
* Makefile.in (FLAGS_TO_PASS): Do not pass CHILL or CHILLFLAGS or
CHILL_LIB.
(TARGET_FLAGS_TO_PASS): Ditto.
(CHILLFLAGS): Obsolete.
(CHILL): Obsolete.
(CHILL_FOR_TARGET): Obsolete.
(CHILL_LIB): Obsolete.
(SFILES): Remove ch-exp.c, ch-lang.c, ch-typeprint.c and
ch-valprint.c.
(HFILES_NO_SRCDIR): Remove ch-lang.h.
(COMMON_OBS): Remove ch-valprint.o, ch-typeprint.o, ch-exp.o and
ch-lang.o.
(ch-exp.o, ch-lang.o, ch-typeprint.o, ch-valprint.o): Delete
targets.
2002-08-01 Andrew Cagney <cagney@redhat.com>
* stabs.texinfo, gdb.texinfo, gdbint.texinfo: Obsolete references
to CHILL.
2002-08-01 Andrew Cagney <cagney@redhat.com>
* Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
CHILL_FOR_TARGET and CHILL_LIB.
* configure.in (configdirs): Remove gdb.chill.
* configure: Regenerate.
* lib/gdb.exp: Obsolete references to chill.
* gdb.fortran/types.exp: Ditto.
* gdb.fortran/exprs.exp: Ditto.
2002-08-02 01:18:35 +08:00
|
|
|
c-typeprint.o f-typeprint.o m2-typeprint.o \
|
|
|
|
c-valprint.o cp-valprint.o f-valprint.o m2-valprint.o \
|
2002-07-16 23:19:19 +08:00
|
|
|
nlmread.o serial.o mdebugread.o top.o utils.o \
|
2001-07-19 04:53:35 +08:00
|
|
|
ui-file.o \
|
2003-07-07 22:36:58 +08:00
|
|
|
user-regs.o \
|
2003-01-18 Andrew Cagney <ac131313@redhat.com>
* dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
(struct frame_unwind): Declare opaque.
(dummy_frame_p): Declare function.
* dummy-frame.c (dummy_frame_id_unwind): Make static.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
* dummy-frame.c: Include "frame-unwind.h".
(dummy_frame_p): New function.
(dummy_frame_unwind): New variable.
* frame.c: Include "frame-unwind.h".
(frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
to use the new unwind field.
(set_unwind_by_pc): Delete function.
(create_new_frame, get_prev_frame): Set unwind field using
frame_unwind_find_by_pc.
(trad_frame_unwind, trad_frame_unwinder): New variables.
* frame.h (trad_frame_unwind): Declare variable.
(frame_id_unwind_ftype): Delete declaration.
(frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
(struct frame_unwind): Declare opaque.
(struct frame_info): Replace the fields id_unwind, pc_unwind and
register_unwind with a single unwind pointer.
* frame-unwind.h, frame-unwind.c: New files.
* Makefile.in (SFILES): Add frame-unwind.c.
(frame_unwind_h): Define.
(COMMON_OBS): Add frame-unwind.o.
(frame-unwind.o): Specify dependencies.
(frame.o, dummy-frame.o): Update dependencies.
2003-01-19 01:25:23 +08:00
|
|
|
frame.o frame-unwind.o doublest.o \
|
2003-04-02 03:11:01 +08:00
|
|
|
frame-base.o \
|
2002-11-02 23:13:34 +08:00
|
|
|
gnu-v2-abi.o gnu-v3-abi.o hpacc-abi.o cp-abi.o cp-support.o \
|
2003-04-15 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add cp-namespace.c.
(COMMON_OBS): Add cp-namespace.o.
(block.o): Depend on gdb_obstack_h and cp_support_h.
(buildsym.o): Depend on cp_support_h.
(cp-namespace.o): New.
(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
(dwarf2read.o): Depend on cp_support_h.
* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
* dwarf2read.c (process_die): Set processing_has_namespace_info,
processing_current_namespace.
(read_namespace): Update processing_current_namespace; check for
anonymous namespaces.
(dwarf2_name): New function.
(dwarf2_extension): Ditto.
* cp-support.h: Update copyright, contributors.
Add inclusion guards.
Add opaque declaration for structs obstack, block, symbol.
(struct using_direct): New struct.
Add declarations for cp_find_first_component,
cp_entire_prefix_len, processing_has_namespace_info,
processing_current_namespace, cp_is_anonymous,
cp_add_using_directive, cp_initialize_namespace,
cp_finalize_namespace, cp_set_block_scope,
cp_scan_for_anonymous_namespaces.
* cp-namespace.c: New file.
* cp-support.c: Update copyright.
Include ctype.h, gdb_assert.h, gdbcmd.h.
New variable maint_cplus_cmd_list.
(cp_find_first_component): New function.
(cp_entire_prefix_len, maint_cplus_command)
(first_component_command, _initialize_cp_support): Ditto.
* buildsym.c: Include cp-support.h.
New variable using_list.
(add_symbol_to_list): Check for anonymous namespaces.
(finish_block): Set block's scope.
(start_symtab): Initialize C++ namespace support.
(end_symtab): Finalize C++ namespace support.
* block.h: Add opaque declarations for structs
block_namespace_info, using_direct, and obstack.
Add declarations for block_set_scope and block_set_using.
(struct block): Add 'language_specific' member.
(BLOCK_NAMESPACE): New macro.
* block.c: Include gdb_obstack.h and cp-support.h.
(struct block_namespace_info): New struct.
(block_set_scope): New function.
(block_set_using, block_initialize_namespace): Ditto.
2003-04-15 David Carlton <carlton@math.stanford.edu>
* gdb.c++/maint.exp: New file.
2003-04-16 07:07:11 +08:00
|
|
|
cp-namespace.o \
|
2003-06-09 00:09:46 +08:00
|
|
|
reggroups.o \
|
|
|
|
trad-frame.o
|
1999-04-16 09:35:26 +08:00
|
|
|
|
1999-08-31 09:14:27 +08:00
|
|
|
OBS = $(COMMON_OBS) $(ANNOTATE_OBS)
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
TSOBS = inflow.o
|
|
|
|
|
2003-01-04 07:19:28 +08:00
|
|
|
SUBDIRS = @subdirs@
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# For now, shortcut the "configure GDB for fewer languages" stuff.
|
|
|
|
YYFILES = c-exp.tab.c \
|
2002-11-19 23:17:50 +08:00
|
|
|
objc-exp.tab.c \
|
2002-08-19 18:52:20 +08:00
|
|
|
ada-exp.tab.c \
|
1999-04-16 09:35:26 +08:00
|
|
|
jv-exp.tab.c \
|
2000-08-25 15:54:32 +08:00
|
|
|
f-exp.tab.c m2-exp.tab.c p-exp.tab.c
|
1999-04-16 09:35:26 +08:00
|
|
|
YYOBJ = c-exp.tab.o \
|
2003-03-25 10:18:55 +08:00
|
|
|
objc-exp.tab.o \
|
1999-04-16 09:35:26 +08:00
|
|
|
jv-exp.tab.o \
|
2000-08-25 15:54:32 +08:00
|
|
|
f-exp.tab.o m2-exp.tab.o p-exp.tab.o
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# Things which need to be built when making a distribution.
|
|
|
|
|
|
|
|
DISTSTUFF = $(YYFILES)
|
|
|
|
|
|
|
|
# Prevent Sun make from putting in the machine type. Setting
|
|
|
|
# TARGET_ARCH to nothing works for SunOS 3, 4.0, but not for 4.1.
|
|
|
|
.c.o:
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $<
|
|
|
|
|
2000-03-03 13:44:39 +08:00
|
|
|
all: gdb$(EXEEXT) $(CONFIG_ALL)
|
1999-04-16 09:35:26 +08:00
|
|
|
@$(MAKE) $(FLAGS_TO_PASS) DO=all "DODIRS=`echo $(SUBDIRS) | sed 's/testsuite//'`" subdir_do
|
|
|
|
|
|
|
|
installcheck:
|
|
|
|
|
|
|
|
# The check target can not use subdir_do, because subdir_do does not
|
|
|
|
# use TARGET_FLAGS_TO_PASS.
|
|
|
|
check: force
|
|
|
|
@if [ -f testsuite/Makefile ]; then \
|
|
|
|
rootme=`pwd`; export rootme; \
|
|
|
|
rootsrc=`cd $(srcdir); pwd`; export rootsrc; \
|
|
|
|
cd testsuite; \
|
|
|
|
$(MAKE) $(TARGET_FLAGS_TO_PASS) check; \
|
|
|
|
else true; fi
|
|
|
|
|
1999-06-29 00:06:02 +08:00
|
|
|
info dvi install-info clean-info html install-html: force
|
1999-04-16 09:35:26 +08:00
|
|
|
@$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
|
|
|
|
|
|
|
|
gdb.z:gdb.1
|
|
|
|
nroff -man $(srcdir)/gdb.1 | col -b > gdb.t
|
|
|
|
pack gdb.t ; rm -f gdb.t
|
|
|
|
mv gdb.t.z gdb.z
|
|
|
|
|
|
|
|
# Traditionally "install" depends on "all". But it may be useful
|
|
|
|
# not to; for example, if the user has made some trivial change to a
|
|
|
|
# source file and doesn't care about rebuilding or just wants to save the
|
|
|
|
# time it takes for make to check that all is up to date.
|
|
|
|
# install-only is intended to address that need.
|
|
|
|
install: all install-only
|
2000-02-24 16:16:26 +08:00
|
|
|
install-only: $(CONFIG_INSTALL)
|
1999-04-16 09:35:26 +08:00
|
|
|
transformed_name=`t='$(program_transform_name)'; \
|
2003-07-12 01:53:20 +08:00
|
|
|
echo gdb | sed -e "$$t"` ; \
|
1999-04-16 09:35:26 +08:00
|
|
|
if test "x$$transformed_name" = x; then \
|
|
|
|
transformed_name=gdb ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi ; \
|
2003-08-09 01:30:37 +08:00
|
|
|
$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir) ; \
|
2002-11-09 11:14:11 +08:00
|
|
|
$(INSTALL_PROGRAM) gdb$(EXEEXT) \
|
|
|
|
$(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
|
2003-05-15 00:14:25 +08:00
|
|
|
$(SHELL) $(srcdir)/../mkinstalldirs \
|
2002-11-09 11:14:11 +08:00
|
|
|
$(DESTDIR)$(man1dir) ; \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/gdb.1 \
|
|
|
|
$(DESTDIR)$(man1dir)/$$transformed_name.1
|
1999-04-16 09:35:26 +08:00
|
|
|
@$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
|
|
|
|
|
2000-02-24 16:16:26 +08:00
|
|
|
uninstall: force $(CONFIG_UNINSTALL)
|
1999-04-16 09:35:26 +08:00
|
|
|
transformed_name=`t='$(program_transform_name)'; \
|
|
|
|
echo gdb | sed -e $$t` ; \
|
|
|
|
if test "x$$transformed_name" = x; then \
|
|
|
|
transformed_name=gdb ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi ; \
|
2003-08-09 01:30:37 +08:00
|
|
|
rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) \
|
|
|
|
$(DESTDIR)$(man1dir)/$$transformed_name.1
|
1999-04-16 09:35:26 +08:00
|
|
|
@$(MAKE) DO=uninstall "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do
|
|
|
|
|
|
|
|
# We do this by grepping through sources. If that turns out to be too slow,
|
|
|
|
# maybe we could just require every .o file to have an initialization routine
|
2002-01-06 23:02:01 +08:00
|
|
|
# of a given name (top.o -> _initialize_top, etc.).
|
1999-04-16 09:35:26 +08:00
|
|
|
#
|
|
|
|
# Formatting conventions: The name of the _initialize_* routines must start
|
|
|
|
# in column zero, and must not be inside #if.
|
|
|
|
#
|
|
|
|
# Note that the set of files with init functions might change, or the names
|
|
|
|
# of the functions might change, so this files needs to depend on all the
|
|
|
|
# object files that will be linked into gdb.
|
2000-02-09 00:25:08 +08:00
|
|
|
#
|
|
|
|
# FIXME: There are 2 problems with this approach. First, if the INIT_FILES
|
|
|
|
# list includes a file twice (because of some mistake somewhere else)
|
|
|
|
# the _initialize_* function will be included twice in init.c. Second,
|
2001-07-19 04:53:35 +08:00
|
|
|
# init.c may force unnecessary files to be linked in.
|
2002-06-11 09:31:36 +08:00
|
|
|
|
|
|
|
# FIXME: cagney/2002-06-09: gdb/564: gdb/563: Force the order so that
|
|
|
|
# the first call is to _initialize_gdbtypes. This is a hack to ensure
|
|
|
|
# that all the architecture dependant global builtin_type_* variables
|
|
|
|
# are initialized before anything else (per-architecture code is
|
|
|
|
# called in the same order that it is registered). The ``correct
|
|
|
|
# fix'' is to have all the builtin types made part of the architecture
|
|
|
|
# and initialize them on-demand (using gdbarch_data) just like
|
|
|
|
# everything else. The catch is that other modules still take the
|
|
|
|
# address of these builtin types forcing them to be variables, sigh!
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2003-03-21 06:43:10 +08:00
|
|
|
# NOTE: cagney/2003-03-18: The sed pattern ``s|^\([^ /]...'' is
|
|
|
|
# anchored on the first column and excludes the ``/'' character so
|
|
|
|
# that it doesn't add the $(srcdir) prefix to any file that already
|
|
|
|
# has an absolute path. It turns out that $(DEC)'s True64 make
|
|
|
|
# automatically adds the $(srcdir) prefixes when it encounters files
|
|
|
|
# in sub-directories such as cli/ and mi/.
|
|
|
|
|
2000-12-12 06:36:26 +08:00
|
|
|
INIT_FILES = $(OBS) $(TSOBS) $(CONFIG_OBS) $(CONFIG_INITS)
|
1999-12-07 11:56:43 +08:00
|
|
|
init.c: $(INIT_FILES)
|
1999-04-16 09:35:26 +08:00
|
|
|
@echo Making init.c
|
1999-09-29 05:55:21 +08:00
|
|
|
@rm -f init.c-tmp init.l-tmp
|
1999-12-07 11:56:43 +08:00
|
|
|
@-echo $(INIT_FILES) | \
|
1999-04-16 09:35:26 +08:00
|
|
|
tr ' ' '\012' | \
|
2003-01-31 Andrew Cagney <ac131313@redhat.com>
* config/djgpp/fnchange.lst: Delete nindy files.
* nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
* nindy-share/nindy.c, nindy-share/env.h: Delete files.
* nindy-share/coff.h, nindy-share/block_io.h: Delete files.
* nindy-share/b.out.h, nindy-share/VERSION: Delete files.
* nindy-share/README, nindy-share/Onindy.c: Delete files.
* nindy-tdep.c, nindy-share/Makefile: Delete files.
* Makefile.in (init.c): Remove nindy references.
(saber_gdb): Delete rule.
(ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
and a68v-nat.c.
(hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
(Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
(HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
nindy-share/stop.h.
* hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
* saber.suppress: Delete file.
2003-02-01 04:43:54 +08:00
|
|
|
sed \
|
1999-09-29 05:55:21 +08:00
|
|
|
-e '/^init.o/d' \
|
1999-04-16 09:35:26 +08:00
|
|
|
-e '/xdr_ld.o/d' \
|
|
|
|
-e '/xdr_ptrace.o/d' \
|
|
|
|
-e '/xdr_rdb.o/d' \
|
|
|
|
-e '/udr.o/d' \
|
|
|
|
-e '/udip2soc.o/d' \
|
|
|
|
-e '/udi2go32.o/d' \
|
|
|
|
-e '/version.o/d' \
|
|
|
|
-e '/^[a-z0-9A-Z_]*_[SU].o/d' \
|
|
|
|
-e '/[a-z0-9A-Z_]*-exp.tab.o/d' \
|
|
|
|
-e 's/\.o/.c/' \
|
2002-03-27 13:10:40 +08:00
|
|
|
-e 's,signals\.c,signals/signals\.c,' \
|
2003-03-21 06:43:10 +08:00
|
|
|
-e 's|^\([^ /][^ ]*\)|$(srcdir)/\1|g' | \
|
1999-04-16 09:35:26 +08:00
|
|
|
while read f; do grep '^_initialize_[a-z_0-9A-Z]* *(' $$f 2>/dev/null; done | \
|
2002-06-11 09:31:36 +08:00
|
|
|
sed -e 's/^.*://' -e 's/^\([a-z_0-9A-Z]*\).*/\1/' | \
|
2002-06-27 23:49:23 +08:00
|
|
|
( echo _initialize_gdbtypes ; grep -v '^_initialize_gdbtypes$$' ) > init.l-tmp
|
1999-09-29 05:55:21 +08:00
|
|
|
@echo '/* Do not modify this file. */' >>init.c-tmp
|
|
|
|
@echo '/* It is created automatically by the Makefile. */'>>init.c-tmp
|
|
|
|
@echo '#include "defs.h"' >>init.c-tmp
|
|
|
|
@echo '#include "call-cmds.h"' >>init.c-tmp
|
|
|
|
@sed -e 's/\(.*\)/extern initialize_file_ftype \1;/' <init.l-tmp >>init.c-tmp
|
|
|
|
@echo 'void' >>init.c-tmp
|
|
|
|
@echo 'initialize_all_files (void)' >>init.c-tmp
|
|
|
|
@echo '{' >>init.c-tmp
|
|
|
|
@sed -e 's/\(.*\)/ \1 ();/' <init.l-tmp >>init.c-tmp
|
1999-04-16 09:35:26 +08:00
|
|
|
@echo '}' >>init.c-tmp
|
1999-09-29 05:55:21 +08:00
|
|
|
@rm init.l-tmp
|
1999-04-16 09:35:26 +08:00
|
|
|
@mv init.c-tmp init.c
|
|
|
|
|
|
|
|
.PRECIOUS: init.c
|
|
|
|
|
1999-09-29 05:55:21 +08:00
|
|
|
init.o: init.c $(defs_h) $(call_cmds_h)
|
|
|
|
|
1999-04-16 09:35:26 +08:00
|
|
|
# Removing the old gdb first works better if it is running, at least on SunOS.
|
2002-09-27 01:46:04 +08:00
|
|
|
gdb$(EXEEXT): gdb.o main.o libgdb.a $(CONFIG_OBS) $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
|
1999-04-16 09:35:26 +08:00
|
|
|
rm -f gdb$(EXEEXT)
|
2003-01-05 03:27:19 +08:00
|
|
|
$(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
|
2002-09-27 01:46:04 +08:00
|
|
|
-o gdb$(EXEEXT) gdb.o main.o $(CONFIG_OBS) libgdb.a \
|
|
|
|
$(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
nlm: force
|
|
|
|
rootme=`pwd`; export rootme; $(MAKE) $(TARGET_FLAGS_TO_PASS) DO=all DODIRS=nlm subdir_do
|
|
|
|
|
1999-08-31 09:14:27 +08:00
|
|
|
# Create a library of the gdb object files and build GDB by linking
|
|
|
|
# against that.
|
|
|
|
#
|
|
|
|
# init.o is very important. It pulls in the rest of GDB.
|
|
|
|
LIBGDB_OBS= $(OBS) $(TSOBS) $(ADD_FILES) init.o
|
|
|
|
libgdb.a: $(LIBGDB_OBS)
|
|
|
|
-rm -f libgdb.a
|
|
|
|
$(AR) q libgdb.a $(LIBGDB_OBS)
|
|
|
|
$(RANLIB) libgdb.a
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
# A Mach 3.0 program to force gdb back to command level
|
|
|
|
|
|
|
|
stop-gdb: stop-gdb.o
|
|
|
|
${CC_LD} $(GLOBAL_CFLAGS) $(LDFLAGS) -o stop-gdb \
|
|
|
|
stop-gdb.o $(CLIBS) $(LOADLIBES)
|
|
|
|
|
|
|
|
# This is useful when debugging GDB, because some Unix's don't let you run GDB
|
|
|
|
# on itself without copying the executable. So "make gdb1" will make
|
|
|
|
# gdb and put a copy in gdb1, and you can run it with "gdb gdb1".
|
|
|
|
# Removing gdb1 before the copy is the right thing if gdb1 is open
|
|
|
|
# in another process.
|
|
|
|
gdb1$(EXEEXT): gdb$(EXEEXT)
|
|
|
|
rm -f gdb1$(EXEEXT)
|
|
|
|
cp gdb$(EXEEXT) gdb1$(EXEEXT)
|
|
|
|
|
|
|
|
# FIXME. These are not generated by "make depend" because they only are there
|
|
|
|
# for some machines.
|
|
|
|
# But these rules don't do what we want; we want to hack the foo.o: tm.h
|
|
|
|
# dependency to do the right thing.
|
2003-09-01 10:11:07 +08:00
|
|
|
tm-sun3.h tm-altos.h: tm-m68k.h
|
|
|
|
tm-sun2.h tm-3b1.h: tm-m68k.h
|
1999-04-16 09:35:26 +08:00
|
|
|
tm-sun4os4.h: tm-sparc.h
|
|
|
|
xm-vaxult.h: xm-vax.h
|
|
|
|
xm-vaxbsd.h: xm-vax.h
|
|
|
|
|
|
|
|
# Put the proper machine-specific files first, so M-. on a machine
|
|
|
|
# specific routine gets the one for the correct machine. (FIXME: those
|
|
|
|
# files go in twice; we should be removing them from the main list).
|
|
|
|
|
|
|
|
# TAGS depends on all the files that go into it so you can rebuild TAGS
|
|
|
|
# with `make TAGS' and not have to say `rm TAGS' first.
|
|
|
|
|
|
|
|
TAGS: $(TAGFILES_NO_SRCDIR) $(TAGFILES_WITH_SRCDIR)
|
|
|
|
@echo Making TAGS
|
|
|
|
@etags $(srcdir)/$(TM_FILE) \
|
|
|
|
$(srcdir)/$(XM_FILE) \
|
|
|
|
$(srcdir)/$(NAT_FILE) \
|
|
|
|
`(for i in $(DEPFILES) $(TAGFILES_NO_SRCDIR); do \
|
|
|
|
echo $(srcdir)/$$i ; \
|
|
|
|
done ; for i in $(TAGFILES_WITH_SRCDIR); do \
|
|
|
|
echo $$i ; \
|
|
|
|
done) | sed -e 's/\.o$$/\.c/'` \
|
|
|
|
`find $(srcdir)/config -name '*.h' -print`
|
|
|
|
|
|
|
|
tags: TAGS
|
|
|
|
|
2000-03-03 13:44:39 +08:00
|
|
|
clean mostlyclean: $(CONFIG_CLEAN)
|
1999-04-16 09:35:26 +08:00
|
|
|
@$(MAKE) $(FLAGS_TO_PASS) DO=clean "DODIRS=$(SUBDIRS)" subdir_do
|
2001-05-12 08:31:09 +08:00
|
|
|
rm -f *.o *.a $(ADD_FILES) *~ init.c-tmp init.l-tmp version.c-tmp
|
1999-04-16 09:35:26 +08:00
|
|
|
rm -f init.c version.c
|
1999-08-31 09:14:27 +08:00
|
|
|
rm -f gdb$(EXEEXT) core make.log
|
1999-04-16 09:35:26 +08:00
|
|
|
rm -f gdb[0-9]$(EXEEXT)
|
|
|
|
|
|
|
|
# This used to depend on c-exp.tab.c m2-exp.tab.c TAGS
|
|
|
|
# I believe this is wrong; the makefile standards for distclean just
|
|
|
|
# describe removing files; the only sort of "re-create a distribution"
|
|
|
|
# functionality described is if the distributed files are unmodified.
|
2001-11-18 13:09:26 +08:00
|
|
|
# NB: While GDBSERVER might be configured on native systems, it isn't
|
|
|
|
# always included in SUBDIRS. Remove the gdbserver files explictly.
|
1999-04-16 09:35:26 +08:00
|
|
|
distclean: clean
|
|
|
|
@$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do
|
2001-11-18 13:09:26 +08:00
|
|
|
rm -f gdbserver/config.status gdbserver/config.log
|
|
|
|
rm -f gdbserver/tm.h gdbserver/xm.h gdbserver/nm.h
|
|
|
|
rm -f gdbserver/Makefile gdbserver/config.cache
|
1999-04-16 09:35:26 +08:00
|
|
|
rm -f nm.h tm.h xm.h config.status config.h stamp-h .gdbinit
|
|
|
|
rm -f y.output yacc.acts yacc.tmp y.tab.h
|
|
|
|
rm -f config.log config.cache
|
|
|
|
rm -f Makefile
|
|
|
|
|
|
|
|
maintainer-clean: local-maintainer-clean do-maintainer-clean distclean
|
|
|
|
realclean: maintainer-clean
|
|
|
|
|
|
|
|
local-maintainer-clean:
|
|
|
|
@echo "This command is intended for maintainers to use;"
|
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
rm -f c-exp.tab.c \
|
2002-08-19 18:52:20 +08:00
|
|
|
ada-lex.c ada-exp.tab.c \
|
2002-11-19 23:17:50 +08:00
|
|
|
objc-exp.tab.c \
|
1999-04-16 09:35:26 +08:00
|
|
|
jv-exp.tab \
|
2000-08-25 15:54:32 +08:00
|
|
|
f-exp.tab.c m2-exp.tab.c p-exp.tab.c
|
1999-04-16 09:35:26 +08:00
|
|
|
rm -f TAGS $(INFOFILES)
|
|
|
|
rm -f $(YYFILES)
|
|
|
|
rm -f nm.h tm.h xm.h config.status
|
|
|
|
|
|
|
|
do-maintainer-clean:
|
|
|
|
@$(MAKE) $(FLAGS_TO_PASS) DO=maintainer-clean "DODIRS=$(SUBDIRS)" \
|
|
|
|
subdir_do
|
|
|
|
|
|
|
|
diststuff: $(DISTSTUFF)
|
2000-02-16 12:45:41 +08:00
|
|
|
cd doc; $(MAKE) $(MFLAGS) diststuff
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
subdir_do: force
|
|
|
|
@for i in $(DODIRS); do \
|
|
|
|
if [ -f ./$$i/Makefile ] ; then \
|
|
|
|
if (cd ./$$i; \
|
|
|
|
$(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \
|
|
|
|
else exit 1 ; fi ; \
|
|
|
|
else true ; fi ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
Makefile: Makefile.in config.status @frags@
|
|
|
|
$(SHELL) config.status
|
|
|
|
|
|
|
|
config.h: stamp-h ; @true
|
|
|
|
stamp-h: config.in config.status
|
|
|
|
CONFIG_HEADERS=config.h:config.in $(SHELL) config.status
|
|
|
|
|
2003-05-26 02:50:55 +08:00
|
|
|
config.status: configure configure.tgt configure.host
|
1999-04-16 09:35:26 +08:00
|
|
|
$(SHELL) config.status --recheck
|
|
|
|
|
|
|
|
force:
|
|
|
|
|
|
|
|
# Documentation!
|
|
|
|
# GDB QUICK REFERENCE (TeX dvi file, CM fonts)
|
|
|
|
doc/refcard.dvi:
|
|
|
|
cd doc; $(MAKE) refcard.dvi $(FLAGS_TO_PASS)
|
|
|
|
|
|
|
|
# GDB QUICK REFERENCE (PostScript output, common PS fonts)
|
|
|
|
doc/refcard.ps:
|
|
|
|
cd doc; $(MAKE) refcard.ps $(FLAGS_TO_PASS)
|
|
|
|
|
|
|
|
# GDB MANUAL: TeX dvi file
|
|
|
|
doc/gdb.dvi:
|
|
|
|
cd doc; $(MAKE) gdb.dvi $(FLAGS_TO_PASS)
|
|
|
|
|
|
|
|
# GDB MANUAL: info file
|
|
|
|
doc/gdb.info:
|
|
|
|
cd doc; $(MAKE) gdb.info $(FLAGS_TO_PASS)
|
|
|
|
|
|
|
|
# Make copying.c from COPYING
|
2000-04-13 13:33:41 +08:00
|
|
|
$(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ \
|
|
|
|
$(srcdir)/COPYING $(srcdir)/copying.awk
|
|
|
|
awk -f $(srcdir)/copying.awk \
|
|
|
|
< $(srcdir)/COPYING > $(srcdir)/copying.tmp
|
|
|
|
mv $(srcdir)/copying.tmp $(srcdir)/copying.c
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2001-05-12 08:31:09 +08:00
|
|
|
version.c: Makefile version.in
|
|
|
|
rm -f version.c-tmp version.c
|
|
|
|
echo '#include "version.h"' >> version.c-tmp
|
2002-02-24 04:36:49 +08:00
|
|
|
echo 'const char version[] = "'"`sed q ${srcdir}/version.in`"'";' >> version.c-tmp
|
2001-05-12 08:31:09 +08:00
|
|
|
echo 'const char host_name[] = "$(host_alias)";' >> version.c-tmp
|
|
|
|
echo 'const char target_name[] = "$(target_alias)";' >> version.c-tmp
|
|
|
|
mv version.c-tmp version.c
|
1999-09-09 08:02:17 +08:00
|
|
|
version.o: version.c $(version_h)
|
1999-04-16 09:35:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
lint: $(LINTFILES)
|
|
|
|
$(LINT) $(INCLUDE_CFLAGS) $(LINTFLAGS) $(LINTFILES) \
|
|
|
|
`echo $(DEPFILES) | sed 's/\.o /\.c /g'`
|
|
|
|
|
|
|
|
gdb.cxref: $(SFILES)
|
|
|
|
cxref -I. $(SFILES) >gdb.cxref
|
|
|
|
|
|
|
|
force_update:
|
|
|
|
|
|
|
|
# GNU Make has an annoying habit of putting *all* the Makefile variables
|
|
|
|
# into the environment, unless you include this target as a circumvention.
|
|
|
|
# Rumor is that this will be fixed (and this target can be removed)
|
|
|
|
# in GNU Make 4.0.
|
|
|
|
.NOEXPORT:
|
|
|
|
|
|
|
|
# GNU Make 3.63 has a different problem: it keeps tacking command line
|
|
|
|
# overrides onto the definition of $(MAKE). This variable setting
|
|
|
|
# will remove them.
|
|
|
|
MAKEOVERRIDES=
|
|
|
|
|
2003-01-31 Andrew Cagney <ac131313@redhat.com>
* config/djgpp/fnchange.lst: Delete nindy files.
* nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
* nindy-share/nindy.c, nindy-share/env.h: Delete files.
* nindy-share/coff.h, nindy-share/block_io.h: Delete files.
* nindy-share/b.out.h, nindy-share/VERSION: Delete files.
* nindy-share/README, nindy-share/Onindy.c: Delete files.
* nindy-tdep.c, nindy-share/Makefile: Delete files.
* Makefile.in (init.c): Remove nindy references.
(saber_gdb): Delete rule.
(ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
and a68v-nat.c.
(hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
(Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
(HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
nindy-share/stop.h.
* hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
* saber.suppress: Delete file.
2003-02-01 04:43:54 +08:00
|
|
|
ALLDEPFILES = \
|
2002-07-31 03:59:06 +08:00
|
|
|
aix-thread.c \
|
2002-05-12 00:56:16 +08:00
|
|
|
alpha-nat.c alphabsd-nat.c \
|
2002-05-12 00:21:16 +08:00
|
|
|
alpha-tdep.c alpha-linux-tdep.c alphabsd-tdep.c alphanbsd-tdep.c \
|
2003-06-02 12:34:37 +08:00
|
|
|
alpha-osf1-tdep.c alphafbsd-tdep.c alpha-mdebug-tdep.c \
|
2002-04-22 06:03:10 +08:00
|
|
|
arm-linux-nat.c arm-linux-tdep.c arm-tdep.c \
|
2002-04-22 05:53:44 +08:00
|
|
|
armnbsd-nat.c armnbsd-tdep.c \
|
2002-04-26 04:34:56 +08:00
|
|
|
avr-tdep.c \
|
2001-02-09 09:47:34 +08:00
|
|
|
coff-solib.c \
|
1999-04-16 09:35:26 +08:00
|
|
|
core-sol2.c core-regset.c core-aout.c corelow.c \
|
2002-08-21 08:57:44 +08:00
|
|
|
dcache.c delta68-nat.c dpx2-nat.c exec.c fork-child.c \
|
2003-10-07 05:56:40 +08:00
|
|
|
go32-nat.c h8300-tdep.c \
|
2003-01-31 Andrew Cagney <ac131313@redhat.com>
* config/djgpp/fnchange.lst: Delete nindy files.
* nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
* nindy-share/nindy.c, nindy-share/env.h: Delete files.
* nindy-share/coff.h, nindy-share/block_io.h: Delete files.
* nindy-share/b.out.h, nindy-share/VERSION: Delete files.
* nindy-share/README, nindy-share/Onindy.c: Delete files.
* nindy-tdep.c, nindy-share/Makefile: Delete files.
* Makefile.in (init.c): Remove nindy references.
(saber_gdb): Delete rule.
(ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
and a68v-nat.c.
(hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
(Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
(HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
nindy-share/stop.h.
* hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
* saber.suppress: Delete file.
2003-02-01 04:43:54 +08:00
|
|
|
hppa-tdep.c hppa-hpux-tdep.c \
|
2002-12-17 00:51:47 +08:00
|
|
|
hppab-nat.c hppah-nat.c hpread.c \
|
2002-08-21 01:38:46 +08:00
|
|
|
i386-tdep.c i386b-nat.c i386v-nat.c i386-linux-nat.c \
|
2003-03-21 18:07:18 +08:00
|
|
|
i386v4-nat.c i386ly-tdep.c i386-cygwin-tdep.c \
|
* i386fbsd-tdep.c: New file.
(i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from
i386bsd-tdep.c.
(_initialize_i386fbsd_tdep): New function.
(i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles.
(i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs, TDEP->sizeof_gregset and
TDEP->sizeof_fpregset. Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
(i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE
to initialize TDEP->sc_num_regs.
* i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove.
(_initialize_i386bsd_tdep): Don't register FreeBSD a.out and
FreeBSD ELF OS/ABI's here.
* Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c.
(i386fbsd-tdep.o): New target.
* config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o.
* config/i386/fbsd64.mt (TDEPFILES): Add i386fbsd-tdep.o.
2003-10-11 23:22:39 +08:00
|
|
|
i386bsd-nat.c i386bsd-tdep.c i386fbsd-nat.c i386fbsd-tdep.c \
|
2002-05-12 01:22:27 +08:00
|
|
|
i387-tdep.c \
|
Unified support for hardware breakpoints and watchpoints on
x86 targets:
* config/i386/nm-i386.h: New file.
* config/i386/nm-i386.h: (i386_cleanup_dregs)
(i386_insert_watchpoint, i386_remove_watchpoint)
(i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
(i386_stopped_data_address, i386_insert_hw_breakpoint)
(i386_remove_hw_breakpoint): Declare prototypes.
[I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
Define if not already defined.
(TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
(STOPPED_BY_WATCHPOINT, target_stopped_data_address)
(target_insert_watchpoint, target_remove_watchpoint)
(target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
to call the appropriate i386_* functions.
* i386-nat.c: New file.
* i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
(I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
(I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
(dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
(maint_show_dr): New variables.
(i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
(i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
(i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
(i386_remove_watchpoint, i386_region_ok_for_watchpoint)
(i386_stopped_data_address, i386_stopped_by_hwbp)
(i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
functions.
(_initialize_i386_nat): New function.
[I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
`show-debug-regs', sets maint_show_dr to non-zero value and
activates debugging print-outs in functions which insert, remove,
and test watchpoints and hardware breakpoints.
* Makefile.in (i386-nat.o): New target.
(ALLDEPFILES): Add i386-nat.o.
2001-03-21 19:36:58 +08:00
|
|
|
i386-linux-tdep.c i386-nat.c \
|
2002-08-16 06:24:01 +08:00
|
|
|
i386gnu-nat.c i386gnu-tdep.c \
|
2000-04-26 15:16:15 +08:00
|
|
|
ia64-linux-nat.c ia64-linux-tdep.c ia64-tdep.c \
|
2001-04-18 05:20:49 +08:00
|
|
|
infptrace.c inftarg.c irix4-nat.c irix5-nat.c \
|
1999-04-16 09:35:26 +08:00
|
|
|
lynx-nat.c m3-nat.c \
|
2001-07-22 20:41:49 +08:00
|
|
|
m68hc11-tdep.c \
|
1999-04-16 09:35:26 +08:00
|
|
|
m68k-tdep.c \
|
1999-08-10 05:36:23 +08:00
|
|
|
mcore-tdep.c \
|
2001-11-18 02:38:29 +08:00
|
|
|
mips-linux-nat.c mips-linux-tdep.c \
|
1999-05-20 03:58:41 +08:00
|
|
|
mips-nat.c \
|
2002-07-27 09:41:15 +08:00
|
|
|
mips-irix-tdep.c \
|
2001-12-02 07:06:47 +08:00
|
|
|
mips-tdep.c mipsm3-nat.c mipsv4-nat.c \
|
2002-05-22 05:23:44 +08:00
|
|
|
mipsnbsd-nat.c mipsnbsd-tdep.c \
|
2002-05-12 06:14:19 +08:00
|
|
|
nbsd-tdep.c \
|
2001-05-26 08:52:15 +08:00
|
|
|
ns32k-tdep.c solib-osf.c \
|
1999-04-16 09:35:26 +08:00
|
|
|
somread.c somsolib.c $(HPREAD_SOURCE) \
|
2002-05-30 09:21:53 +08:00
|
|
|
ppc-sysv-tdep.o ppc-linux-nat.c ppc-linux-tdep.c \
|
|
|
|
ppcnbsd-nat.o ppcnbsd-tdep.o \
|
2001-02-09 09:47:34 +08:00
|
|
|
procfs.c \
|
2003-06-15 07:43:15 +08:00
|
|
|
remote-e7000.c \
|
2003-10-16 10:36:39 +08:00
|
|
|
remote-hms.c remote-m32r-sdi.c remote-mips.c \
|
2002-08-23 05:52:45 +08:00
|
|
|
remote-rdp.c remote-sim.c \
|
1999-04-16 09:35:26 +08:00
|
|
|
remote-st.c remote-utils.c dcache.c \
|
2002-06-24 12:47:09 +08:00
|
|
|
remote-vx.c \
|
1999-04-16 09:35:26 +08:00
|
|
|
rs6000-nat.c rs6000-tdep.c \
|
2001-11-07 05:58:53 +08:00
|
|
|
s390-tdep.c s390-nat.c \
|
2001-06-28 11:33:26 +08:00
|
|
|
ser-go32.c ser-pipe.c ser-tcp.c \
|
2003-09-08 19:26:21 +08:00
|
|
|
sh-tdep.c sh64-tdep.c shnbsd-tdep.c shnbsd-nat.c \
|
2002-07-27 09:41:15 +08:00
|
|
|
solib.c solib-irix.c solib-svr4.c solib-sunos.c sparc-linux-nat.c \
|
2001-11-18 02:38:29 +08:00
|
|
|
sparc-nat.c \
|
2002-05-31 08:59:15 +08:00
|
|
|
sparc64nbsd-nat.c sparcnbsd-nat.c sparcnbsd-tdep.c \
|
2001-04-12 06:39:07 +08:00
|
|
|
sparc-tdep.c sparcl-tdep.c sun3-nat.c \
|
1999-04-16 09:35:26 +08:00
|
|
|
symm-tdep.c symm-nat.c \
|
|
|
|
vax-tdep.c \
|
|
|
|
vx-share/xdr_ld.c vx-share/xdr_ptrace.c vx-share/xdr_rdb.c \
|
|
|
|
win32-nat.c \
|
2001-12-13 21:34:41 +08:00
|
|
|
xcoffread.c xcoffsolib.c \
|
2003-10-07 05:56:40 +08:00
|
|
|
xstormy16-tdep.c
|
1999-04-16 09:35:26 +08:00
|
|
|
|
2002-08-17 07:32:04 +08:00
|
|
|
# Some files need explict build rules (due to -Werror problems) or due
|
|
|
|
# to sub-directory fun 'n' games.
|
|
|
|
|
|
|
|
# Provide explicit rule/dependency - works for more makes.
|
|
|
|
copying.o: $(srcdir)/copying.c
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/copying.c
|
|
|
|
|
|
|
|
hpux-thread.o: $(srcdir)/hpux-thread.c
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) -I$(srcdir)/osf-share \
|
|
|
|
-I$(srcdir)/osf-share/HP800 -I/usr/include/dce \
|
|
|
|
$(srcdir)/hpux-thread.c
|
|
|
|
|
2003-01-14 02:00:16 +08:00
|
|
|
# main.o needs an explicit build rule to get TARGET_SYSTEM_ROOT and BINDIR.
|
|
|
|
main.o: main.c
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(TARGET_SYSTEM_ROOT_DEFINE) \
|
|
|
|
-DBINDIR=\"$(bindir)\" $(srcdir)/main.c
|
|
|
|
|
2003-08-11 03:58:21 +08:00
|
|
|
# FIXME: cagney/2003-08-10: "monitor.c" gets -Wformat-nonliteral
|
|
|
|
# errors. It turns out that that is the least of monitor.c's
|
|
|
|
# problems. The function print_vsprintf appears to be using
|
|
|
|
# va_arg(long) to extract CORE_ADDR parameters - something that
|
|
|
|
# definitly will not work. "monitor.c" needs to be rewritten so that
|
|
|
|
# it doesn't use format strings and instead uses callbacks.
|
|
|
|
monitor.o: $(srcdir)/monitor.c
|
|
|
|
$(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/monitor.c
|
|
|
|
|
2003-08-17 01:49:12 +08:00
|
|
|
# FIXME: cagney/2003-08-10: Do not try to build "printcmd.c" with
|
|
|
|
# -Wformat-nonliteral. It needs to be overhauled so that it doesn't
|
|
|
|
# pass user input strings as the format parameter to host printf
|
|
|
|
# function calls.
|
|
|
|
printcmd.o: $(srcdir)/printcmd.c
|
|
|
|
$(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/printcmd.c
|
|
|
|
|
2002-08-17 07:32:04 +08:00
|
|
|
# FIXME: Procfs.o gets -Wformat errors because things like pid_t don't
|
|
|
|
# match output format strings.
|
|
|
|
procfs.o: $(srcdir)/procfs.c
|
|
|
|
$(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/procfs.c
|
|
|
|
|
2002-12-09 05:10:28 +08:00
|
|
|
# FIXME: Thread-db.o gets warnings because the definitions of the register
|
|
|
|
# sets are different from kernel to kernel.
|
|
|
|
thread-db.o: $(srcdir)/thread-db.c
|
|
|
|
$(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) \
|
|
|
|
$(srcdir)/thread-db.c
|
|
|
|
|
2002-08-17 07:32:04 +08:00
|
|
|
v850ice.o: $(srcdir)/v850ice.c
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
|
2002-11-28 03:13:10 +08:00
|
|
|
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
|
2002-08-17 07:32:04 +08:00
|
|
|
$(GDBTK_CFLAGS) \
|
|
|
|
$(srcdir)/v850ice.c
|
|
|
|
|
2003-08-17 01:44:51 +08:00
|
|
|
# FIXME: cagney/2003-08-10: Do not try to build "valprint.c" with
|
|
|
|
# -Wformat-nonliteral. It relies on local_hex_format et.al. and
|
|
|
|
# that's a mess. It needs a serious overhaul.
|
|
|
|
valprint.o: $(srcdir)/valprint.c
|
|
|
|
$(CC) -c $(INTERNAL_WARN_CFLAGS) $(NO_WERROR_CFLAGS) $(srcdir)/valprint.c
|
|
|
|
|
2002-08-26 05:43:05 +08:00
|
|
|
#
|
2003-07-09 04:18:41 +08:00
|
|
|
# YACC/LEX dependencies
|
2002-08-26 05:43:05 +08:00
|
|
|
#
|
2003-07-09 04:18:41 +08:00
|
|
|
# LANG-exp.tab.c is generated in objdir from LANG-exp.y if it doesn't
|
|
|
|
# exist in srcdir, then compiled in objdir to LANG-exp.tab.o. If we
|
|
|
|
# said LANG-exp.tab.c rather than ./c-exp.tab.c some makes would
|
|
|
|
# sometimes re-write it into $(srcdir)/c-exp.tab.c. Remove bogus
|
|
|
|
# decls for malloc/realloc/free which conflict with everything else.
|
|
|
|
# Strictly speaking c-exp.tab.c should therefore depend on
|
|
|
|
# Makefile.in, but that was a pretty big annoyance.
|
2002-08-26 05:43:05 +08:00
|
|
|
|
2003-07-09 04:18:41 +08:00
|
|
|
.PRECIOUS: ada-exp.tab.c
|
2003-08-03 04:11:48 +08:00
|
|
|
ada-exp.tab.o: ada-exp.tab.c $(defs_h) $(expression_h) $(value_h) \
|
|
|
|
$(parser_defs_h) $(language_h) $(ada_lang_h) $(bfd_h) $(symfile_h) \
|
|
|
|
$(objfiles_h) $(frame_h) $(block_h) $(ada_lex_c)
|
|
|
|
ada-exp.tab.c: ada-exp.y
|
|
|
|
$(SHELL) $(YLWRAP) "$(YACC)" \
|
|
|
|
$(srcdir)/ada-exp.y y.tab.c ada-exp.tmp -- $(YFLAGS)
|
2003-07-09 04:18:41 +08:00
|
|
|
-sed -e '/extern.*malloc/d' \
|
|
|
|
-e '/extern.*realloc/d' \
|
|
|
|
-e '/extern.*free/d' \
|
|
|
|
-e '/include.*malloc.h/d' \
|
|
|
|
-e 's/malloc/xmalloc/g' \
|
|
|
|
-e 's/realloc/xrealloc/g' \
|
2003-08-03 04:11:48 +08:00
|
|
|
-e '/^#line.*y.tab.c/d' \
|
|
|
|
< ada-exp.tmp > ada-exp.new
|
|
|
|
-rm ada-exp.tmp
|
2003-07-09 04:18:41 +08:00
|
|
|
mv ada-exp.new ./ada-exp.tab.c
|
|
|
|
.PRECIOUS: ada-lex.c
|
|
|
|
ada-lex.o: ada-lex.c
|
|
|
|
ada-lex.c: ada-lex.l
|
|
|
|
@if [ "$(FLEX)" ] && $(FLEX) --version >/dev/null 2>&1; then \
|
|
|
|
echo $(FLEX) -Isit $(srcdir)/ada-lex.l ">" ada-lex.c; \
|
|
|
|
$(FLEX) -Isit $(srcdir)/ada-lex.l > ada-lex.c; \
|
|
|
|
elif [ ! -f ada-lex.c -a ! -f $(srcdir)/ada-lex.c ]; then \
|
|
|
|
echo "ada-lex.c missing and flex not available."; \
|
|
|
|
false; \
|
|
|
|
elif [ ! -f ada-lex.c ]; then \
|
|
|
|
echo "Warning: ada-lex.c older than ada-lex.l and flex not available."; \
|
|
|
|
fi
|
|
|
|
.PRECIOUS: c-exp.tab.c
|
2002-08-26 05:43:05 +08:00
|
|
|
c-exp.tab.o: c-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
|
|
|
|
$(value_h) $(parser_defs_h) $(language_h) $(c_lang_h) $(bfd_h) \
|
2003-09-26 00:39:39 +08:00
|
|
|
$(symfile_h) $(objfiles_h) $(charset_h) $(block_h) $(cp_support_h)
|
2003-07-09 04:18:41 +08:00
|
|
|
c-exp.tab.c: c-exp.y
|
2003-08-03 04:11:48 +08:00
|
|
|
$(SHELL) $(YLWRAP) "$(YACC)" \
|
|
|
|
$(srcdir)/c-exp.y y.tab.c c-exp.tmp -- $(YFLAGS)
|
2003-07-09 04:18:41 +08:00
|
|
|
-sed -e '/extern.*malloc/d' \
|
|
|
|
-e '/extern.*realloc/d' \
|
|
|
|
-e '/extern.*free/d' \
|
|
|
|
-e '/include.*malloc.h/d' \
|
|
|
|
-e 's/malloc/xmalloc/g' \
|
|
|
|
-e 's/realloc/xrealloc/g' \
|
|
|
|
-e '/^#line.*y.tab.c/d' \
|
|
|
|
< c-exp.tmp > c-exp.new
|
|
|
|
-rm c-exp.tmp
|
|
|
|
mv c-exp.new ./c-exp.tab.c
|
|
|
|
.PRECIOUS: f-exp.tab.c
|
2003-08-03 04:11:48 +08:00
|
|
|
f-exp.tab.o: f-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
|
|
|
|
$(value_h) $(parser_defs_h) $(language_h) $(f_lang_h) $(bfd_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(block_h)
|
2003-07-09 04:18:41 +08:00
|
|
|
f-exp.tab.c: f-exp.y
|
2003-08-03 04:11:48 +08:00
|
|
|
$(SHELL) $(YLWRAP) "$(YACC)" \
|
|
|
|
$(srcdir)/f-exp.y y.tab.c f-exp.tmp -- $(YFLAGS)
|
2003-07-09 04:18:41 +08:00
|
|
|
-sed -e '/extern.*malloc/d' \
|
|
|
|
-e '/extern.*realloc/d' \
|
|
|
|
-e '/extern.*free/d' \
|
|
|
|
-e '/include.*malloc.h/d' \
|
|
|
|
-e 's/malloc/xmalloc/g' \
|
|
|
|
-e 's/realloc/xrealloc/g' \
|
|
|
|
-e '/^#line.*y.tab.c/d' \
|
|
|
|
< f-exp.tmp > f-exp.new
|
|
|
|
-rm f-exp.tmp
|
|
|
|
mv f-exp.new ./f-exp.tab.c
|
|
|
|
.PRECIOUS: jv-exp.tab.c
|
2003-08-03 04:11:48 +08:00
|
|
|
jv-exp.tab.o: jv-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
|
|
|
|
$(value_h) $(parser_defs_h) $(language_h) $(jv_lang_h) $(bfd_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(block_h)
|
2003-07-09 04:18:41 +08:00
|
|
|
jv-exp.tab.c: jv-exp.y
|
2003-08-03 04:11:48 +08:00
|
|
|
$(SHELL) $(YLWRAP) "$(YACC)" \
|
|
|
|
$(srcdir)/jv-exp.y y.tab.c jv-exp.tmp -- $(YFLAGS)
|
2003-07-09 04:18:41 +08:00
|
|
|
-sed -e '/extern.*malloc/d' \
|
|
|
|
-e '/extern.*realloc/d' \
|
|
|
|
-e '/extern.*free/d' \
|
|
|
|
-e '/include.*malloc.h/d' \
|
|
|
|
-e 's/malloc/xmalloc/g' \
|
|
|
|
-e 's/realloc/xrealloc/g' \
|
|
|
|
-e '/^#line.*y.tab.c/d' \
|
|
|
|
< jv-exp.tmp > jv-exp.new
|
|
|
|
-rm jv-exp.tmp
|
|
|
|
mv jv-exp.new ./jv-exp.tab.c
|
|
|
|
.PRECIOUS: m2-exp.tab.c
|
2003-08-03 04:11:48 +08:00
|
|
|
m2-exp.tab.o: m2-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
|
|
|
|
$(language_h) $(value_h) $(parser_defs_h) $(m2_lang_h) $(bfd_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(block_h)
|
2003-07-09 04:18:41 +08:00
|
|
|
m2-exp.tab.c: m2-exp.y
|
2003-08-03 04:11:48 +08:00
|
|
|
$(SHELL) $(YLWRAP) "$(YACC)" \
|
|
|
|
$(srcdir)/m2-exp.y y.tab.c m2-exp.tmp -- $(YFLAGS)
|
2003-07-09 04:18:41 +08:00
|
|
|
-sed -e '/extern.*malloc/d' \
|
|
|
|
-e '/extern.*realloc/d' \
|
|
|
|
-e '/extern.*free/d' \
|
|
|
|
-e '/include.*malloc.h/d' \
|
|
|
|
-e 's/malloc/xmalloc/g' \
|
|
|
|
-e 's/realloc/xrealloc/g' \
|
|
|
|
-e '/^#line.*y.tab.c/d' \
|
|
|
|
< m2-exp.tmp > m2-exp.new
|
|
|
|
-rm m2-exp.tmp
|
|
|
|
mv m2-exp.new ./m2-exp.tab.c
|
|
|
|
.PRECIOUS: objc-exp.tab.c
|
2003-08-03 04:11:48 +08:00
|
|
|
objc-exp.tab.o: objc-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
|
|
|
|
$(objc_lang_h) $(value_h) $(parser_defs_h) $(language_h) $(c_lang_h) \
|
|
|
|
$(bfd_h) $(symfile_h) $(objfiles_h) $(top_h) $(completer_h) \
|
|
|
|
$(block_h)
|
2003-07-09 04:18:41 +08:00
|
|
|
objc-exp.tab.c: objc-exp.y
|
2003-08-03 04:11:48 +08:00
|
|
|
$(SHELL) $(YLWRAP) "$(YACC)" \
|
|
|
|
$(srcdir)/objc-exp.y y.tab.c objc-exp.tmp -- $(YFLAGS)
|
2003-07-09 04:18:41 +08:00
|
|
|
-sed -e '/extern.*malloc/d' \
|
|
|
|
-e '/extern.*realloc/d' \
|
|
|
|
-e '/extern.*free/d' \
|
|
|
|
-e '/include.*malloc.h/d' \
|
|
|
|
-e 's/malloc/xmalloc/g' \
|
|
|
|
-e 's/realloc/xrealloc/g' \
|
|
|
|
-e '/^#line.*y.tab.c/d' \
|
|
|
|
< objc-exp.tmp > objc-exp.new
|
|
|
|
-rm objc-exp.tmp
|
|
|
|
mv objc-exp.new ./objc-exp.tab.c
|
|
|
|
.PRECIOUS: p-exp.tab.c
|
2003-08-03 04:11:48 +08:00
|
|
|
p-exp.tab.o: p-exp.tab.c $(defs_h) $(gdb_string_h) $(expression_h) \
|
|
|
|
$(value_h) $(parser_defs_h) $(language_h) $(p_lang_h) $(bfd_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(block_h)
|
2003-07-09 04:18:41 +08:00
|
|
|
p-exp.tab.c: p-exp.y
|
2003-08-03 04:11:48 +08:00
|
|
|
$(SHELL) $(YLWRAP) "$(YACC)" \
|
|
|
|
$(srcdir)/p-exp.y y.tab.c p-exp.tmp -- $(YFLAGS)
|
2003-07-09 04:18:41 +08:00
|
|
|
-sed -e '/extern.*malloc/d' \
|
|
|
|
-e '/extern.*realloc/d' \
|
|
|
|
-e '/extern.*free/d' \
|
|
|
|
-e '/include.*malloc.h/d' \
|
|
|
|
-e 's/malloc/xmalloc/g' \
|
|
|
|
-e 's/realloc/xrealloc/g' \
|
|
|
|
-e '/^#line.*y.tab.c/d' \
|
|
|
|
< p-exp.tmp > p-exp.new
|
|
|
|
-rm p-exp.tmp
|
|
|
|
mv p-exp.new ./p-exp.tab.c
|
2002-08-26 05:43:05 +08:00
|
|
|
|
2002-08-28 22:02:18 +08:00
|
|
|
#
|
2003-07-09 04:18:41 +08:00
|
|
|
# gdb/ dependencies
|
2002-08-28 22:02:18 +08:00
|
|
|
#
|
2002-08-17 07:32:04 +08:00
|
|
|
|
2002-08-28 22:02:18 +08:00
|
|
|
abug-rom.o: abug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
2002-11-24 03:45:12 +08:00
|
|
|
$(serial_h) $(regcache_h) $(m68k_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
ada-lang.o: ada-lang.c $(gdb_string_h) $(demangle_h) $(defs_h) $(symtab_h) \
|
|
|
|
$(gdbtypes_h) $(gdbcmd_h) $(expression_h) $(parser_defs_h) \
|
|
|
|
$(language_h) $(c_lang_h) $(inferior_h) $(symfile_h) $(objfiles_h) \
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.
2003-04-22 00:48:41 +08:00
|
|
|
$(breakpoint_h) $(gdbcore_h) $(ada_lang_h) $(ui_out_h) $(block_h) \
|
2003-06-11 David Carlton <carlton@bactrian.org>
* dictionary.h: New.
* dictionary.c: New.
* block.h: Add opaque declaration for struct dictionary.
(struct block): Add 'dict' member; delete 'hashtable', 'nsyms',
'sym' members.
(BLOCK_DICT): New macro.
Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM,
BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE,
BLOCK_SHOULD_SORT.
(ALL_BLOCK_SYMBOLS): Update definition.
* Makefile.in (SFILES): Add dictionary.c.
(dictionary_h): New.
(COMMON_OBS): Add dictionary.o.
(dictionary.o): New.
(ada-lang.o): Depend on dictionary_h.
(buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o)
(stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o)
(mi-cmd-stack.o): Ditto.
(gdbtk-cmds.o): Update dependencies.
(gdbtk-stack.o): Ditto.
* ada-lang.c: Include dictionary.h.
(symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS.
(fill_in_ada_prototype, debug_print_block): Ditto.
(ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace
explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable
'is_sorted'.
* mdebugread.c: Include dictionary.h.
(struct parse_stack): Delete 'maxsyms' member.
(parse_symbol): Update calls to new_block. Delete calls to
shrink_block. Use dictionary methods.
(psymtab_to_symtab_1): Delete calls to sort_symtab_syms.
Update calls to new_symtab. Don't maintain maxsyms data.
(mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS.
(add_symbol): Just call dict_add_symbol.
(new_symtab): Delete 'maxsyms' argument.
(new_symtab): Update calls to new_block.
(new_block): Delete 'maxsyms' argument; add 'function' argument.
(shrink_block): Delete function.
(fixup_sigtramp): Update call to new_block. Add symbol via
dict_add_symbol.
* jv-lang.c: Include dictionary.h.
(get_java_class_symtab): Set the BLOCK_DICT of the blocks
appropriately. Set class_symtab->free_func. Make sure the
blockvector is big enough to hold two blocks.
(add_class_symtab_symbol): Use dictionary methods.
(free_class_block): New function.
(type_from_class): Replace explicit iteration by
ALL_BLOCK_SYMBOLS.
* symtab.h (struct symtab): Replace 'free_ptr' method by
'free_func'.
* dwarf2read.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* dwarfread.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* coffread.c (coff_symfile_read): Delete call to sort_symtab_syms.
Include dictionary.h.
(patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS.
* dbxread.c (dbx_psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* objfiles.c: Include dictionary.h.
(objfile_relocate): Update use of ALL_BLOCK_SYMBOLS.
* buildsym.c: Include dictionary.h.
(finish_block): Use dictionary methods.
(end_symtab): Set free_func to NULL, not free_ptr.
* tracepoint.c: Include dictionary.h.
(add_local_symbols): Update use of ALL_BLOCK_SYMBOLS.
(scope_info): Ditto.
* stack.c: Include dictionary.h.
(print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS.
(print_block_frame_labels, print_frame_arg_vars)
(print_frame_args): Ditto.
* symmisc.c (free_symtab_block): Use dictionary methods.
(dump_symtab): Ditto.
(free_symtab): Replace use of 'free_ptr' by 'free_func'.
Include dictionary.h.
* symfile.h: Delete declarations of sort_block_syms,
sort_symtab_syms.
* symfile.c (sort_block_syms): Delete.
(sort_symtab_syms): Delete.
* symtab.c: Include dictionary.h.
(lookup_block_symbol): Use dictionary iterators.
(find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS.
(search_symbols, make_symbol_completion_list): Ditto.
(make_symbol_overload_list): Ditto.
* valops.c (value_of_local): Use dict_empty.
Include dictionary.h.
2003-06-11 David Carlton <carlton@bactrian.org>
* generic/gdbtk-stack.c: Include dictionary.h.
(gdb_block_vars): Update use of ALL_BLOCK_SYMBOLS.
(gdb_get_blocks, gdb_get_vars_command): Ditto.
* generic/gdbtk-cmds.c: Include dictionary.h.
(gdb_listfuncs): Update use of ALL_BLOCK_SYMBOLS.
2003-06-11 David Carlton <carlton@bactrian.org>
* mi-cmd-stack.c: Include dictionary.h.
(list_args_or_locals): Update use of ALL_BLOCK_SYMBOLS.
2003-06-12 07:29:49 +08:00
|
|
|
$(infcall_h) $(dictionary_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
ada-tasks.o: ada-tasks.c $(defs_h) $(command_h) $(value_h) $(language_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(inferior_h) $(symtab_h) $(target_h) $(regcache_h) $(gdbcore_h) \
|
|
|
|
$(gregset_h) $(ada_lang_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
ada-typeprint.o: ada-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) \
|
|
|
|
$(symtab_h) $(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) \
|
|
|
|
$(target_h) $(command_h) $(gdbcmd_h) $(language_h) $(demangle_h) \
|
|
|
|
$(c_lang_h) $(typeprint_h) $(ada_lang_h) $(gdb_string_h)
|
|
|
|
ada-valprint.o: ada-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(expression_h) $(value_h) $(demangle_h) $(valprint_h) $(language_h) \
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.
2003-04-22 00:48:41 +08:00
|
|
|
$(annotate_h) $(ada_lang_h) $(c_lang_h) $(infcall_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
aix-thread.o: aix-thread.c $(defs_h) $(gdb_assert_h) $(gdbthread_h) \
|
|
|
|
$(target_h) $(inferior_h) $(regcache_h) $(gdbcmd_h) $(language_h) \
|
|
|
|
$(ppc_tdep_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
alphabsd-nat.o: alphabsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
|
|
|
|
$(alpha_tdep_h) $(alphabsd_tdep_h) $(gregset_h)
|
|
|
|
alphabsd-tdep.o: alphabsd-tdep.c $(defs_h) $(alpha_tdep_h) \
|
|
|
|
$(alphabsd_tdep_h)
|
|
|
|
alphafbsd-tdep.o: alphafbsd-tdep.c $(defs_h) $(value_h) $(osabi_h) \
|
|
|
|
$(alpha_tdep_h)
|
2003-06-04 14:22:17 +08:00
|
|
|
alpha-linux-tdep.o: alpha-linux-tdep.c $(defs_h) $(frame_h) $(gdb_assert_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(osabi_h) $(alpha_tdep_h)
|
2003-06-02 12:34:37 +08:00
|
|
|
alpha-mdebug-tdep.o: alpha-mdebug-tdep.c $(defs_h) $(frame_h) \
|
|
|
|
$(frame_unwind_h) $(frame_base_h) $(symtab_h) $(gdbcore_h) \
|
|
|
|
$(block_h) $(gdb_assert_h) $(alpha_tdep_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
alpha-nat.o: alpha-nat.c $(defs_h) $(gdb_string_h) $(inferior_h) \
|
|
|
|
$(gdbcore_h) $(target_h) $(regcache_h) $(alpha_tdep_h) $(gregset_h)
|
2002-09-01 06:43:38 +08:00
|
|
|
alphanbsd-tdep.o: alphanbsd-tdep.c $(defs_h) $(gdbcore_h) $(frame_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(regcache_h) $(value_h) $(osabi_h) $(solib_svr4_h) $(alpha_tdep_h) \
|
|
|
|
$(alphabsd_tdep_h) $(nbsd_tdep_h)
|
|
|
|
alpha-osf1-tdep.o: alpha-osf1-tdep.c $(defs_h) $(frame_h) $(gdbcore_h) \
|
|
|
|
$(value_h) $(osabi_h) $(gdb_string_h) $(objfiles_h) $(alpha_tdep_h)
|
|
|
|
alpha-tdep.o: alpha-tdep.c $(defs_h) $(doublest_h) $(frame_h) \
|
|
|
|
$(frame_unwind_h) $(frame_base_h) $(dwarf2_frame_h) $(inferior_h) \
|
|
|
|
$(symtab_h) $(value_h) $(gdbcmd_h) $(gdbcore_h) $(dis_asm_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(gdb_string_h) $(linespec_h) \
|
|
|
|
$(regcache_h) $(reggroups_h) $(arch_utils_h) $(osabi_h) $(block_h) \
|
|
|
|
$(elf_bfd_h) $(alpha_tdep_h)
|
2003-10-19 02:41:22 +08:00
|
|
|
amd64bsd-nat.o: amd64bsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
|
|
|
|
$(gdb_assert_h) $(x86_64_tdep_h) $(amd64_nat_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
amd64fbsd-nat.o: amd64fbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
|
2003-09-05 00:48:42 +08:00
|
|
|
$(gdb_assert_h) $(gregset_h) $(x86_64_tdep_h) $(amd64_nat_h)
|
2003-10-19 02:41:22 +08:00
|
|
|
amd64nbsd-nat.o: amd64nbsd-nat.c $(defs_h) $(gdb_assert_h) \
|
|
|
|
$(x86_64_tdep_h) $(amd64_nat_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
amd64fbsd-tdep.o: amd64fbsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
|
2003-07-14 00:15:59 +08:00
|
|
|
$(gdbcore_h) $(regcache_h) $(osabi_h) $(gdb_string_h) \
|
|
|
|
$(x86_64_tdep_h)
|
2003-10-19 02:41:22 +08:00
|
|
|
amd64nbsd-tdep.o: amd64nbsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
|
|
|
|
$(gdbcore_h) $(osabi_h) $(gdb_assert_h) $(nbsd_tdep_h) \
|
|
|
|
$(x86_64_tdep_h)
|
2003-09-05 00:48:42 +08:00
|
|
|
amd64-nat.o: amd64-nat.c $(defs_h) $(gdbarch_h) $(regcache_h) \
|
|
|
|
$(gdb_assert_h) $(i386_tdep_h) $(x86_64_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
annotate.o: annotate.c $(defs_h) $(annotate_h) $(value_h) $(target_h) \
|
|
|
|
$(gdbtypes_h) $(breakpoint_h)
|
2003-10-07 04:43:39 +08:00
|
|
|
arch-utils.o: arch-utils.c $(defs_h) $(arch_utils_h) $(buildsym_h) \
|
|
|
|
$(gdbcmd_h) $(inferior_h) $(gdb_string_h) $(regcache_h) \
|
|
|
|
$(gdb_assert_h) $(sim_regno_h) $(version_h) $(floatformat_h)
|
1999-12-23 05:45:38 +08:00
|
|
|
arm-linux-nat.o: arm-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(gdb_string_h) $(regcache_h) $(arm_tdep_h) $(gregset_h)
|
2001-08-02 01:41:50 +08:00
|
|
|
arm-linux-tdep.o: arm-linux-tdep.c $(defs_h) $(target_h) $(value_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(gdbtypes_h) $(floatformat_h) $(gdbcore_h) $(frame_h) $(regcache_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(doublest_h) $(solib_svr4_h) $(osabi_h) $(arm_tdep_h) $(symtab_h) \
|
|
|
|
$(symfile_h) $(objfiles_h)
|
* Makefile.in (SFILES): Add osabi.c.
(COMMON_OBS): Add osabi.o.
(osabi.o): New dependency list.
* osabi.c: New file.
* osabi.h: New file.
* doc/gdbint.texinfo: Document new generic OS ABI framework.
* Makefile.in (alpha_tdep_h): Define and use instead of
alpha-tdep.h.
* alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections,
get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi):
Remove.
(alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework.
* alpha-tdep.h: Include osabi.h.
(alpha_abi): Remove.
(gdbarch_tdep): Use generic OS ABI framework.
* alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use
gdbarch_register_osabi.
* alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise.
* alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise.
* alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise.
* Makefile.in (sh_tdep_h): Add osabi.h.
* sh-tdep.h (sh_osabi): Remove.
(gdbarch_tdep): Use generic OS ABI framework.
* sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections,
sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove.
(sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework.
* shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi.
* Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h.
* arm-linux-tdep.c (_initialize_arm_linux_tdep): Use
gdbarch_register_osabi.
* arm-tdep.c (arm_abi_names, process_note_abi_tag_sections,
arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove.
(get_elfosabi): Rename to...
(arm_elf_osabi_sniffer): ...this. Adjust to use generic OS
ABI framework support routines.
(arm_gdbarch_init): Use generic OS ABI framework.
(arm_dump_tdep): Likewise.
(_initialize_arm_tdep): Likewise.
* arm-tdep.h: Include osabi.h.
(arm_abi): Remove.
(gdbarch_tdep): Remove arm_abi and abi_name members. Add
osabi member.
(arm_gdbarch_register_os_abi): Remove prototype.
* armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function.
(_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi.
* Makefile.in (mips-tdep.o): Add osabi.h to dependency list.
* mips-tdep.c: Include osabi.h.
(gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic
OS ABI framework.
2002-05-21 23:36:03 +08:00
|
|
|
armnbsd-nat.o: armnbsd-nat.c $(defs_h) $(arm_tdep_h) $(inferior_h) \
|
|
|
|
$(regcache_h) $(gdbcore_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
armnbsd-tdep.o: armnbsd-tdep.c $(defs_h) $(osabi_h) $(arm_tdep_h) \
|
|
|
|
$(nbsd_tdep_h) $(solib_svr4_h)
|
|
|
|
arm-tdep.o: arm-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(gdbcmd_h) \
|
|
|
|
$(gdbcore_h) $(symfile_h) $(gdb_string_h) $(dis_asm_h) $(regcache_h) \
|
2003-09-05 00:48:42 +08:00
|
|
|
$(doublest_h) $(value_h) $(arch_utils_h) $(osabi_h) \
|
|
|
|
$(frame_unwind_h) $(frame_base_h) $(trad_frame_h) $(arm_tdep_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(gdb_sim_arm_h) $(elf_bfd_h) $(coff_internal_h) $(elf_arm_h) \
|
2003-09-05 00:48:42 +08:00
|
|
|
$(gdb_assert_h) $(bfd_in2_h) $(libcoff_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
avr-tdep.o: avr-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
|
|
|
|
$(frame_base_h) $(trad_frame_h) $(gdbcmd_h) $(gdbcore_h) \
|
|
|
|
$(inferior_h) $(symfile_h) $(arch_utils_h) $(regcache_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(gdb_string_h) $(dis_asm_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
ax-gdb.o: ax-gdb.c $(defs_h) $(symtab_h) $(symfile_h) $(gdbtypes_h) \
|
|
|
|
$(value_h) $(expression_h) $(command_h) $(gdbcmd_h) $(frame_h) \
|
2003-03-02 01:03:19 +08:00
|
|
|
$(target_h) $(ax_h) $(ax_gdb_h) $(gdb_string_h) $(block_h) \
|
|
|
|
$(regcache_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
ax-general.o: ax-general.c $(defs_h) $(ax_h) $(value_h) $(gdb_string_h)
|
2003-11-04 01:03:11 +08:00
|
|
|
bcache.o: bcache.c $(defs_h) $(gdb_obstack_h) $(bcache_h) \
|
|
|
|
$(gdb_string_h) $(gdb_assert_h)
|
2003-11-01 03:19:51 +08:00
|
|
|
bfd-target.o: bfd-target.c $(defs_h) $(target_h) $(bfd_target_h) \
|
|
|
|
$(gdb_assert_h) $(gdb_string_h)
|
2003-04-15 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add cp-namespace.c.
(COMMON_OBS): Add cp-namespace.o.
(block.o): Depend on gdb_obstack_h and cp_support_h.
(buildsym.o): Depend on cp_support_h.
(cp-namespace.o): New.
(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
(dwarf2read.o): Depend on cp_support_h.
* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
* dwarf2read.c (process_die): Set processing_has_namespace_info,
processing_current_namespace.
(read_namespace): Update processing_current_namespace; check for
anonymous namespaces.
(dwarf2_name): New function.
(dwarf2_extension): Ditto.
* cp-support.h: Update copyright, contributors.
Add inclusion guards.
Add opaque declaration for structs obstack, block, symbol.
(struct using_direct): New struct.
Add declarations for cp_find_first_component,
cp_entire_prefix_len, processing_has_namespace_info,
processing_current_namespace, cp_is_anonymous,
cp_add_using_directive, cp_initialize_namespace,
cp_finalize_namespace, cp_set_block_scope,
cp_scan_for_anonymous_namespaces.
* cp-namespace.c: New file.
* cp-support.c: Update copyright.
Include ctype.h, gdb_assert.h, gdbcmd.h.
New variable maint_cplus_cmd_list.
(cp_find_first_component): New function.
(cp_entire_prefix_len, maint_cplus_command)
(first_component_command, _initialize_cp_support): Ditto.
* buildsym.c: Include cp-support.h.
New variable using_list.
(add_symbol_to_list): Check for anonymous namespaces.
(finish_block): Set block's scope.
(start_symtab): Initialize C++ namespace support.
(end_symtab): Finalize C++ namespace support.
* block.h: Add opaque declarations for structs
block_namespace_info, using_direct, and obstack.
Add declarations for block_set_scope and block_set_using.
(struct block): Add 'language_specific' member.
(BLOCK_NAMESPACE): New macro.
* block.c: Include gdb_obstack.h and cp-support.h.
(struct block_namespace_info): New struct.
(block_set_scope): New function.
(block_set_using, block_initialize_namespace): Ditto.
2003-04-15 David Carlton <carlton@math.stanford.edu>
* gdb.c++/maint.exp: New file.
2003-04-16 07:07:11 +08:00
|
|
|
block.o: block.c $(defs_h) $(block_h) $(symtab_h) $(symfile_h) \
|
|
|
|
$(gdb_obstack_h) $(cp_support_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
blockframe.o: blockframe.c $(defs_h) $(symtab_h) $(bfd_h) $(symfile_h) \
|
|
|
|
$(objfiles_h) $(frame_h) $(gdbcore_h) $(value_h) $(target_h) \
|
2002-11-09 03:42:00 +08:00
|
|
|
$(inferior_h) $(annotate_h) $(regcache_h) $(gdb_assert_h) \
|
2003-02-19 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add block.c.
(block_h): New.
(COMMON_OBS): Add block.o.
(block.o): New.
(x86-64-tdep.o): Add $(block_h).
(values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
(stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
(objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
(m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
(f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
(c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
(alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
* value.h: Add opaque declaration for struct block.
* parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
* ada-lang.h: Ditto.
* x86-64-tdep.c: #include "block.h"
* values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
* symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
* objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
* mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
* jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
* findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
* buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
* alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
* blockframe.c (blockvector_for_pc_sect): Move to "block.c".
(blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
* symtab.c (block_function): Ditto.
(contained_in): Ditto.
* frame.h: Move block_for_pc and block_for_pc_sect declarations to
block.h. Add opaque declaration for struct block.
* symtab.h: Move block_function and contained_in declarations to
block.h. Add opaque declarations for struct block, struct
blockvector.
(struct block): Move to block.h.
(struct blockvector): Ditto.
(BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
(BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
(BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
(ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
(BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
Ditto.
* block.c: New file.
* block.h: New file.
2003-02-19 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: #include "block.h"
2003-02-20 08:01:07 +08:00
|
|
|
$(dummy_frame_h) $(command_h) $(gdbcmd_h) $(block_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
breakpoint.o: breakpoint.c $(defs_h) $(symtab_h) $(frame_h) $(breakpoint_h) \
|
|
|
|
$(gdbtypes_h) $(expression_h) $(gdbcore_h) $(gdbcmd_h) $(value_h) \
|
|
|
|
$(command_h) $(inferior_h) $(gdbthread_h) $(target_h) $(language_h) \
|
|
|
|
$(gdb_string_h) $(demangle_h) $(annotate_h) $(symfile_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(objfiles_h) $(source_h) $(linespec_h) $(completer_h) $(gdb_h) \
|
|
|
|
$(ui_out_h) $(cli_script_h) $(gdb_assert_h) $(block_h) \
|
|
|
|
$(gdb_events_h)
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
buildsym.o: buildsym.c $(defs_h) $(bfd_h) $(gdb_obstack_h) $(symtab_h) \
|
2002-11-19 05:53:31 +08:00
|
|
|
$(symfile_h) $(objfiles_h) $(gdbtypes_h) $(gdb_assert_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(complaints_h) $(gdb_string_h) $(expression_h) $(language_h) \
|
|
|
|
$(bcache_h) $(filenames_h) $(macrotab_h) $(demangle_h) $(block_h) \
|
|
|
|
$(cp_support_h) $(dictionary_h) $(buildsym_h) $(stabsread_h)
|
|
|
|
charset.o: charset.c $(defs_h) $(charset_h) $(gdbcmd_h) $(gdb_assert_h) \
|
|
|
|
$(gdb_string_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
c-lang.o: c-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
|
|
|
|
$(parser_defs_h) $(language_h) $(c_lang_h) $(valprint_h) \
|
2003-04-02 11:02:46 +08:00
|
|
|
$(macroscope_h) $(gdb_assert_h) $(charset_h) $(gdb_string_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(demangle_h) $(cp_support_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
cli-out.o: cli-out.c $(defs_h) $(ui_out_h) $(cli_out_h) $(gdb_string_h) \
|
|
|
|
$(gdb_assert_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
coff-pe-read.o: coff-pe-read.c $(coff_pe_read_h) $(bfd_h) $(defs_h) \
|
|
|
|
$(gdbtypes_h) $(symtab_h) $(symfile_h) $(objfiles_h)
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
coffread.o: coffread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(demangle_h) \
|
|
|
|
$(breakpoint_h) $(bfd_h) $(gdb_obstack_h) $(gdb_string_h) \
|
|
|
|
$(coff_internal_h) $(libcoff_h) $(symfile_h) $(objfiles_h) \
|
|
|
|
$(buildsym_h) $(gdb_stabs_h) $(stabsread_h) $(complaints_h) \
|
2003-06-11 David Carlton <carlton@bactrian.org>
* dictionary.h: New.
* dictionary.c: New.
* block.h: Add opaque declaration for struct dictionary.
(struct block): Add 'dict' member; delete 'hashtable', 'nsyms',
'sym' members.
(BLOCK_DICT): New macro.
Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM,
BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE,
BLOCK_SHOULD_SORT.
(ALL_BLOCK_SYMBOLS): Update definition.
* Makefile.in (SFILES): Add dictionary.c.
(dictionary_h): New.
(COMMON_OBS): Add dictionary.o.
(dictionary.o): New.
(ada-lang.o): Depend on dictionary_h.
(buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o)
(stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o)
(mi-cmd-stack.o): Ditto.
(gdbtk-cmds.o): Update dependencies.
(gdbtk-stack.o): Ditto.
* ada-lang.c: Include dictionary.h.
(symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS.
(fill_in_ada_prototype, debug_print_block): Ditto.
(ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace
explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable
'is_sorted'.
* mdebugread.c: Include dictionary.h.
(struct parse_stack): Delete 'maxsyms' member.
(parse_symbol): Update calls to new_block. Delete calls to
shrink_block. Use dictionary methods.
(psymtab_to_symtab_1): Delete calls to sort_symtab_syms.
Update calls to new_symtab. Don't maintain maxsyms data.
(mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS.
(add_symbol): Just call dict_add_symbol.
(new_symtab): Delete 'maxsyms' argument.
(new_symtab): Update calls to new_block.
(new_block): Delete 'maxsyms' argument; add 'function' argument.
(shrink_block): Delete function.
(fixup_sigtramp): Update call to new_block. Add symbol via
dict_add_symbol.
* jv-lang.c: Include dictionary.h.
(get_java_class_symtab): Set the BLOCK_DICT of the blocks
appropriately. Set class_symtab->free_func. Make sure the
blockvector is big enough to hold two blocks.
(add_class_symtab_symbol): Use dictionary methods.
(free_class_block): New function.
(type_from_class): Replace explicit iteration by
ALL_BLOCK_SYMBOLS.
* symtab.h (struct symtab): Replace 'free_ptr' method by
'free_func'.
* dwarf2read.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* dwarfread.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* coffread.c (coff_symfile_read): Delete call to sort_symtab_syms.
Include dictionary.h.
(patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS.
* dbxread.c (dbx_psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* objfiles.c: Include dictionary.h.
(objfile_relocate): Update use of ALL_BLOCK_SYMBOLS.
* buildsym.c: Include dictionary.h.
(finish_block): Use dictionary methods.
(end_symtab): Set free_func to NULL, not free_ptr.
* tracepoint.c: Include dictionary.h.
(add_local_symbols): Update use of ALL_BLOCK_SYMBOLS.
(scope_info): Ditto.
* stack.c: Include dictionary.h.
(print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS.
(print_block_frame_labels, print_frame_arg_vars)
(print_frame_args): Ditto.
* symmisc.c (free_symtab_block): Use dictionary methods.
(dump_symtab): Ditto.
(free_symtab): Replace use of 'free_ptr' by 'free_func'.
Include dictionary.h.
* symfile.h: Delete declarations of sort_block_syms,
sort_symtab_syms.
* symfile.c (sort_block_syms): Delete.
(sort_symtab_syms): Delete.
* symtab.c: Include dictionary.h.
(lookup_block_symbol): Use dictionary iterators.
(find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS.
(search_symbols, make_symbol_completion_list): Ditto.
(make_symbol_overload_list): Ditto.
* valops.c (value_of_local): Use dict_empty.
Include dictionary.h.
2003-06-11 David Carlton <carlton@bactrian.org>
* generic/gdbtk-stack.c: Include dictionary.h.
(gdb_block_vars): Update use of ALL_BLOCK_SYMBOLS.
(gdb_get_blocks, gdb_get_vars_command): Ditto.
* generic/gdbtk-cmds.c: Include dictionary.h.
(gdb_listfuncs): Update use of ALL_BLOCK_SYMBOLS.
2003-06-11 David Carlton <carlton@bactrian.org>
* mi-cmd-stack.c: Include dictionary.h.
(list_args_or_locals): Update use of ALL_BLOCK_SYMBOLS.
2003-06-12 07:29:49 +08:00
|
|
|
$(target_h) $(gdb_assert_h) $(block_h) $(dictionary_h) \
|
|
|
|
$(coff_pe_read_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
coff-solib.o: coff-solib.c $(defs_h) $(frame_h) $(bfd_h) $(gdbcore_h) \
|
|
|
|
$(symtab_h) $(symfile_h) $(objfiles_h)
|
2002-09-19 08:42:41 +08:00
|
|
|
complaints.o: complaints.c $(defs_h) $(complaints_h) $(gdb_assert_h) \
|
|
|
|
$(command_h) $(gdbcmd_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
completer.o: completer.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
|
2003-10-07 06:41:17 +08:00
|
|
|
$(filenames_h) $(cli_decode_h) $(gdbcmd_h) $(completer_h) \
|
|
|
|
$(language_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
copying.o: copying.c $(defs_h) $(command_h) $(gdbcmd_h)
|
|
|
|
core-aout.o: core-aout.c $(defs_h) $(gdbcore_h) $(value_h) $(regcache_h) \
|
|
|
|
$(gdb_dirent_h) $(gdb_stat_h)
|
|
|
|
corefile.o: corefile.c $(defs_h) $(gdb_string_h) $(inferior_h) $(symtab_h) \
|
|
|
|
$(command_h) $(gdbcmd_h) $(bfd_h) $(target_h) $(gdbcore_h) \
|
|
|
|
$(dis_asm_h) $(gdb_stat_h) $(completer_h)
|
|
|
|
corelow.o: corelow.c $(defs_h) $(gdb_string_h) $(frame_h) $(inferior_h) \
|
|
|
|
$(symtab_h) $(command_h) $(bfd_h) $(target_h) $(gdbcore_h) \
|
2003-10-23 11:01:55 +08:00
|
|
|
$(gdbthread_h) $(regcache_h) $(symfile_h) $(exec_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
core-regset.o: core-regset.c $(defs_h) $(command_h) $(gdbcore_h) \
|
|
|
|
$(inferior_h) $(target_h) $(gdb_string_h) $(gregset_h)
|
|
|
|
core-sol2.o: core-sol2.c $(defs_h) $(gdb_string_h) $(regcache_h) \
|
|
|
|
$(inferior_h) $(target_h) $(command_h) $(gdbcore_h) $(gregset_h)
|
|
|
|
cp-abi.o: cp-abi.c $(defs_h) $(value_h) $(cp_abi_h) $(command_h) $(gdbcmd_h) \
|
|
|
|
$(ui_out_h) $(gdb_string_h)
|
2003-04-15 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add cp-namespace.c.
(COMMON_OBS): Add cp-namespace.o.
(block.o): Depend on gdb_obstack_h and cp_support_h.
(buildsym.o): Depend on cp_support_h.
(cp-namespace.o): New.
(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
(dwarf2read.o): Depend on cp_support_h.
* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
* dwarf2read.c (process_die): Set processing_has_namespace_info,
processing_current_namespace.
(read_namespace): Update processing_current_namespace; check for
anonymous namespaces.
(dwarf2_name): New function.
(dwarf2_extension): Ditto.
* cp-support.h: Update copyright, contributors.
Add inclusion guards.
Add opaque declaration for structs obstack, block, symbol.
(struct using_direct): New struct.
Add declarations for cp_find_first_component,
cp_entire_prefix_len, processing_has_namespace_info,
processing_current_namespace, cp_is_anonymous,
cp_add_using_directive, cp_initialize_namespace,
cp_finalize_namespace, cp_set_block_scope,
cp_scan_for_anonymous_namespaces.
* cp-namespace.c: New file.
* cp-support.c: Update copyright.
Include ctype.h, gdb_assert.h, gdbcmd.h.
New variable maint_cplus_cmd_list.
(cp_find_first_component): New function.
(cp_entire_prefix_len, maint_cplus_command)
(first_component_command, _initialize_cp_support): Ditto.
* buildsym.c: Include cp-support.h.
New variable using_list.
(add_symbol_to_list): Check for anonymous namespaces.
(finish_block): Set block's scope.
(start_symtab): Initialize C++ namespace support.
(end_symtab): Finalize C++ namespace support.
* block.h: Add opaque declarations for structs
block_namespace_info, using_direct, and obstack.
Add declarations for block_set_scope and block_set_using.
(struct block): Add 'language_specific' member.
(BLOCK_NAMESPACE): New macro.
* block.c: Include gdb_obstack.h and cp-support.h.
(struct block_namespace_info): New struct.
(block_set_scope): New function.
(block_set_using, block_initialize_namespace): Ditto.
2003-04-15 David Carlton <carlton@math.stanford.edu>
* gdb.c++/maint.exp: New file.
2003-04-16 07:07:11 +08:00
|
|
|
cp-namespace.o: cp-namespace.c $(defs_h) $(cp_support_h) $(gdb_obstack_h) \
|
2003-09-11 David Carlton <carlton@kealia.com>
* gdbtypes.h: Add TYPE_CODE_NAMESPACE.
* gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE.
(recursive_dump_type): Ditto.
* printcmd.c (print_formatted): Ditto.
* typeprint.c (print_type_scalar): Ditto.
* c-typeprint.c (c_type_print_varspec_prefix): Ditto.
(c_type_print_varspec_suffix, c_type_print_base): Ditto.
* cp-support.h: Declare cp_check_possible_namespace_symbols,
maint_cplus_cmd_list.
* cp-support.c: Make maint_cplus_cmd_list extern.
* cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h,
command.h.
(lookup_symbol_file): Look in possible namespace blocks when
appropriate.
(initialize_namespace_symtab): New.
(get_possible_namespace_block, free_namespace_block)
(check_possible_namespace_symbols)
(check_possible_namespace_symbols_loop)
(check_one_possible_namespace_symbol)
(lookup_possible_namespace_symbol, maintenance_cplus_namespace)
(_initialize_cp_namespace): Ditto.
* block.h: Declare allocate_block.
* block.c (allocate_block): New.
* jv-lang.c (get_java_class_symtab): Allocate blocks via
allocate_block.
* symfile.h: Update declaration of add_psymbol_to_list.
* symfile.c (add_psymbol_to_list): Return the partial symbol in
question.
* dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to
scan_partial_symbols_call.
(scan_partial_symbols): Add NAMESPACE argument; update calls to
helper functions.
(add_partial_symbol): If necessary, scan mangled names for names
of namespaces.
(add_partial_namespace): Add NAMESPACE argument; generate partial
symbols associated to namespaces.
(add_partial_enumeration): Add NAMESPACE argument.
(new_symbol): Allow namespace syms.
(read_namespace): Generate namespace syms.
* objfiles.h: Add opaque declaration of struct symtab.
(struct objfile): Add cp_namespace_symtab member.
* objfiles.c (allocate_objfile): Set
objfile->cp_namespace_symtab.
* Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h,
dictionary_h, command_h.
2003-09-11 David Carlton <carlton@kealia.com>
* gdb.c++/namespace.exp: Add tests for namespace types.
* gdb.c++/maint.exp (test_help): Test 'help maint cp namespace'.
(test_namespace): New.
2003-09-12 03:49:20 +08:00
|
|
|
$(symtab_h) $(symfile_h) $(gdb_assert_h) $(block_h) $(objfiles_h) \
|
|
|
|
$(gdbtypes_h) $(dictionary_h) $(command_h)
|
2003-04-15 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add cp-namespace.c.
(COMMON_OBS): Add cp-namespace.o.
(block.o): Depend on gdb_obstack_h and cp_support_h.
(buildsym.o): Depend on cp_support_h.
(cp-namespace.o): New.
(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
(dwarf2read.o): Depend on cp_support_h.
* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
* dwarf2read.c (process_die): Set processing_has_namespace_info,
processing_current_namespace.
(read_namespace): Update processing_current_namespace; check for
anonymous namespaces.
(dwarf2_name): New function.
(dwarf2_extension): Ditto.
* cp-support.h: Update copyright, contributors.
Add inclusion guards.
Add opaque declaration for structs obstack, block, symbol.
(struct using_direct): New struct.
Add declarations for cp_find_first_component,
cp_entire_prefix_len, processing_has_namespace_info,
processing_current_namespace, cp_is_anonymous,
cp_add_using_directive, cp_initialize_namespace,
cp_finalize_namespace, cp_set_block_scope,
cp_scan_for_anonymous_namespaces.
* cp-namespace.c: New file.
* cp-support.c: Update copyright.
Include ctype.h, gdb_assert.h, gdbcmd.h.
New variable maint_cplus_cmd_list.
(cp_find_first_component): New function.
(cp_entire_prefix_len, maint_cplus_command)
(first_component_command, _initialize_cp_support): Ditto.
* buildsym.c: Include cp-support.h.
New variable using_list.
(add_symbol_to_list): Check for anonymous namespaces.
(finish_block): Set block's scope.
(start_symtab): Initialize C++ namespace support.
(end_symtab): Finalize C++ namespace support.
* block.h: Add opaque declarations for structs
block_namespace_info, using_direct, and obstack.
Add declarations for block_set_scope and block_set_using.
(struct block): Add 'language_specific' member.
(BLOCK_NAMESPACE): New macro.
* block.c: Include gdb_obstack.h and cp-support.h.
(struct block_namespace_info): New struct.
(block_set_scope): New function.
(block_set_using, block_initialize_namespace): Ditto.
2003-04-15 David Carlton <carlton@math.stanford.edu>
* gdb.c++/maint.exp: New file.
2003-04-16 07:07:11 +08:00
|
|
|
cp-support.o: cp-support.c $(defs_h) $(cp_support_h) $(gdb_string_h) \
|
2003-06-12 David Carlton <carlton@bactrian.org>
* symtab.h: Delete declaration of make_symbol_overload_list.
Add declaration of lookup_partial_symbol.
* symtab.c (remove_params): Move to cp-support.c.
(overload_list_add_symbol, make_symbol_overload_list)
(sym_return_val_size, sym_return_val_index): Ditto.
(lookup_partial_symbol): Make extern.
* cp-support.h: Add declaration of make_symbol_overload_list.
* cp-support.c: Include dictionary.h, objfiles.h, frame.h,
symtab.h, and block.h.
(remove_params): Move here from symtab.c.
(overload_list_add_symbol, make_symbol_overload_list)
(sym_return_val_size, sym_return_val_index): Ditto.
* valops.c: Include cp-support.h.
* Makefile.in (cp-support.o): Depend on dictionary_h, objfiles_h,
frame_h, and block_h.
(valops.o): Depend on cp_support_h.
2003-06-12 23:33:45 +08:00
|
|
|
$(demangle_h) $(gdb_assert_h) $(gdbcmd_h) $(dictionary_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(objfiles_h) $(frame_h) $(symtab_h) $(block_h) $(complaints_h)
|
|
|
|
cpu32bug-rom.o: cpu32bug-rom.c $(defs_h) $(gdbcore_h) $(target_h) \
|
|
|
|
$(monitor_h) $(serial_h) $(regcache_h) $(m68k_tdep_h)
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
cp-valprint.o: cp-valprint.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
|
|
|
|
$(gdbtypes_h) $(expression_h) $(value_h) $(command_h) $(gdbcmd_h) \
|
|
|
|
$(demangle_h) $(annotate_h) $(gdb_string_h) $(c_lang_h) $(target_h) \
|
2003-05-16 06:18:43 +08:00
|
|
|
$(cp_abi_h) $(valprint_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
cris-tdep.o: cris-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(inferior_h) \
|
|
|
|
$(gdbtypes_h) $(gdbcore_h) $(gdbcmd_h) $(target_h) $(value_h) \
|
2003-09-05 00:48:42 +08:00
|
|
|
$(opcode_cris_h) $(arch_utils_h) $(regcache_h) $(gdb_assert_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(symfile_h) $(solib_h) $(solib_svr4_h) $(gdb_string_h) $(dis_asm_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
c-typeprint.o: c-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
|
|
|
|
$(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \
|
|
|
|
$(language_h) $(demangle_h) $(c_lang_h) $(typeprint_h) $(cp_abi_h) \
|
|
|
|
$(gdb_string_h)
|
|
|
|
c-valprint.o: c-valprint.c $(defs_h) $(gdb_string_h) $(symtab_h) \
|
2003-10-23 07:54:11 +08:00
|
|
|
$(gdbtypes_h) $(expression_h) $(value_h) $(valprint_h) \
|
|
|
|
$(language_h) $(c_lang_h) $(cp_abi_h) $(target_h)
|
2003-04-02 03:55:03 +08:00
|
|
|
d10v-tdep.o: d10v-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
|
|
|
|
$(frame_base_h) $(symtab_h) $(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) \
|
|
|
|
$(gdb_string_h) $(value_h) $(inferior_h) $(dis_asm_h) $(symfile_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(objfiles_h) $(language_h) $(arch_utils_h) $(regcache_h) \
|
|
|
|
$(remote_h) $(floatformat_h) $(gdb_sim_d10v_h) $(sim_regno_h) \
|
|
|
|
$(disasm_h) $(trad_frame_h) $(gdb_assert_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
dbug-rom.o: dbug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
2002-11-24 03:45:12 +08:00
|
|
|
$(serial_h) $(regcache_h) $(m68k_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
dbxread.o: dbxread.c $(defs_h) $(gdb_string_h) $(gdb_obstack_h) \
|
|
|
|
$(gdb_stat_h) $(symtab_h) $(breakpoint_h) $(target_h) $(gdbcore_h) \
|
|
|
|
$(libaout_h) $(symfile_h) $(objfiles_h) $(buildsym_h) $(stabsread_h) \
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
$(gdb_stabs_h) $(demangle_h) $(language_h) $(complaints_h) \
|
2003-10-07 04:43:39 +08:00
|
|
|
$(cp_abi_h) $(gdb_assert_h) $(aout_aout64_h) $(aout_stab_gnu_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
dcache.o: dcache.c $(defs_h) $(dcache_h) $(gdbcmd_h) $(gdb_string_h) \
|
|
|
|
$(gdbcore_h) $(target_h)
|
1999-04-16 09:35:26 +08:00
|
|
|
delta68-nat.o: delta68-nat.c $(defs_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
demangle.o: demangle.c $(defs_h) $(command_h) $(gdbcmd_h) $(demangle_h) \
|
|
|
|
$(gdb_string_h)
|
2003-06-11 David Carlton <carlton@bactrian.org>
* dictionary.h: New.
* dictionary.c: New.
* block.h: Add opaque declaration for struct dictionary.
(struct block): Add 'dict' member; delete 'hashtable', 'nsyms',
'sym' members.
(BLOCK_DICT): New macro.
Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM,
BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE,
BLOCK_SHOULD_SORT.
(ALL_BLOCK_SYMBOLS): Update definition.
* Makefile.in (SFILES): Add dictionary.c.
(dictionary_h): New.
(COMMON_OBS): Add dictionary.o.
(dictionary.o): New.
(ada-lang.o): Depend on dictionary_h.
(buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o)
(stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o)
(mi-cmd-stack.o): Ditto.
(gdbtk-cmds.o): Update dependencies.
(gdbtk-stack.o): Ditto.
* ada-lang.c: Include dictionary.h.
(symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS.
(fill_in_ada_prototype, debug_print_block): Ditto.
(ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace
explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable
'is_sorted'.
* mdebugread.c: Include dictionary.h.
(struct parse_stack): Delete 'maxsyms' member.
(parse_symbol): Update calls to new_block. Delete calls to
shrink_block. Use dictionary methods.
(psymtab_to_symtab_1): Delete calls to sort_symtab_syms.
Update calls to new_symtab. Don't maintain maxsyms data.
(mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS.
(add_symbol): Just call dict_add_symbol.
(new_symtab): Delete 'maxsyms' argument.
(new_symtab): Update calls to new_block.
(new_block): Delete 'maxsyms' argument; add 'function' argument.
(shrink_block): Delete function.
(fixup_sigtramp): Update call to new_block. Add symbol via
dict_add_symbol.
* jv-lang.c: Include dictionary.h.
(get_java_class_symtab): Set the BLOCK_DICT of the blocks
appropriately. Set class_symtab->free_func. Make sure the
blockvector is big enough to hold two blocks.
(add_class_symtab_symbol): Use dictionary methods.
(free_class_block): New function.
(type_from_class): Replace explicit iteration by
ALL_BLOCK_SYMBOLS.
* symtab.h (struct symtab): Replace 'free_ptr' method by
'free_func'.
* dwarf2read.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* dwarfread.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* coffread.c (coff_symfile_read): Delete call to sort_symtab_syms.
Include dictionary.h.
(patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS.
* dbxread.c (dbx_psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* objfiles.c: Include dictionary.h.
(objfile_relocate): Update use of ALL_BLOCK_SYMBOLS.
* buildsym.c: Include dictionary.h.
(finish_block): Use dictionary methods.
(end_symtab): Set free_func to NULL, not free_ptr.
* tracepoint.c: Include dictionary.h.
(add_local_symbols): Update use of ALL_BLOCK_SYMBOLS.
(scope_info): Ditto.
* stack.c: Include dictionary.h.
(print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS.
(print_block_frame_labels, print_frame_arg_vars)
(print_frame_args): Ditto.
* symmisc.c (free_symtab_block): Use dictionary methods.
(dump_symtab): Ditto.
(free_symtab): Replace use of 'free_ptr' by 'free_func'.
Include dictionary.h.
* symfile.h: Delete declarations of sort_block_syms,
sort_symtab_syms.
* symfile.c (sort_block_syms): Delete.
(sort_symtab_syms): Delete.
* symtab.c: Include dictionary.h.
(lookup_block_symbol): Use dictionary iterators.
(find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS.
(search_symbols, make_symbol_completion_list): Ditto.
(make_symbol_overload_list): Ditto.
* valops.c (value_of_local): Use dict_empty.
Include dictionary.h.
2003-06-11 David Carlton <carlton@bactrian.org>
* generic/gdbtk-stack.c: Include dictionary.h.
(gdb_block_vars): Update use of ALL_BLOCK_SYMBOLS.
(gdb_get_blocks, gdb_get_vars_command): Ditto.
* generic/gdbtk-cmds.c: Include dictionary.h.
(gdb_listfuncs): Update use of ALL_BLOCK_SYMBOLS.
2003-06-11 David Carlton <carlton@bactrian.org>
* mi-cmd-stack.c: Include dictionary.h.
(list_args_or_locals): Update use of ALL_BLOCK_SYMBOLS.
2003-06-12 07:29:49 +08:00
|
|
|
dictionary.o: dictionary.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
|
|
|
|
$(buildsym_h) $(gdb_assert_h) $(dictionary_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
dink32-rom.o: dink32-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
|
|
|
$(serial_h) $(symfile_h) $(inferior_h) $(regcache_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
disasm.o: disasm.c $(defs_h) $(target_h) $(value_h) $(ui_out_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(gdb_string_h) $(disasm_h) $(gdbcore_h) $(dis_asm_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
doublest.o: doublest.c $(defs_h) $(doublest_h) $(floatformat_h) \
|
|
|
|
$(gdb_assert_h) $(gdb_string_h) $(gdbtypes_h)
|
2001-05-09 13:45:31 +08:00
|
|
|
dpx2-nat.o: dpx2-nat.c $(defs_h) $(gdbcore_h) $(gdb_string_h)
|
2003-08-28 08:49:31 +08:00
|
|
|
dsrec.o: dsrec.c $(defs_h) $(serial_h) $(srec_h) $(gdb_assert_h) \
|
|
|
|
$(gdb_string_h)
|
2002-11-09 03:42:00 +08:00
|
|
|
dummy-frame.o: dummy-frame.c $(defs_h) $(dummy_frame_h) $(regcache_h) \
|
2003-05-06 02:33:11 +08:00
|
|
|
$(frame_h) $(inferior_h) $(gdb_assert_h) $(frame_unwind_h) \
|
|
|
|
$(command_h) $(gdbcmd_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
dve3900-rom.o: dve3900-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
|
|
|
$(serial_h) $(inferior_h) $(command_h) $(gdb_string_h) $(regcache_h)
|
Based on a patch from Daniel Berlin (dberlin@dberlin.org).
* symtab.h: Add opaque declarations of struct axs_value and
struct agent_expr.
(enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
(struct location_funcs): New type.
(struct symbol): Add "loc" to aux_value.
(SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
* dwarf2read.c: Include "dwarf2expr.h".
(dwarf2_symbol_mark_computed): New function.
(read_func_scope): Use it.
(var_decode_location): New function.
(new_symbol): Use it.
* dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
* Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
(dwarf2expr_h, dwarf2loc_h): New variables.
(COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
(dwarf2expr.o, dwarf2loc.o): New rules.
(dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
* buildsym.c (finish_block): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* printcmd.c (address_info, print_frame_args): Likewise.
* stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* ada-lang.c (ada_resolve_subexp, symtab_for_sym)
(ada_add_block_symbols, fill_in_ada_prototype): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
2003-02-21 23:24:18 +08:00
|
|
|
dwarf2expr.o: dwarf2expr.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(value_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(gdbcore_h) $(elf_dwarf2_h) $(dwarf2expr_h)
|
|
|
|
dwarf2-frame.o: dwarf2-frame.c $(defs_h) $(dwarf2expr_h) $(elf_dwarf2_h) \
|
|
|
|
$(frame_h) $(frame_base_h) $(frame_unwind_h) $(gdbcore_h) \
|
|
|
|
$(gdbtypes_h) $(symtab_h) $(objfiles_h) $(regcache_h) \
|
|
|
|
$(gdb_assert_h) $(gdb_string_h) $(complaints_h) $(dwarf2_frame_h)
|
Based on a patch from Daniel Berlin (dberlin@dberlin.org).
* symtab.h: Add opaque declarations of struct axs_value and
struct agent_expr.
(enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
(struct location_funcs): New type.
(struct symbol): Add "loc" to aux_value.
(SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
* dwarf2read.c: Include "dwarf2expr.h".
(dwarf2_symbol_mark_computed): New function.
(read_func_scope): Use it.
(var_decode_location): New function.
(new_symbol): Use it.
* dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
* Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
(dwarf2expr_h, dwarf2loc_h): New variables.
(COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
(dwarf2expr.o, dwarf2loc.o): New rules.
(dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
* buildsym.c (finish_block): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* printcmd.c (address_info, print_frame_args): Likewise.
* stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* ada-lang.c (ada_resolve_subexp, symtab_for_sym)
(ada_add_block_symbols, fill_in_ada_prototype): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
2003-02-21 23:24:18 +08:00
|
|
|
dwarf2loc.o: dwarf2loc.c $(defs_h) $(ui_out_h) $(value_h) $(frame_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(gdbcore_h) $(target_h) $(inferior_h) $(ax_h) $(ax_gdb_h) \
|
|
|
|
$(regcache_h) $(objfiles_h) $(elf_dwarf2_h) $(dwarf2expr_h) \
|
|
|
|
$(dwarf2loc_h) $(gdb_string_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
dwarf2read.o: dwarf2read.c $(defs_h) $(bfd_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(elf_dwarf2_h) $(buildsym_h) \
|
|
|
|
$(demangle_h) $(expression_h) $(filenames_h) $(macrotab_h) \
|
Based on a patch from Daniel Berlin (dberlin@dberlin.org).
* symtab.h: Add opaque declarations of struct axs_value and
struct agent_expr.
(enum address_class): Add LOC_COMPUTED and LOC_COMPUTED_ARG.
(struct location_funcs): New type.
(struct symbol): Add "loc" to aux_value.
(SYMBOL_LOCATION_BATON, SYMBOL_LOCATION_FUNCS): New macros.
* dwarf2read.c: Include "dwarf2expr.h".
(dwarf2_symbol_mark_computed): New function.
(read_func_scope): Use it.
(var_decode_location): New function.
(new_symbol): Use it.
* dwarf2expr.c, dwarf2expr.h, dwarf2loc.c, dwarf2loc.h: New files.
* Makefile.in (SFILES): Add dwarf2loc.c and dwarf2expr.c.
(dwarf2expr_h, dwarf2loc_h): New variables.
(COMMON_OBS): Add dwarf2expr.o and dwarf2loc.o.
(dwarf2expr.o, dwarf2loc.o): New rules.
(dwarf2read.o): Add $(dwarf2expr_h) and $(dwarf2loc_h).
* buildsym.c (finish_block): Handle LOC_COMPUTED and
LOC_COMPUTED_ARG.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* printcmd.c (address_info, print_frame_args): Likewise.
* stack.c (print_block_frame_locals, print_frame_arg_vars): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* ada-lang.c (ada_resolve_subexp, symtab_for_sym)
(ada_add_block_symbols, fill_in_ada_prototype): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
2003-02-21 23:24:18 +08:00
|
|
|
$(language_h) $(complaints_h) $(bcache_h) $(dwarf2expr_h) \
|
2003-04-15 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add cp-namespace.c.
(COMMON_OBS): Add cp-namespace.o.
(block.o): Depend on gdb_obstack_h and cp_support_h.
(buildsym.o): Depend on cp_support_h.
(cp-namespace.o): New.
(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
(dwarf2read.o): Depend on cp_support_h.
* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
* dwarf2read.c (process_die): Set processing_has_namespace_info,
processing_current_namespace.
(read_namespace): Update processing_current_namespace; check for
anonymous namespaces.
(dwarf2_name): New function.
(dwarf2_extension): Ditto.
* cp-support.h: Update copyright, contributors.
Add inclusion guards.
Add opaque declaration for structs obstack, block, symbol.
(struct using_direct): New struct.
Add declarations for cp_find_first_component,
cp_entire_prefix_len, processing_has_namespace_info,
processing_current_namespace, cp_is_anonymous,
cp_add_using_directive, cp_initialize_namespace,
cp_finalize_namespace, cp_set_block_scope,
cp_scan_for_anonymous_namespaces.
* cp-namespace.c: New file.
* cp-support.c: Update copyright.
Include ctype.h, gdb_assert.h, gdbcmd.h.
New variable maint_cplus_cmd_list.
(cp_find_first_component): New function.
(cp_entire_prefix_len, maint_cplus_command)
(first_component_command, _initialize_cp_support): Ditto.
* buildsym.c: Include cp-support.h.
New variable using_list.
(add_symbol_to_list): Check for anonymous namespaces.
(finish_block): Set block's scope.
(start_symtab): Initialize C++ namespace support.
(end_symtab): Finalize C++ namespace support.
* block.h: Add opaque declarations for structs
block_namespace_info, using_direct, and obstack.
Add declarations for block_set_scope and block_set_using.
(struct block): Add 'language_specific' member.
(BLOCK_NAMESPACE): New macro.
* block.c: Include gdb_obstack.h and cp-support.h.
(struct block_namespace_info): New struct.
(block_set_scope): New function.
(block_set_using, block_initialize_namespace): Ditto.
2003-04-15 David Carlton <carlton@math.stanford.edu>
* gdb.c++/maint.exp: New file.
2003-04-16 07:07:11 +08:00
|
|
|
$(dwarf2loc_h) $(cp_support_h) $(gdb_string_h) $(gdb_assert_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
dwarfread.o: dwarfread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(symfile_h) \
|
|
|
|
$(objfiles_h) $(elf_dwarf_h) $(buildsym_h) $(demangle_h) \
|
|
|
|
$(expression_h) $(language_h) $(complaints_h) $(gdb_string_h)
|
|
|
|
elfread.o: elfread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(elf_bfd_h) \
|
|
|
|
$(elf_mips_h) $(symtab_h) $(symfile_h) $(objfiles_h) $(buildsym_h) \
|
|
|
|
$(stabsread_h) $(gdb_stabs_h) $(complaints_h) $(demangle_h)
|
|
|
|
environ.o: environ.c $(defs_h) $(environ_h) $(gdb_string_h)
|
|
|
|
eval.o: eval.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(value_h) $(expression_h) $(target_h) $(frame_h) $(language_h) \
|
* parser-defs.h (struct exp_descriptor): New definition, containing
language-specific info for printing, prefixifying, dumping, and
evaluating expressions.
(exp_descriptor_standard): Declare new variable.
(print_subexp): Make global and declare here (from expprint.c).
(dump_subexp): Ditto.
(dump_subexp_body_standard): Declare.
(operator_length_standard): Declare.
(op_name_standard): Declare.
(print_subexp): Declare.
(print_subexp_standard): Declare.
* language.h (struct language_defn): Add la_exp_desc field to hold
pointer to table for language-specific operators.
Remove evaluate_exp field, which is now in struct exp_descriptor.
* parse.c (operator_length): Move most code to new
operator_length_standard function. Use language-specific information.
(operator_length_standard): New function taking most code from
operator_length.
(exp_descriptor_standard): New constant.
* expression.h (enum exp_opcode): Add definitions of OP_EXTENDED0
and OP_EXTENDED_LAST.
* expprint.c (print_subexp): Use language-specific print_subexp.
Make global; remove static declaration.
Move most code to print_subexp_standard.
(print_subexp_standard): New function, containing code formerly in
print_subexp.
(op_name): Add expression to argument signature.
Use langauge-specific op_name.
Move most code to op_name_standard.
(op_name_standard): New function, containing code formerly in op_name.
(dump_subexp): Use new version of op_name function.
Use language-specific dump_subexp_body, and move most existing code to
dump_subexp_body_standard.
(dump_raw_expression): Use new op_name interface.
(dump_subexp_body): Move most code to dump_subexp_body_standard.
(dump_subexp_body_standard): New function, containing code formerly
in dump_subexp_body.
* language.c (unknown_language): Add default la_exp_desc field and
remove evaluate_exp field.
(auto_language): Ditto.
(local_language): Ditto.
* f-lang.c (f_language_defn): Ditto.
* c-lang.c (c_language_defn): Ditto.
(cplus_language_defn): Ditto.
(asm_language_defn): Ditto.
(minimal_language_defn): Ditto.
* p-lang.c (pascal_language_defn): Ditto.
* m2-lang.c (m2_language_defn): Ditto.
* objc-lang.c (objc_language_defn): Ditto.
* jv-lang.c (exp_descriptor_java): New variable, containing
Java-specific expression evaluator.
(java_language_defn): Add la_exp_desc field and remove evaluate_exp
field.
* scm-lang.c (exp_descriptor_scm): New variable, containing
Scheme-specific expression evaluator.
(scm_language_defn): Add la_exp_desc field and remove evaluate_exp
field.
* objc-lang.c (print_object_command): Take evaluate_exp from the
la_exp_desc field.
* Makefile.in (eval.o): Add dependency on parser-defs.h.
* eval.c: Include parser-defs.h for the full declaration of
la_exp_desc's type.
(evaluate_subexp): Get evaluate_exp out of la_exp_desc field.
2003-09-25 16:40:45 +08:00
|
|
|
$(f_lang_h) $(cp_abi_h) $(infcall_h) $(objc_lang_h) $(block_h) \
|
|
|
|
$(parser_defs_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
event-loop.o: event-loop.c $(defs_h) $(event_loop_h) $(event_top_h) \
|
|
|
|
$(gdb_string_h)
|
|
|
|
event-top.o: event-top.c $(defs_h) $(top_h) $(inferior_h) $(target_h) \
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
$(terminal_h) $(event_loop_h) $(event_top_h) $(interps_h) \
|
|
|
|
$(gdbcmd_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
exec.o: exec.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) $(gdbcmd_h) \
|
|
|
|
$(language_h) $(symfile_h) $(objfiles_h) $(completer_h) $(value_h) \
|
2003-10-23 11:01:55 +08:00
|
|
|
$(gdb_string_h) $(gdbcore_h) $(gdb_stat_h) $(xcoffsolib_h) \
|
|
|
|
$(exec_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
expprint.o: expprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
|
2003-07-07 22:36:58 +08:00
|
|
|
$(value_h) $(language_h) $(parser_defs_h) $(user_regs_h) $(target_h) \
|
|
|
|
$(gdb_string_h) $(block_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
fbsd-proc.o: fbsd-proc.c $(defs_h) $(gdbcore_h) $(inferior_h) \
|
|
|
|
$(gdb_string_h) $(elf_bfd_h) $(gregset_h)
|
|
|
|
findvar.o: findvar.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(frame_h) \
|
|
|
|
$(value_h) $(gdbcore_h) $(inferior_h) $(target_h) $(gdb_string_h) \
|
|
|
|
$(gdb_assert_h) $(floatformat_h) $(symfile_h) $(regcache_h) \
|
2003-07-07 22:36:58 +08:00
|
|
|
$(user_regs_h) $(block_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
f-lang.o: f-lang.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(expression_h) $(parser_defs_h) $(language_h) $(f_lang_h) \
|
|
|
|
$(valprint_h) $(value_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
fork-child.o: fork-child.c $(defs_h) $(gdb_string_h) $(frame_h) \
|
|
|
|
$(inferior_h) $(target_h) $(gdb_wait_h) $(gdb_vfork_h) $(gdbcore_h) \
|
|
|
|
$(terminal_h) $(gdbthread_h) $(command_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
frame-base.o: frame-base.c $(defs_h) $(frame_base_h) $(frame_h)
|
2001-03-01 23:49:13 +08:00
|
|
|
frame.o: frame.c $(defs_h) $(frame_h) $(target_h) $(value_h) $(inferior_h) \
|
2003-07-07 22:36:58 +08:00
|
|
|
$(regcache_h) $(gdb_assert_h) $(gdb_string_h) $(user_regs_h) \
|
2003-04-02 03:11:01 +08:00
|
|
|
$(gdb_obstack_h) $(dummy_frame_h) $(sentinel_frame_h) $(gdbcore_h) \
|
|
|
|
$(annotate_h) $(language_h) $(frame_unwind_h) $(frame_base_h) \
|
|
|
|
$(command_h) $(gdbcmd_h)
|
2003-01-18 Andrew Cagney <ac131313@redhat.com>
* dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
(struct frame_unwind): Declare opaque.
(dummy_frame_p): Declare function.
* dummy-frame.c (dummy_frame_id_unwind): Make static.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
* dummy-frame.c: Include "frame-unwind.h".
(dummy_frame_p): New function.
(dummy_frame_unwind): New variable.
* frame.c: Include "frame-unwind.h".
(frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
to use the new unwind field.
(set_unwind_by_pc): Delete function.
(create_new_frame, get_prev_frame): Set unwind field using
frame_unwind_find_by_pc.
(trad_frame_unwind, trad_frame_unwinder): New variables.
* frame.h (trad_frame_unwind): Declare variable.
(frame_id_unwind_ftype): Delete declaration.
(frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
(struct frame_unwind): Declare opaque.
(struct frame_info): Replace the fields id_unwind, pc_unwind and
register_unwind with a single unwind pointer.
* frame-unwind.h, frame-unwind.c: New files.
* Makefile.in (SFILES): Add frame-unwind.c.
(frame_unwind_h): Define.
(COMMON_OBS): Add frame-unwind.o.
(frame-unwind.o): Specify dependencies.
(frame.o, dummy-frame.o): Update dependencies.
2003-01-19 01:25:23 +08:00
|
|
|
frame-unwind.o: frame-unwind.c $(defs_h) $(frame_h) $(frame_unwind_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(gdb_assert_h) $(dummy_frame_h)
|
2003-08-21 04:22:41 +08:00
|
|
|
frv-tdep.o: frv-tdep.c $(defs_h) $(gdb_string_h) $(inferior_h) $(symfile_h) \
|
2003-09-05 00:48:42 +08:00
|
|
|
$(gdbcore_h) $(arch_utils_h) $(regcache_h) $(frame_h) \
|
2003-11-01 09:42:48 +08:00
|
|
|
$(frame_unwind_h) $(frame_base_h) $(trad_frame_h) $(dis_asm_h) \
|
|
|
|
$(gdb_assert_h) $(sim_regno_h) $(gdb_sim_frv_h) $(frv_desc_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
f-typeprint.o: f-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
|
|
|
|
$(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \
|
|
|
|
$(f_lang_h) $(gdb_string_h)
|
|
|
|
f-valprint.o: f-valprint.c $(defs_h) $(gdb_string_h) $(symtab_h) \
|
|
|
|
$(gdbtypes_h) $(expression_h) $(value_h) $(valprint_h) $(language_h) \
|
|
|
|
$(f_lang_h) $(frame_h) $(gdbcore_h) $(command_h) $(block_h)
|
2003-10-07 04:43:39 +08:00
|
|
|
gcore.o: gcore.c $(defs_h) $(elf_bfd_h) $(infcall_h) $(inferior_h) \
|
|
|
|
$(gdbcore_h) $(objfiles_h) $(symfile_h) $(cli_decode_h) \
|
|
|
|
$(gdb_assert_h)
|
2002-08-03 04:51:21 +08:00
|
|
|
gdbarch.o: gdbarch.c $(defs_h) $(arch_utils_h) $(gdbcmd_h) $(inferior_h) \
|
2003-09-05 00:48:42 +08:00
|
|
|
$(symcat_h) $(floatformat_h) $(gdb_assert_h) $(gdb_string_h) \
|
|
|
|
$(gdb_events_h) $(reggroups_h) $(osabi_h) $(symfile_h) \
|
|
|
|
$(gdb_obstack_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
gdb.o: gdb.c $(defs_h) $(main_h) $(gdb_string_h) $(interps_h)
|
|
|
|
gdb-events.o: gdb-events.c $(defs_h) $(gdb_events_h) $(gdbcmd_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
gdbtypes.o: gdbtypes.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(gdbtypes_h) $(expression_h) \
|
|
|
|
$(language_h) $(target_h) $(value_h) $(demangle_h) $(complaints_h) \
|
|
|
|
$(gdbcmd_h) $(wrapper_h) $(cp_abi_h) $(gdb_assert_h)
|
|
|
|
gnu-nat.o: gnu-nat.c $(gdb_string_h) $(defs_h) $(inferior_h) $(symtab_h) \
|
|
|
|
$(value_h) $(language_h) $(target_h) $(gdb_wait_h) $(gdbcmd_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(gdbcore_h) $(gdbthread_h) $(gdb_assert_h) $(gdb_obstack_h) \
|
|
|
|
$(gnu_nat_h) $(exc_request_S_h) $(notify_S_h) $(process_reply_S_h) \
|
|
|
|
$(msg_reply_S_h) $(exc_request_U_h) $(msg_U_h)
|
2001-05-12 12:09:38 +08:00
|
|
|
gnu-v2-abi.o: gnu-v2-abi.c $(defs_h) $(gdb_string_h) $(symtab_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(gdbtypes_h) $(value_h) $(demangle_h) $(cp_abi_h)
|
2002-07-30 Andrew Cagney <ac131313@redhat.com>
* symtab.h: Replace #include "gdb_obstack.h" with opaque
declaration.
* cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h".
* gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto.
* avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto.
* arch-utils.c, cli/cli-setshow.c: Unconditionally include
"gdb_string.h".
* Makefile.in (cli-script.o, cli-cmds.o): Update dependencies.
(gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto.
(cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto.
(avr-tdep.o, mon960-rom.o): Ditto.
(aout_stabs_gnu_h): Define.
(symtab_h): Remove $(gdb_obstack_h).
2002-07-30 21:45:15 +08:00
|
|
|
gnu-v3-abi.o: gnu-v3-abi.c $(defs_h) $(value_h) $(cp_abi_h) $(demangle_h) \
|
|
|
|
$(gdb_assert_h) $(gdb_string_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
go32-nat.o: go32-nat.c $(defs_h) $(inferior_h) $(gdb_wait_h) $(gdbcore_h) \
|
|
|
|
$(command_h) $(gdbcmd_h) $(floatformat_h) $(buildsym_h) \
|
|
|
|
$(i387_tdep_h) $(i386_tdep_h) $(value_h) $(regcache_h) \
|
|
|
|
$(gdb_string_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
h8300-tdep.o: h8300-tdep.c $(defs_h) $(value_h) $(inferior_h) $(symfile_h) \
|
|
|
|
$(arch_utils_h) $(regcache_h) $(gdbcore_h) $(objfiles_h) $(gdbcmd_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(gdb_assert_h) $(dis_asm_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
hpacc-abi.o: hpacc-abi.c $(defs_h) $(value_h) $(gdb_regex_h) $(gdb_string_h) \
|
|
|
|
$(gdbtypes_h) $(gdbcore_h) $(cp_abi_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
hppab-nat.o: hppab-nat.c $(defs_h) $(inferior_h) $(target_h) $(regcache_h)
|
|
|
|
hppah-nat.o: hppah-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
|
|
|
|
$(gdb_wait_h) $(regcache_h) $(gdb_string_h)
|
|
|
|
hppa-hpux-tdep.o: hppa-hpux-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
|
|
|
|
$(osabi_h) $(gdb_string_h) $(frame_h)
|
|
|
|
hppam3-nat.o: hppam3-nat.c $(defs_h) $(inferior_h) $(floatformat_h) \
|
|
|
|
$(regcache_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
hppa-tdep.o: hppa-tdep.c $(defs_h) $(frame_h) $(bfd_h) $(inferior_h) \
|
2003-03-30 07:29:47 +08:00
|
|
|
$(value_h) $(regcache_h) $(completer_h) $(language_h) $(osabi_h) \
|
2003-10-07 04:43:39 +08:00
|
|
|
$(gdb_assert_h) $(infttrace_h) $(symtab_h) $(infcall_h) $(dis_asm_h) \
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.
2003-04-22 00:48:41 +08:00
|
|
|
$(a_out_encap_h) $(gdb_stat_h) $(gdb_wait_h) $(gdbcore_h) \
|
2003-10-07 04:43:39 +08:00
|
|
|
$(gdbcmd_h) $(target_h) $(symfile_h) $(objfiles_h) $(hppa_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
hpread.o: hpread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(hp_symtab_h) \
|
|
|
|
$(syms_h) $(symtab_h) $(symfile_h) $(objfiles_h) $(buildsym_h) \
|
|
|
|
$(complaints_h) $(gdb_stabs_h) $(gdbtypes_h) $(demangle_h) \
|
2003-03-30 07:29:47 +08:00
|
|
|
$(somsolib_h) $(gdb_assert_h) $(gdb_string_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
hpux-thread.o: hpux-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
|
2003-02-07 13:33:45 +08:00
|
|
|
$(inferior_h) $(regcache_h) $(gdb_stat_h) $(gdbcore_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
i386b-nat.o: i386b-nat.c $(defs_h)
|
|
|
|
i386bsd-nat.o: i386bsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
|
|
|
|
$(gdb_assert_h) $(gregset_h) $(i386_tdep_h) $(i387_tdep_h)
|
|
|
|
i386bsd-tdep.o: i386bsd-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
|
|
|
|
$(gdbcore_h) $(regcache_h) $(osabi_h) $(gdb_string_h) $(i386_tdep_h)
|
|
|
|
i386-cygwin-tdep.o: i386-cygwin-tdep.c $(defs_h) $(osabi_h) $(gdb_string_h) \
|
|
|
|
$(i386_tdep_h)
|
2003-09-05 00:48:42 +08:00
|
|
|
i386fbsd-nat.o: i386fbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
|
|
|
|
$(i386_tdep_h)
|
* i386fbsd-tdep.c: New file.
(i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from
i386bsd-tdep.c.
(_initialize_i386fbsd_tdep): New function.
(i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles.
(i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs, TDEP->sizeof_gregset and
TDEP->sizeof_fpregset. Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
(i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE
to initialize TDEP->sc_num_regs.
* i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,
i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi,
i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove.
(_initialize_i386bsd_tdep): Don't register FreeBSD a.out and
FreeBSD ELF OS/ABI's here.
* Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c.
(i386fbsd-tdep.o): New target.
* config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o.
* config/i386/fbsd64.mt (TDEPFILES): Add i386fbsd-tdep.o.
2003-10-11 23:22:39 +08:00
|
|
|
i386fbsd-tdep.o: i386fbsd-tdep.c $(defs_h) $(arch_utils_h) $(osabi_h) \
|
|
|
|
$(i386_tdep_h) $(i387_tdep_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
i386gnu-nat.o: i386gnu-nat.c $(defs_h) $(inferior_h) $(floatformat_h) \
|
|
|
|
$(regcache_h) $(gdb_assert_h) $(i386_tdep_h) $(gnu_nat_h) \
|
|
|
|
$(i387_tdep_h) $(gregset_h)
|
|
|
|
i386gnu-tdep.o: i386gnu-tdep.c $(defs_h) $(osabi_h) $(i386_tdep_h)
|
|
|
|
i386-interix-nat.o: i386-interix-nat.c $(defs_h) $(gdb_string_h) \
|
|
|
|
$(gdbcore_h) $(gregset_h) $(regcache_h)
|
|
|
|
i386-interix-tdep.o: i386-interix-tdep.c $(defs_h) $(arch_utils_h) \
|
|
|
|
$(frame_h) $(gdb_string_h) $(gdb_stabs_h) $(gdbcore_h) $(gdbtypes_h) \
|
|
|
|
$(i386_tdep_h) $(inferior_h) $(libbfd_h) $(objfiles_h) $(osabi_h) \
|
|
|
|
$(regcache_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
i386-linux-nat.o: i386-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
|
2003-09-05 00:48:42 +08:00
|
|
|
$(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \
|
|
|
|
$(gregset_h) $(i387_tdep_h) $(i386_tdep_h) $(i386_linux_tdep_h) \
|
|
|
|
$(gdb_proc_service_h)
|
* i386-linux-nat.c: No need to #include "frame.h" any more.
(LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2, linux_sigtramp_code,
LINUX_SIGTRAMP_LEN, i386_linux_sigtramp_start,
LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1,
linux_rt_sigtramp_code, LINUX_RT_SIGTRAMP_LEN,
i386_linux_rt_sigtramp_start, i386_linux_in_sigtramp,
i386_linux_sigcontext_addr, LINUX_SIGCONTEXT_PC_OFFSET,
i386_linux_sigtramp_saved_pc, LINUX_SIGCONTEXT_SP_OFFSET,
i386_linux_sigtramp_saved_sp): Deleted. Folks rightly pointed
out that these are target-dependent, and useful in non-native
configurations. Moved to...
* i386-linux-tdep.c: ... Here, a new file.
* Makefile.in (ALLDEPFILES): Add i386-linux-tdep.c.
(i386-linux-tdep.o): New rule.
(i386-linux-nat.o): We no longer depend on frame.h.
* config/i386/linux.mt (TDEPFILES): Add i386-linux-tdep.o.
2000-03-21 04:38:29 +08:00
|
|
|
i386-linux-tdep.o: i386-linux-tdep.c $(defs_h) $(gdbcore_h) $(frame_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(value_h) $(regcache_h) $(inferior_h) $(reggroups_h) $(symtab_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(solib_svr4_h) $(osabi_h) $(i386_tdep_h) \
|
|
|
|
$(i386_linux_tdep_h)
|
|
|
|
i386ly-tdep.o: i386ly-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
|
|
|
|
$(regcache_h) $(target_h) $(osabi_h) $(i386_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
i386-nat.o: i386-nat.c $(defs_h) $(breakpoint_h) $(command_h) $(gdbcmd_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
i386nbsd-tdep.o: i386nbsd-tdep.c $(defs_h) $(gdbtypes_h) $(gdbcore_h) \
|
|
|
|
$(regcache_h) $(arch_utils_h) $(osabi_h) $(i386_tdep_h) \
|
|
|
|
$(i387_tdep_h) $(nbsd_tdep_h) $(solib_svr4_h)
|
|
|
|
i386-nto-tdep.o: i386-nto-tdep.c $(gdb_string_h) $(gdb_assert_h) $(defs_h) \
|
|
|
|
$(frame_h) $(target_h) $(regcache_h) $(solib_svr4_h) $(i386_tdep_h) \
|
|
|
|
$(nto_tdep_h) $(osabi_h) $(i387_tdep_h)
|
2003-09-05 00:48:42 +08:00
|
|
|
i386obsd-nat.o: i386obsd-nat.c $(defs_h) $(i386_tdep_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
i386obsd-tdep.o: i386obsd-tdep.c $(defs_h) $(arch_utils_h) $(gdbcore_h) \
|
|
|
|
$(regcache_h) $(osabi_h) $(i386_tdep_h) $(i387_tdep_h)
|
|
|
|
i386-sol2-tdep.o: i386-sol2-tdep.c $(defs_h) $(value_h) $(osabi_h) \
|
|
|
|
$(i386_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
i386-stub.o: i386-stub.c
|
* i386-tdep.h (i386bsd_sigcontext_addr): Remove prototype.
(I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS): Remove
defenitions.
(IS_FP_REGNUM, IS_SSE_REGNUM): Remove definitions.
* i386-tdep.c: Mark functions that are 64-bit safe as such.
(I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
I386_EBP_REGNUM, I386_EIP_REGNUM, I386_EFLAGS_REGNUM,
I386_ST0_REGNUM): New defines.
(CODESTREAM_BUFSIZ, codestream_tell, codestream_peek,
codestream_get): Remove define.
(codestream_next_addr, condestream_addr, condestream_buf,
codestream_off, codestream_cnt): Remove variables.
(codestream_fill, codestream_seek, codestream_read): Remove
functions.
(i386_follow_jump): Rewrite to avoid usage of removed codestream
functionality.
(i386_get_frame_setup, i386_frameless_signal_p, i386_frame_chain,
i386_sigtramp_saved_pc, i386_sigtramp_saved_sp,
i386_frame_saved_pc, i386_saved_pc_after_call,
i386_frame_num_args, i386_frame_init_saved_regs,
i386_push_return_address, i386_do_pop_frame, i386_pop_frame,
i386_push_arguments): Remove functions.
(i386_skip_prologue): Rewrite to avoid usage of removed codestream
functionality. Use i386_analyze_prologue instead of
i386_get_frame_setup.
(I386_NUM_SAVED_REGS): New define.
(struct i386_frame_cache): New structure.
(i386_alloc_frame_cache, i386_analyze_struct_return,
i386_skip_probe, i386_analyze_frame_setup,
i386_analyze_register_saves, i386_analyze_prologue,
i386_unwind_pc, i386_frame_cache, i386_frame_this_id,
i386_frame_prev_register, i386_sigtramp_frame_cache,
i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register,
i386_frame_p, i386_sigtramp_frame_p, i386_frame_base_address,
i386_unwind_dummy_id, i386_save_dummy_tos, i386_push_dummy_call):
New functions.
(i386_frame_unwind, i386_sigtramp_frame_unwind, i386_frame_base):
New variables.
(LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Define in terms of
I386_EAX_REGNUM and I386_EDX_REGNUM.
(i386_extract_return_value, i386_store_return_value): Use
I386_ST0_REGNUM where appropriate.
(i386_extract_struct_value_address): Rewrite to use extract_address.
(i386_svr4_pc_in_sigtramp): Add comment.
(i386_svr4_sigcontext_addr): Rewrite.
(i386_svr4_init_abi): Adjust TDEP->sc_pc_offset and
TDEP->sc_sp_offset.
(i386_gdbarch_init): Don't set deprecated_init_frame_pc. Set
sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum in terms
of new defines. Set push_dummy_call, don't set
deprecated_push_arguments, deprecated_push_return_address,
deprecated_pop_frame. Don't set parm_boundary. Don't set
deprecated_frame_chain, deprecated_frame_saved_pc,
deprecated_saved_pc_after_call. Set unwind_dummy_id,
save_dummy_frame_tos, unwind_pc. Call
frame_unwind_append_predicate and frame_base_set_default. Don't
set deprecated_dummy_write_pc. Don't set deprecated_fp_regnum.
Don't set frameless_function_invocation. Don't set
deprecated_register_bytes, deprecated_register_size,
deprecated_call_dummy_words and deprecated_sizeof_call_dummy.
* i386-linux-tdep.c: Fix formatting in some comments.
(LINUX_SIGTRAMP_INSN0, LINUX_SIGTRAMP_OFFSET0,
LINUX_SIGTRAMP_INSN1, LINUX_SIGTRAMP_OFFSET1,
LINUX_SIGTRAMP_INSN2, LINUX_SIGTRAMP_OFFSET2,
LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): Drop
redundant parentheses.
(I386_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): New define.
(i386_linux_sigcontext_addr): Use it. Rewrite.
(find_minsym_and_objfile): Change name of second argument.
(skip_gnu_resolver): Renamed from skip_hurd_resolver. All callers
changed. Use frame_pc_unwind instead of
DEPRECATED_SAVED_PC_AFTER_CALL.
(i386_linux_init_abi): Don't set deprecated_register_bytes.
* i386bsd-tdep.c (i386bsd_sigcontext_addr): Rewrite.
* i386-nto-tdep.c (i386nto_sigcontext_addr): Adapt for new frame
unwinder.
* i386-cygwin-tdep.c: Don't include "gdbcore.h", "frame.h" and
"dummy-frame.h".
(i386_cygwin_frame_chain_valid, i386_cygwin_frame_chain): Removed.
(_initialize_i386_cygwin_tdep): New prototype.
(i386_cygwin_init_abi): Don't set deprecated_frame_chain and
deprecated_frame_chain_valid.
* i386-sol2-tdep.c (i386_sol2_init_abi): Don't set
TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset.
Rely on the SVR4 defaults.
* config/i386/i386sol2.mt (TDEPFILES): Remove i386bsd-tdep.o.
* Makefile.in (i386-tdep.o, i386-cygwin-tdep.o): Update dependencies.
2003-05-31 03:24:30 +08:00
|
|
|
i386-tdep.o: i386-tdep.c $(defs_h) $(arch_utils_h) $(command_h) \
|
2003-06-01 05:13:20 +08:00
|
|
|
$(dummy_frame_h) $(dwarf2_frame_h) $(doublest_h) $(floatformat_h) \
|
|
|
|
$(frame_h) $(frame_base_h) $(frame_unwind_h) $(inferior_h) \
|
|
|
|
$(gdbcmd_h) $(gdbcore_h) $(objfiles_h) $(osabi_h) $(regcache_h) \
|
2003-10-07 04:43:39 +08:00
|
|
|
$(reggroups_h) $(regset_h) $(symfile_h) $(symtab_h) $(target_h) \
|
|
|
|
$(value_h) $(dis_asm_h) $(gdb_assert_h) $(gdb_string_h) \
|
|
|
|
$(i386_tdep_h) $(i387_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
i386v4-nat.o: i386v4-nat.c $(defs_h) $(value_h) $(inferior_h) $(regcache_h) \
|
|
|
|
$(i386_tdep_h) $(i387_tdep_h) $(gregset_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
i386v-nat.o: i386v-nat.c $(defs_h) $(frame_h) $(inferior_h) $(language_h) \
|
|
|
|
$(gdbcore_h) $(gdb_stat_h) $(floatformat_h) $(target_h) \
|
|
|
|
$(i386_tdep_h)
|
|
|
|
i387-tdep.o: i387-tdep.c $(defs_h) $(doublest_h) $(floatformat_h) $(frame_h) \
|
|
|
|
$(gdbcore_h) $(inferior_h) $(language_h) $(regcache_h) $(value_h) \
|
|
|
|
$(gdb_assert_h) $(gdb_string_h) $(i386_tdep_h) $(i387_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
ia64-aix-nat.o: ia64-aix-nat.c $(defs_h) $(inferior_h) $(target_h) \
|
|
|
|
$(gdbcore_h) $(regcache_h) $(symtab_h) $(bfd_h) $(symfile_h) \
|
|
|
|
$(objfiles_h) $(gdb_stat_h)
|
|
|
|
ia64-aix-tdep.o: ia64-aix-tdep.c $(defs_h)
|
2003-02-07 12:49:34 +08:00
|
|
|
ia64-linux-nat.o: ia64-linux-nat.c $(defs_h) $(gdb_string_h) $(inferior_h) \
|
|
|
|
$(target_h) $(gdbcore_h) $(regcache_h) $(gdb_wait_h) $(gregset_h)
|
2000-04-26 15:16:15 +08:00
|
|
|
ia64-linux-tdep.o: ia64-linux-tdep.c $(defs_h) $(arch_utils_h)
|
2001-08-02 01:41:50 +08:00
|
|
|
ia64-tdep.o: ia64-tdep.c $(defs_h) $(inferior_h) $(symfile_h) $(gdbcore_h) \
|
2003-09-05 00:48:42 +08:00
|
|
|
$(arch_utils_h) $(floatformat_h) $(regcache_h) $(reggroups_h) \
|
|
|
|
$(frame_h) $(frame_base_h) $(frame_unwind_h) $(doublest_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(value_h) $(gdb_assert_h) $(objfiles_h) $(elf_common_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(elf_bfd_h) $(dis_asm_h)
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.
2003-04-22 00:48:41 +08:00
|
|
|
infcall.o: infcall.c $(defs_h) $(breakpoint_h) $(target_h) $(regcache_h) \
|
|
|
|
$(inferior_h) $(gdb_assert_h) $(block_h) $(gdbcore_h) $(language_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(symfile_h) $(gdbcmd_h) $(command_h) $(gdb_string_h) $(infcall_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
infcmd.o: infcmd.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(frame_h) $(inferior_h) $(environ_h) $(value_h) $(gdbcmd_h) \
|
|
|
|
$(symfile_h) $(gdbcore_h) $(target_h) $(language_h) $(symfile_h) \
|
|
|
|
$(objfiles_h) $(completer_h) $(ui_out_h) $(event_top_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(parser_defs_h) $(regcache_h) $(reggroups_h) $(block_h)
|
|
|
|
inf-loop.o: inf-loop.c $(defs_h) $(inferior_h) $(target_h) $(event_loop_h) \
|
|
|
|
$(event_top_h) $(inf_loop_h) $(remote_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
inflow.o: inflow.c $(defs_h) $(frame_h) $(inferior_h) $(command_h) \
|
2003-02-07 12:21:34 +08:00
|
|
|
$(serial_h) $(terminal_h) $(target_h) $(gdbthread_h) $(gdb_string_h) \
|
|
|
|
$(inflow_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
infptrace.o: infptrace.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
|
|
|
|
$(gdb_string_h) $(regcache_h) $(gdb_wait_h) $(command_h) \
|
|
|
|
$(gdb_dirent_h) $(gdbcore_h) $(gdb_stat_h)
|
|
|
|
infrun.o: infrun.c $(defs_h) $(gdb_string_h) $(symtab_h) $(frame_h) \
|
|
|
|
$(inferior_h) $(breakpoint_h) $(gdb_wait_h) $(gdbcore_h) $(gdbcmd_h) \
|
|
|
|
$(cli_script_h) $(target_h) $(gdbthread_h) $(annotate_h) \
|
2003-03-19 03:06:54 +08:00
|
|
|
$(symfile_h) $(top_h) $(inf_loop_h) $(regcache_h) $(value_h) \
|
2003-03-26 11:39:44 +08:00
|
|
|
$(observer_h) $(language_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
inftarg.o: inftarg.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
|
2003-02-07 12:21:34 +08:00
|
|
|
$(gdbcore_h) $(command_h) $(gdb_stat_h) $(gdb_wait_h) $(inflow_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
infttrace.o: infttrace.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(gdb_string_h) $(gdb_wait_h) $(command_h) $(gdbthread_h) \
|
|
|
|
$(gdbcore_h)
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
interps.o: interps.c $(defs_h) $(gdbcmd_h) $(ui_out_h) $(event_loop_h) \
|
|
|
|
$(event_top_h) $(interps_h) $(completer_h) $(gdb_string_h) \
|
|
|
|
$(gdb_events_h) $(gdb_assert_h) $(top_h)
|
2001-08-02 01:41:50 +08:00
|
|
|
irix5-nat.o: irix5-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(target_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(regcache_h) $(gdb_string_h) $(gregset_h)
|
|
|
|
jv-lang.o: jv-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
|
|
|
|
$(parser_defs_h) $(language_h) $(gdbtypes_h) $(symtab_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(gdb_string_h) $(value_h) $(c_lang_h) \
|
2003-06-11 David Carlton <carlton@bactrian.org>
* dictionary.h: New.
* dictionary.c: New.
* block.h: Add opaque declaration for struct dictionary.
(struct block): Add 'dict' member; delete 'hashtable', 'nsyms',
'sym' members.
(BLOCK_DICT): New macro.
Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM,
BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE,
BLOCK_SHOULD_SORT.
(ALL_BLOCK_SYMBOLS): Update definition.
* Makefile.in (SFILES): Add dictionary.c.
(dictionary_h): New.
(COMMON_OBS): Add dictionary.o.
(dictionary.o): New.
(ada-lang.o): Depend on dictionary_h.
(buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o)
(stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o)
(mi-cmd-stack.o): Ditto.
(gdbtk-cmds.o): Update dependencies.
(gdbtk-stack.o): Ditto.
* ada-lang.c: Include dictionary.h.
(symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS.
(fill_in_ada_prototype, debug_print_block): Ditto.
(ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace
explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable
'is_sorted'.
* mdebugread.c: Include dictionary.h.
(struct parse_stack): Delete 'maxsyms' member.
(parse_symbol): Update calls to new_block. Delete calls to
shrink_block. Use dictionary methods.
(psymtab_to_symtab_1): Delete calls to sort_symtab_syms.
Update calls to new_symtab. Don't maintain maxsyms data.
(mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS.
(add_symbol): Just call dict_add_symbol.
(new_symtab): Delete 'maxsyms' argument.
(new_symtab): Update calls to new_block.
(new_block): Delete 'maxsyms' argument; add 'function' argument.
(shrink_block): Delete function.
(fixup_sigtramp): Update call to new_block. Add symbol via
dict_add_symbol.
* jv-lang.c: Include dictionary.h.
(get_java_class_symtab): Set the BLOCK_DICT of the blocks
appropriately. Set class_symtab->free_func. Make sure the
blockvector is big enough to hold two blocks.
(add_class_symtab_symbol): Use dictionary methods.
(free_class_block): New function.
(type_from_class): Replace explicit iteration by
ALL_BLOCK_SYMBOLS.
* symtab.h (struct symtab): Replace 'free_ptr' method by
'free_func'.
* dwarf2read.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* dwarfread.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* coffread.c (coff_symfile_read): Delete call to sort_symtab_syms.
Include dictionary.h.
(patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS.
* dbxread.c (dbx_psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* objfiles.c: Include dictionary.h.
(objfile_relocate): Update use of ALL_BLOCK_SYMBOLS.
* buildsym.c: Include dictionary.h.
(finish_block): Use dictionary methods.
(end_symtab): Set free_func to NULL, not free_ptr.
* tracepoint.c: Include dictionary.h.
(add_local_symbols): Update use of ALL_BLOCK_SYMBOLS.
(scope_info): Ditto.
* stack.c: Include dictionary.h.
(print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS.
(print_block_frame_labels, print_frame_arg_vars)
(print_frame_args): Ditto.
* symmisc.c (free_symtab_block): Use dictionary methods.
(dump_symtab): Ditto.
(free_symtab): Replace use of 'free_ptr' by 'free_func'.
Include dictionary.h.
* symfile.h: Delete declarations of sort_block_syms,
sort_symtab_syms.
* symfile.c (sort_block_syms): Delete.
(sort_symtab_syms): Delete.
* symtab.c: Include dictionary.h.
(lookup_block_symbol): Use dictionary iterators.
(find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS.
(search_symbols, make_symbol_completion_list): Ditto.
(make_symbol_overload_list): Ditto.
* valops.c (value_of_local): Use dict_empty.
Include dictionary.h.
2003-06-11 David Carlton <carlton@bactrian.org>
* generic/gdbtk-stack.c: Include dictionary.h.
(gdb_block_vars): Update use of ALL_BLOCK_SYMBOLS.
(gdb_get_blocks, gdb_get_vars_command): Ditto.
* generic/gdbtk-cmds.c: Include dictionary.h.
(gdb_listfuncs): Update use of ALL_BLOCK_SYMBOLS.
2003-06-11 David Carlton <carlton@bactrian.org>
* mi-cmd-stack.c: Include dictionary.h.
(list_args_or_locals): Update use of ALL_BLOCK_SYMBOLS.
2003-06-12 07:29:49 +08:00
|
|
|
$(jv_lang_h) $(gdbcore_h) $(block_h) $(demangle_h) $(dictionary_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
jv-typeprint.o: jv-typeprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(value_h) $(demangle_h) $(jv_lang_h) $(gdb_string_h) $(typeprint_h) \
|
|
|
|
$(c_lang_h) $(cp_abi_h)
|
|
|
|
jv-valprint.o: jv-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(gdbcore_h) $(expression_h) $(value_h) $(demangle_h) $(valprint_h) \
|
|
|
|
$(language_h) $(jv_lang_h) $(c_lang_h) $(annotate_h) $(gdb_string_h)
|
2001-10-22 03:20:30 +08:00
|
|
|
kod.o: kod.c $(defs_h) $(command_h) $(gdbcmd_h) $(target_h) $(gdb_string_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(kod_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
kod-cisco.o: kod-cisco.c $(defs_h) $(gdb_string_h) $(kod_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
language.o: language.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(value_h) $(gdbcmd_h) $(expression_h) $(language_h) $(target_h) \
|
2003-04-02 11:02:46 +08:00
|
|
|
$(parser_defs_h) $(jv_lang_h) $(demangle_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
linespec.o: linespec.c $(defs_h) $(symtab_h) $(frame_h) $(command_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(source_h) $(demangle_h) $(value_h) \
|
|
|
|
$(completer_h) $(cp_abi_h) $(parser_defs_h) $(block_h) \
|
|
|
|
$(objc_lang_h) $(linespec_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
lin-lwp.o: lin-lwp.c $(defs_h) $(gdb_assert_h) $(gdb_string_h) $(gdb_wait_h) \
|
2003-06-20 06:52:04 +08:00
|
|
|
$(gdbthread_h) $(inferior_h) $(target_h) $(regcache_h) $(gdbcmd_h) \
|
|
|
|
$(linux_nat_h)
|
|
|
|
linux-nat.o: linux-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdb_wait_h) \
|
|
|
|
$(linux_nat_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
linux-proc.o: linux-proc.c $(defs_h) $(inferior_h) $(gdb_stat_h) \
|
|
|
|
$(regcache_h) $(gregset_h) $(gdbcore_h) $(gdbthread_h) $(elf_bfd_h) \
|
2003-06-20 06:52:04 +08:00
|
|
|
$(cli_decode_h) $(gdb_string_h) $(linux_nat_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
lynx-nat.o: lynx-nat.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
|
|
|
|
$(gdbcore_h) $(regcache_h)
|
|
|
|
m2-lang.o: m2-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
|
|
|
|
$(parser_defs_h) $(language_h) $(m2_lang_h) $(c_lang_h) \
|
|
|
|
$(valprint_h)
|
|
|
|
m2-typeprint.o: m2-typeprint.c $(defs_h) $(bfd_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(expression_h) $(value_h) $(gdbcore_h) $(target_h) $(m2_lang_h)
|
|
|
|
m2-valprint.o: m2-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(m2_lang_h)
|
|
|
|
m32r-rom.o: m32r-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
|
|
|
$(serial_h) $(symtab_h) $(command_h) $(gdbcmd_h) $(symfile_h) \
|
|
|
|
$(gdb_string_h) $(objfiles_h) $(inferior_h) $(regcache_h)
|
|
|
|
m32r-stub.o: m32r-stub.c $(syscall_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
m32r-tdep.o: m32r-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
|
|
|
|
$(frame_base_h) $(symtab_h) $(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) \
|
|
|
|
$(gdb_string_h) $(value_h) $(inferior_h) $(symfile_h) $(objfiles_h) \
|
|
|
|
$(language_h) $(arch_utils_h) $(regcache_h) $(trad_frame_h) \
|
2003-10-08 10:41:49 +08:00
|
|
|
$(gdb_assert_h) $(dis_asm_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
m68hc11-tdep.o: m68hc11-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \
|
|
|
|
$(frame_base_h) $(dwarf2_frame_h) $(trad_frame_h) $(symtab_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) $(gdb_string_h) $(value_h) \
|
|
|
|
$(inferior_h) $(dis_asm_h) $(symfile_h) $(objfiles_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(arch_utils_h) $(regcache_h) $(reggroups_h) $(target_h) \
|
|
|
|
$(opcode_m68hc11_h) $(elf_m68hc11_h) $(elf_bfd_h)
|
1999-04-16 09:35:26 +08:00
|
|
|
m68klinux-nat.o: m68klinux-nat.c $(defs_h) $(frame_h) $(inferior_h) \
|
2003-05-19 05:10:11 +08:00
|
|
|
$(language_h) $(gdbcore_h) $(gdb_string_h) $(regcache_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(m68k_tdep_h) $(gdb_stat_h) $(floatformat_h) $(target_h) \
|
|
|
|
$(gregset_h)
|
|
|
|
m68klinux-tdep.o: m68klinux-tdep.c $(defs_h) $(gdbcore_h) $(doublest_h) \
|
|
|
|
$(floatformat_h) $(frame_h) $(target_h) $(gdb_string_h) \
|
|
|
|
$(gdbtypes_h) $(osabi_h) $(regcache_h) $(objfiles_h) $(symtab_h) \
|
|
|
|
$(m68k_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
m68knbsd-nat.o: m68knbsd-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
|
|
|
|
$(regcache_h)
|
|
|
|
m68knbsd-tdep.o: m68knbsd-tdep.c $(defs_h) $(gdbtypes_h) $(regcache_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
m68k-stub.o: m68k-stub.c
|
2003-09-25 17:10:30 +08:00
|
|
|
m68k-tdep.o: m68k-tdep.c $(defs_h) $(dwarf2_frame_h) $(frame_h) \
|
2003-10-07 04:43:39 +08:00
|
|
|
$(frame_base_h) $(frame_unwind_h) $(symtab_h) $(gdbcore_h) \
|
|
|
|
$(value_h) $(gdb_string_h) $(gdb_assert_h) $(inferior_h) \
|
|
|
|
$(regcache_h) $(arch_utils_h) $(osabi_h) $(dis_asm_h) $(m68k_tdep_h) \
|
|
|
|
$(gregset_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
macrocmd.o: macrocmd.c $(defs_h) $(macrotab_h) $(macroexp_h) $(macroscope_h) \
|
|
|
|
$(command_h) $(gdbcmd_h)
|
|
|
|
macroexp.o: macroexp.c $(defs_h) $(gdb_obstack_h) $(bcache_h) $(macrotab_h) \
|
|
|
|
$(macroexp_h) $(gdb_assert_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
macroscope.o: macroscope.c $(defs_h) $(macroscope_h) $(symtab_h) $(source_h) \
|
|
|
|
$(target_h) $(frame_h) $(inferior_h) $(complaints_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
macrotab.o: macrotab.c $(defs_h) $(gdb_obstack_h) $(splay_tree_h) \
|
|
|
|
$(symtab_h) $(symfile_h) $(objfiles_h) $(macrotab_h) $(gdb_assert_h) \
|
|
|
|
$(bcache_h) $(complaints_h)
|
|
|
|
main.o: main.c $(defs_h) $(top_h) $(target_h) $(inferior_h) $(symfile_h) \
|
|
|
|
$(gdbcore_h) $(getopt_h) $(gdb_stat_h) $(gdb_string_h) \
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
$(event_loop_h) $(ui_out_h) $(interps_h) $(main_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
maint.o: maint.c $(defs_h) $(command_h) $(gdbcmd_h) $(symtab_h) \
|
|
|
|
$(gdbtypes_h) $(demangle_h) $(gdbcore_h) $(expression_h) \
|
|
|
|
$(language_h) $(symfile_h) $(objfiles_h) $(value_h) $(cli_decode_h)
|
2001-10-22 03:20:30 +08:00
|
|
|
mcore-rom.o: mcore-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
|
|
|
$(gdb_string_h) $(regcache_h) $(serial_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
mcore-tdep.o: mcore-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(value_h) \
|
|
|
|
$(gdbcmd_h) $(regcache_h) $(symfile_h) $(gdbcore_h) $(inferior_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(arch_utils_h) $(gdb_string_h) $(disasm_h) $(dis_asm_h)
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
mdebugread.o: mdebugread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(gdbcore_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(gdb_obstack_h) $(buildsym_h) \
|
|
|
|
$(stabsread_h) $(complaints_h) $(demangle_h) $(gdb_assert_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(block_h) $(dictionary_h) $(coff_sym_h) $(coff_symconst_h) \
|
|
|
|
$(gdb_stat_h) $(gdb_string_h) $(bfd_h) $(coff_ecoff_h) $(libaout_h) \
|
|
|
|
$(aout_aout64_h) $(aout_stab_gnu_h) $(expression_h) $(language_h)
|
2002-02-04 00:20:22 +08:00
|
|
|
memattr.o: memattr.c $(defs_h) $(command_h) $(gdbcmd_h) $(memattr_h) \
|
|
|
|
$(target_h) $(value_h) $(language_h) $(gdb_string_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
mem-break.o: mem-break.c $(defs_h) $(symtab_h) $(breakpoint_h) $(inferior_h) \
|
|
|
|
$(target_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
minsyms.o: minsyms.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(demangle_h) $(value_h) $(cp_abi_h)
|
|
|
|
mips-irix-tdep.o: mips-irix-tdep.c $(defs_h) $(osabi_h) $(elf_bfd_h)
|
2001-11-18 02:38:29 +08:00
|
|
|
mips-linux-nat.o: mips-linux-nat.c $(defs_h)
|
|
|
|
mips-linux-tdep.o: mips-linux-tdep.c $(defs_h) $(gdbcore_h) $(target_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(solib_svr4_h) $(osabi_h) $(mips_tdep_h) $(gdb_string_h) \
|
2002-12-25 03:21:10 +08:00
|
|
|
$(gdb_assert_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
mips-nat.o: mips-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(regcache_h)
|
2002-05-22 05:23:44 +08:00
|
|
|
mipsnbsd-nat.o: mipsnbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(mipsnbsd_tdep_h)
|
2002-05-22 05:23:44 +08:00
|
|
|
mipsnbsd-tdep.o: mipsnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(target_h) $(value_h) $(osabi_h) $(nbsd_tdep_h) $(mipsnbsd_tdep_h) \
|
|
|
|
$(solib_svr4_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
mipsread.o: mipsread.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(buildsym_h) $(stabsread_h) \
|
|
|
|
$(coff_sym_h) $(coff_internal_h) $(coff_ecoff_h) $(libcoff_h) \
|
|
|
|
$(libecoff_h) $(elf_common_h) $(elf_mips_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
mips-tdep.o: mips-tdep.c $(defs_h) $(gdb_string_h) $(gdb_assert_h) \
|
|
|
|
$(frame_h) $(inferior_h) $(symtab_h) $(value_h) $(gdbcmd_h) \
|
|
|
|
$(language_h) $(gdbcore_h) $(symfile_h) $(objfiles_h) $(gdbtypes_h) \
|
|
|
|
$(target_h) $(arch_utils_h) $(regcache_h) $(osabi_h) $(mips_tdep_h) \
|
|
|
|
$(block_h) $(reggroups_h) $(opcode_mips_h) $(elf_mips_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(elf_bfd_h) $(symcat_h) $(sim_regno_h) $(dis_asm_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
mipsv4-nat.o: mipsv4-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(target_h) \
|
|
|
|
$(regcache_h) $(gregset_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
mn10300-tdep.o: mn10300-tdep.c $(defs_h) $(frame_h) $(inferior_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(target_h) $(value_h) $(bfd_h) $(gdb_string_h) $(gdbcore_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(symfile_h) $(regcache_h) $(arch_utils_h) $(gdb_assert_h) \
|
|
|
|
$(dis_asm_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
monitor.o: monitor.c $(defs_h) $(gdbcore_h) $(target_h) $(gdb_string_h) \
|
|
|
|
$(command_h) $(serial_h) $(monitor_h) $(gdbcmd_h) $(inferior_h) \
|
|
|
|
$(gdb_regex_h) $(srec_h) $(regcache_h)
|
2002-09-01 04:28:37 +08:00
|
|
|
nbsd-tdep.o: nbsd-tdep.c $(defs_h) $(gdb_string_h) $(solib_svr4_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
nlmread.o: nlmread.c $(defs_h) $(bfd_h) $(symtab_h) $(symfile_h) \
|
2003-02-19 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add block.c.
(block_h): New.
(COMMON_OBS): Add block.o.
(block.o): New.
(x86-64-tdep.o): Add $(block_h).
(values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
(stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
(objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
(m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
(f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
(c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
(alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
* value.h: Add opaque declaration for struct block.
* parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
* ada-lang.h: Ditto.
* x86-64-tdep.c: #include "block.h"
* values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
* symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
* objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
* mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
* jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
* findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
* buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
* alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
* blockframe.c (blockvector_for_pc_sect): Move to "block.c".
(blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
* symtab.c (block_function): Ditto.
(contained_in): Ditto.
* frame.h: Move block_for_pc and block_for_pc_sect declarations to
block.h. Add opaque declaration for struct block.
* symtab.h: Move block_function and contained_in declarations to
block.h. Add opaque declarations for struct block, struct
blockvector.
(struct block): Move to block.h.
(struct blockvector): Ditto.
(BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
(BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
(BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
(ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
(BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
Ditto.
* block.c: New file.
* block.h: New file.
2003-02-19 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: #include "block.h"
2003-02-20 08:01:07 +08:00
|
|
|
$(objfiles_h) $(buildsym_h) $(stabsread_h) $(block_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
ns32knbsd-nat.o: ns32knbsd-nat.c $(defs_h) $(inferior_h) $(target_h) \
|
|
|
|
$(gdbcore_h) $(regcache_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
ns32knbsd-tdep.o: ns32knbsd-tdep.c $(defs_h) $(osabi_h) $(ns32k_tdep_h) \
|
|
|
|
$(gdb_string_h)
|
|
|
|
ns32k-tdep.o: ns32k-tdep.c $(defs_h) $(frame_h) $(gdbtypes_h) $(gdbcore_h) \
|
|
|
|
$(inferior_h) $(regcache_h) $(target_h) $(arch_utils_h) $(osabi_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(dis_asm_h) $(ns32k_tdep_h) $(gdb_string_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
nto-procfs.o: nto-procfs.c $(defs_h) $(gdb_dirent_h) $(gdb_string_h) \
|
|
|
|
$(gdbcore_h) $(inferior_h) $(target_h) $(objfiles_h) $(gdbthread_h) \
|
|
|
|
$(nto_tdep_h) $(command_h) $(regcache_h)
|
|
|
|
nto-tdep.o: nto-tdep.c $(gdb_stat_h) $(gdb_string_h) $(nto_tdep_h) $(top_h) \
|
|
|
|
$(cli_decode_h) $(cli_cmds_h) $(inferior_h) $(gdbarch_h) $(bfd_h) \
|
|
|
|
$(elf_bfd_h) $(solib_svr4_h) $(gdbcore_h)
|
2002-11-19 23:17:50 +08:00
|
|
|
objc-lang.o: objc-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
|
|
|
|
$(parser_defs_h) $(language_h) $(c_lang_h) $(objc_lang_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(complaints_h) $(value_h) $(symfile_h) $(objfiles_h) \
|
|
|
|
$(gdb_string_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(frame_h) \
|
|
|
|
$(gdb_regex_h) $(regcache_h) $(block_h) $(infcall_h) $(valprint_h) \
|
|
|
|
$(gdb_assert_h)
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
objfiles.o: objfiles.c $(defs_h) $(bfd_h) $(symtab_h) $(symfile_h) \
|
2003-09-05 00:48:42 +08:00
|
|
|
$(objfiles_h) $(gdb_stabs_h) $(target_h) $(bcache_h) $(gdb_assert_h) \
|
|
|
|
$(gdb_stat_h) $(gdb_obstack_h) $(gdb_string_h) $(hashtab_h) \
|
|
|
|
$(breakpoint_h) $(block_h) $(dictionary_h) $(mmalloc_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
observer.o: observer.c $(defs_h) $(observer_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
ocd.o: ocd.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) $(inferior_h) \
|
|
|
|
$(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) $(objfiles_h) \
|
|
|
|
$(gdb_stabs_h) $(serial_h) $(ocd_h) $(regcache_h)
|
|
|
|
op50-rom.o: op50-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
|
|
|
$(serial_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
osabi.o: osabi.c $(defs_h) $(gdb_assert_h) $(gdb_string_h) $(osabi_h) \
|
|
|
|
$(arch_utils_h) $(gdbcmd_h) $(command_h) $(elf_bfd_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
pa64solib.o: pa64solib.c $(defs_h) $(frame_h) $(bfd_h) $(libhppa_h) \
|
|
|
|
$(gdbcore_h) $(symtab_h) $(breakpoint_h) $(symfile_h) $(objfiles_h) \
|
|
|
|
$(inferior_h) $(gdb_stabs_h) $(gdb_stat_h) $(gdbcmd_h) $(language_h) \
|
2003-10-23 11:01:55 +08:00
|
|
|
$(regcache_h) $(exec_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
parse.o: parse.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(frame_h) $(expression_h) $(value_h) $(command_h) $(language_h) \
|
|
|
|
$(parser_defs_h) $(gdbcmd_h) $(symfile_h) $(inferior_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(doublest_h) $(gdb_assert_h) $(block_h)
|
|
|
|
p-lang.o: p-lang.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(expression_h) $(parser_defs_h) $(language_h) $(p_lang_h) \
|
|
|
|
$(valprint_h) $(value_h)
|
2001-05-09 13:45:31 +08:00
|
|
|
ppc-bdm.o: ppc-bdm.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) \
|
2001-08-02 01:41:50 +08:00
|
|
|
$(inferior_h) $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(objfiles_h) $(gdb_stabs_h) $(serial_h) $(ocd_h) $(ppc_tdep_h) \
|
|
|
|
$(regcache_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
ppcbug-rom.o: ppcbug-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
|
|
|
$(serial_h) $(regcache_h)
|
2003-02-07 12:49:34 +08:00
|
|
|
ppc-linux-nat.o: ppc-linux-nat.c $(defs_h) $(gdb_string_h) $(frame_h) \
|
|
|
|
$(inferior_h) $(gdbcore_h) $(regcache_h) $(gdb_wait_h) $(gregset_h) \
|
|
|
|
$(ppc_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
ppc-linux-tdep.o: ppc-linux-tdep.c $(defs_h) $(frame_h) $(inferior_h) \
|
|
|
|
$(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(symfile_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(objfiles_h) $(regcache_h) $(value_h) $(osabi_h) $(solib_svr4_h) \
|
|
|
|
$(ppc_tdep_h)
|
2002-05-30 09:21:53 +08:00
|
|
|
ppcnbsd-nat.o: ppcnbsd-nat.c $(defs_h) $(inferior_h) $(ppc_tdep_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(ppcnbsd_tdep_h)
|
2002-05-30 09:21:53 +08:00
|
|
|
ppcnbsd-tdep.o: ppcnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(target_h) $(breakpoint_h) $(value_h) $(osabi_h) $(ppc_tdep_h) \
|
|
|
|
$(ppcnbsd_tdep_h) $(nbsd_tdep_h) $(solib_svr4_h)
|
|
|
|
ppc-sysv-tdep.o: ppc-sysv-tdep.c $(defs_h) $(gdbcore_h) $(inferior_h) \
|
2003-11-01 00:37:03 +08:00
|
|
|
$(regcache_h) $(value_h) $(gdb_string_h) $(gdb_assert_h) \
|
|
|
|
$(ppc_tdep_h) $(target_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
printcmd.o: printcmd.c $(defs_h) $(gdb_string_h) $(frame_h) $(symtab_h) \
|
|
|
|
$(gdbtypes_h) $(value_h) $(language_h) $(expression_h) $(gdbcore_h) \
|
|
|
|
$(gdbcmd_h) $(target_h) $(breakpoint_h) $(demangle_h) $(valprint_h) \
|
|
|
|
$(annotate_h) $(symfile_h) $(objfiles_h) $(completer_h) $(ui_out_h) \
|
2003-05-04 03:13:04 +08:00
|
|
|
$(gdb_assert_h) $(block_h) $(disasm_h)
|
2003-02-07 12:49:34 +08:00
|
|
|
proc-api.o: proc-api.c $(defs_h) $(gdbcmd_h) $(completer_h) $(gdb_wait_h) \
|
|
|
|
$(proc_utils_h)
|
2000-01-25 10:40:50 +08:00
|
|
|
proc-events.o: proc-events.c $(defs_h)
|
|
|
|
proc-flags.o: proc-flags.c $(defs_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
procfs.o: procfs.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
|
|
|
|
$(elf_bfd_h) $(gdbcmd_h) $(gdbthread_h) $(gdb_wait_h) \
|
|
|
|
$(gdb_assert_h) $(inflow_h) $(gdb_dirent_h) $(X_OK) $(gdb_stat_h) \
|
|
|
|
$(proc_utils_h) $(gregset_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
proc-service.o: proc-service.c $(defs_h) $(gdb_proc_service_h) $(inferior_h) \
|
|
|
|
$(symtab_h) $(target_h) $(gregset_h)
|
|
|
|
proc-why.o: proc-why.c $(defs_h) $(proc_utils_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
p-typeprint.o: p-typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
|
|
|
|
$(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(target_h) \
|
|
|
|
$(language_h) $(p_lang_h) $(typeprint_h) $(gdb_string_h)
|
|
|
|
p-valprint.o: p-valprint.c $(defs_h) $(gdb_obstack_h) $(symtab_h) \
|
|
|
|
$(gdbtypes_h) $(expression_h) $(value_h) $(command_h) $(gdbcmd_h) \
|
|
|
|
$(gdbcore_h) $(demangle_h) $(valprint_h) $(typeprint_h) \
|
|
|
|
$(language_h) $(target_h) $(annotate_h) $(p_lang_h) $(cp_abi_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
regcache.o: regcache.c $(defs_h) $(inferior_h) $(target_h) $(gdbarch_h) \
|
2002-11-02 23:13:34 +08:00
|
|
|
$(gdbcmd_h) $(regcache_h) $(reggroups_h) $(gdb_assert_h) \
|
|
|
|
$(gdb_string_h) $(gdbcmd_h)
|
|
|
|
reggroups.o: reggroups.c $(defs_h) $(reggroups_h) $(gdbtypes_h) \
|
|
|
|
$(gdb_assert_h) $(regcache_h) $(command_h) $(gdbcmd_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
remote.o: remote.c $(defs_h) $(gdb_string_h) $(inferior_h) $(bfd_h) \
|
|
|
|
$(symfile_h) $(target_h) $(gdbcmd_h) $(objfiles_h) $(gdb_stabs_h) \
|
|
|
|
$(gdbthread_h) $(remote_h) $(regcache_h) $(value_h) $(gdb_assert_h) \
|
|
|
|
$(event_loop_h) $(event_top_h) $(inf_loop_h) $(serial_h) \
|
|
|
|
$(gdbcore_h) $(remote_fileio_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) $(gdbarch_h) \
|
|
|
|
$(inferior_h) $(target_h) $(value_h) $(command_h) $(gdb_string_h) \
|
|
|
|
$(gdbcmd_h) $(serial_h) $(remote_utils_h) $(symfile_h) $(regcache_h)
|
|
|
|
remote-est.o: remote-est.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
2002-11-24 03:45:12 +08:00
|
|
|
$(serial_h) $(regcache_h) $(m68k_tdep_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
remote-fileio.o: remote-fileio.c $(defs_h) $(gdb_string_h) $(gdbcmd_h) \
|
|
|
|
$(remote_h) $(gdb_fileio_h) $(gdb_wait_h) $(gdb_stat_h) \
|
|
|
|
$(remote_fileio_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
remote-hms.o: remote-hms.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
|
|
|
$(serial_h) $(regcache_h)
|
2003-10-16 10:36:39 +08:00
|
|
|
remote-m32r-sdi.o: remote-m32r-sdi.c $(defs_h) $(gdbcmd_h) $(gdbcore_h) \
|
|
|
|
$(inferior_h) $(target_h) $(regcache_h) $(gdb_string_h) $(serial_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
remote-mips.o: remote-mips.c $(defs_h) $(inferior_h) $(bfd_h) $(symfile_h) \
|
|
|
|
$(gdbcmd_h) $(gdbcore_h) $(serial_h) $(target_h) $(remote_utils_h) \
|
|
|
|
$(gdb_string_h) $(gdb_stat_h) $(regcache_h)
|
|
|
|
remote-rdi.o: remote-rdi.c $(defs_h) $(gdb_string_h) $(frame_h) \
|
|
|
|
$(inferior_h) $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) \
|
|
|
|
$(objfiles_h) $(gdb_stabs_h) $(gdbthread_h) $(gdbcore_h) \
|
|
|
|
$(breakpoint_h) $(completer_h) $(regcache_h) $(arm_tdep_h) \
|
|
|
|
$(rdi_share_ardi_h) $(rdi_share_adp_h) $(rdi_share_hsys_h)
|
|
|
|
remote-rdp.o: remote-rdp.c $(defs_h) $(inferior_h) $(value_h) \
|
|
|
|
$(gdb_callback_h) $(command_h) $(symfile_h) $(remote_utils_h) \
|
|
|
|
$(gdb_string_h) $(gdbcore_h) $(regcache_h) $(serial_h) $(arm_tdep_h)
|
|
|
|
remote-sds.o: remote-sds.c $(defs_h) $(gdb_string_h) $(frame_h) \
|
|
|
|
$(inferior_h) $(bfd_h) $(symfile_h) $(target_h) $(gdbcmd_h) \
|
|
|
|
$(objfiles_h) $(gdb_stabs_h) $(gdbthread_h) $(gdbcore_h) \
|
|
|
|
$(regcache_h) $(serial_h)
|
|
|
|
remote-sim.o: remote-sim.c $(defs_h) $(inferior_h) $(value_h) \
|
|
|
|
$(gdb_string_h) $(terminal_h) $(target_h) $(gdbcore_h) \
|
|
|
|
$(gdb_callback_h) $(gdb_remote_sim_h) $(remote_utils_h) $(command_h) \
|
|
|
|
$(regcache_h) $(gdb_assert_h) $(sim_regno_h)
|
|
|
|
remote-st.o: remote-st.c $(defs_h) $(gdbcore_h) $(target_h) $(gdb_string_h) \
|
|
|
|
$(serial_h) $(regcache_h)
|
|
|
|
remote-utils.o: remote-utils.c $(defs_h) $(gdb_string_h) $(gdbcmd_h) \
|
|
|
|
$(target_h) $(serial_h) $(gdbcore_h) $(inferior_h) $(remote_utils_h) \
|
2001-10-22 03:20:30 +08:00
|
|
|
$(regcache_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
remote-vx68.o: remote-vx68.c $(defs_h) $(vx_share_regPacket_h) $(frame_h) \
|
|
|
|
$(inferior_h) $(target_h) $(gdbcore_h) $(command_h) $(symtab_h) \
|
|
|
|
$(symfile_h) $(regcache_h) $(gdb_string_h) $(vx_share_ptrace_h) \
|
|
|
|
$(vx_share_xdr_ptrace_h) $(vx_share_xdr_ld_h) $(vx_share_xdr_rdb_h) \
|
|
|
|
$(vx_share_dbgRpcLib_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
remote-vx.o: remote-vx.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
|
|
|
|
$(gdbcore_h) $(command_h) $(symtab_h) $(complaints_h) $(gdbcmd_h) \
|
|
|
|
$(bfd_h) $(symfile_h) $(objfiles_h) $(gdb_stabs_h) $(regcache_h) \
|
|
|
|
$(gdb_string_h) $(vx_share_ptrace_h) $(vx_share_xdr_ptrace_h) \
|
|
|
|
$(vx_share_xdr_ld_h) $(vx_share_xdr_rdb_h) $(vx_share_dbgRpcLib_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
remote-vxmips.o: remote-vxmips.c $(defs_h) $(vx_share_regPacket_h) \
|
|
|
|
$(frame_h) $(inferior_h) $(target_h) $(gdbcore_h) $(command_h) \
|
|
|
|
$(symtab_h) $(symfile_h) $(regcache_h) $(gdb_string_h) \
|
|
|
|
$(vx_share_ptrace_h) $(vx_share_xdr_ptrace_h) $(vx_share_xdr_ld_h) \
|
|
|
|
$(vx_share_xdr_rdb_h) $(vx_share_dbgRpcLib_h)
|
|
|
|
remote-vxsparc.o: remote-vxsparc.c $(defs_h) $(vx_share_regPacket_h) \
|
|
|
|
$(frame_h) $(inferior_h) $(target_h) $(gdbcore_h) $(command_h) \
|
|
|
|
$(symtab_h) $(symfile_h) $(regcache_h) $(gdb_string_h) \
|
|
|
|
$(vx_share_ptrace_h) $(vx_share_xdr_ptrace_h) $(vx_share_xdr_ld_h) \
|
|
|
|
$(vx_share_xdr_rdb_h) $(vx_share_dbgRpcLib_h)
|
|
|
|
rom68k-rom.o: rom68k-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
2002-11-24 03:45:12 +08:00
|
|
|
$(serial_h) $(regcache_h) $(value_h) $(m68k_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
rs6000-nat.o: rs6000-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
|
|
|
|
$(xcoffsolib_h) $(symfile_h) $(objfiles_h) $(libbfd_h) $(bfd_h) \
|
2002-07-31 03:59:06 +08:00
|
|
|
$(gdb_stabs_h) $(regcache_h) $(arch_utils_h) $(language_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(ppc_tdep_h) $(gdb_stat_h)
|
|
|
|
rs6000-tdep.o: rs6000-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(symtab_h) \
|
|
|
|
$(target_h) $(gdbcore_h) $(gdbcmd_h) $(symfile_h) $(objfiles_h) \
|
|
|
|
$(arch_utils_h) $(regcache_h) $(doublest_h) $(value_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(parser_defs_h) $(osabi_h) $(libbfd_h) $(coff_internal_h) \
|
|
|
|
$(libcoff_h) $(coff_xcoff_h) $(libxcoff_h) $(elf_bfd_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(solib_svr4_h) $(ppc_tdep_h) $(gdb_assert_h) $(dis_asm_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
s390-nat.o: s390-nat.c $(defs_h) $(tm_h) $(regcache_h)
|
|
|
|
s390-tdep.o: s390-tdep.c $(arch_utils_h) $(frame_h) $(inferior_h) \
|
2001-11-07 05:58:53 +08:00
|
|
|
$(symtab_h) $(target_h) $(gdbcore_h) $(gdbcmd_h) $(symfile_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(objfiles_h) $(tm_h) $(__bfd_bfd_h) $(floatformat_h) $(regcache_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(value_h) $(gdb_assert_h) $(dis_asm_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
scm-exp.o: scm-exp.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
|
|
|
|
$(parser_defs_h) $(language_h) $(value_h) $(c_lang_h) $(scm_lang_h) \
|
|
|
|
$(scm_tags_h)
|
|
|
|
scm-lang.o: scm-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
|
|
|
|
$(parser_defs_h) $(language_h) $(value_h) $(c_lang_h) $(scm_lang_h) \
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.
2003-04-22 00:48:41 +08:00
|
|
|
$(scm_tags_h) $(source_h) $(gdb_string_h) $(gdbcore_h) $(infcall_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
scm-valprint.o: scm-valprint.c $(defs_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(expression_h) $(parser_defs_h) $(language_h) $(value_h) \
|
|
|
|
$(scm_lang_h) $(valprint_h) $(gdbcore_h)
|
2003-01-28 05:41:41 +08:00
|
|
|
sentinel-frame.o: sentinel-frame.c $(defs_h) $(regcache_h) \
|
|
|
|
$(sentinel_frame_h) $(inferior_h) $(frame_unwind_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
ser-e7kpc.o: ser-e7kpc.c $(defs_h) $(serial_h) $(gdb_string_h)
|
|
|
|
ser-go32.o: ser-go32.c $(defs_h) $(gdbcmd_h) $(serial_h) $(gdb_string_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
serial.o: serial.c $(defs_h) $(serial_h) $(gdb_string_h) $(gdbcmd_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
ser-pipe.o: ser-pipe.c $(defs_h) $(serial_h) $(ser_unix_h) $(gdb_vfork_h) \
|
|
|
|
$(gdb_string_h)
|
|
|
|
ser-tcp.o: ser-tcp.c $(defs_h) $(serial_h) $(ser_unix_h) $(gdb_string_h)
|
|
|
|
ser-unix.o: ser-unix.c $(defs_h) $(serial_h) $(ser_unix_h) $(terminal_h) \
|
|
|
|
$(gdb_string_h) $(event_loop_h)
|
|
|
|
sh3-rom.o: sh3-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
2002-09-28 03:33:48 +08:00
|
|
|
$(serial_h) $(srec_h) $(arch_utils_h) $(regcache_h) $(gdb_string_h) \
|
|
|
|
$(sh_tdep_h)
|
2003-10-07 04:43:39 +08:00
|
|
|
sh64-tdep.o: sh64-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(symfile_h) \
|
|
|
|
$(gdbtypes_h) $(gdbcmd_h) $(gdbcore_h) $(value_h) $(dis_asm_h) \
|
|
|
|
$(inferior_h) $(gdb_string_h) $(arch_utils_h) $(floatformat_h) \
|
|
|
|
$(regcache_h) $(doublest_h) $(osabi_h) $(elf_bfd_h) $(solib_svr4_h) \
|
|
|
|
$(elf_sh_h) $(gdb_sim_sh_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
shnbsd-nat.o: shnbsd-nat.c $(defs_h) $(inferior_h) $(sh_tdep_h) \
|
|
|
|
$(shnbsd_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
shnbsd-tdep.o: shnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) $(value_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(osabi_h) $(solib_svr4_h) $(nbsd_tdep_h) $(sh_tdep_h) \
|
|
|
|
$(shnbsd_tdep_h)
|
|
|
|
sh-stub.o: sh-stub.c
|
2003-10-07 04:43:39 +08:00
|
|
|
sh-tdep.o: sh-tdep.c $(defs_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
|
|
|
|
$(dwarf2_frame_h) $(symtab_h) $(symfile_h) $(gdbtypes_h) $(gdbcmd_h) \
|
|
|
|
$(gdbcore_h) $(value_h) $(dis_asm_h) $(inferior_h) $(gdb_string_h) \
|
|
|
|
$(gdb_assert_h) $(arch_utils_h) $(floatformat_h) $(regcache_h) \
|
|
|
|
$(doublest_h) $(osabi_h) $(sh_tdep_h) $(elf_bfd_h) $(solib_svr4_h) \
|
|
|
|
$(elf_sh_h) $(gdb_sim_sh_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
solib-aix5.o: solib-aix5.c $(defs_h) $(gdb_string_h) $(elf_external_h) \
|
|
|
|
$(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) $(gdbcore_h) \
|
|
|
|
$(command_h) $(target_h) $(frame_h) $(gdb_regex_h) $(inferior_h) \
|
|
|
|
$(environ_h) $(language_h) $(gdbcmd_h) $(solist_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
solib.o: solib.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) $(symfile_h) \
|
|
|
|
$(objfiles_h) $(gdbcore_h) $(command_h) $(target_h) $(frame_h) \
|
|
|
|
$(gdb_regex_h) $(inferior_h) $(environ_h) $(language_h) $(gdbcmd_h) \
|
2003-10-23 11:01:55 +08:00
|
|
|
$(completer_h) $(filenames_h) $(solist_h) $(exec_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
solib-irix.o: solib-irix.c $(defs_h) $(symtab_h) $(bfd_h) $(symfile_h) \
|
|
|
|
$(objfiles_h) $(gdbcore_h) $(target_h) $(inferior_h) $(solist_h)
|
|
|
|
solib-legacy.o: solib-legacy.c $(defs_h) $(gdbcore_h) $(solib_svr4_h)
|
|
|
|
solib-osf.o: solib-osf.c $(defs_h) $(gdb_string_h) $(bfd_h) $(symtab_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(target_h) $(inferior_h) $(solist_h)
|
|
|
|
solib-sunos.o: solib-sunos.c $(defs_h) $(gdb_string_h) $(symtab_h) $(bfd_h) \
|
2002-10-20 22:38:26 +08:00
|
|
|
$(symfile_h) $(objfiles_h) $(gdbcore_h) $(inferior_h) $(solist_h) \
|
|
|
|
$(bcache_h) $(regcache_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
solib-svr4.o: solib-svr4.c $(defs_h) $(elf_external_h) $(elf_common_h) \
|
|
|
|
$(elf_mips_h) $(symtab_h) $(bfd_h) $(symfile_h) $(objfiles_h) \
|
2003-11-01 05:13:45 +08:00
|
|
|
$(gdbcore_h) $(target_h) $(inferior_h) $(solist_h) $(solib_svr4_h) \
|
|
|
|
$(bfd_target_h) $(exec_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
sol-thread.o: sol-thread.c $(defs_h) $(gdbthread_h) $(target_h) \
|
|
|
|
$(inferior_h) $(gdb_stat_h) $(gdbcmd_h) $(gdbcore_h) $(regcache_h) \
|
2003-10-07 04:43:39 +08:00
|
|
|
$(symfile_h) $(gdb_string_h) $(gregset_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
somread.o: somread.c $(defs_h) $(bfd_h) $(symtab_h) $(symfile_h) \
|
|
|
|
$(objfiles_h) $(buildsym_h) $(stabsread_h) $(gdb_stabs_h) \
|
|
|
|
$(complaints_h) $(gdb_string_h) $(demangle_h) $(som_h) $(libhppa_h)
|
|
|
|
somsolib.o: somsolib.c $(defs_h) $(frame_h) $(bfd_h) $(som_h) $(libhppa_h) \
|
|
|
|
$(gdbcore_h) $(symtab_h) $(breakpoint_h) $(symfile_h) $(objfiles_h) \
|
|
|
|
$(inferior_h) $(gdb_stabs_h) $(gdb_stat_h) $(gdbcmd_h) $(language_h) \
|
2003-10-23 11:01:55 +08:00
|
|
|
$(regcache_h) $(gdb_assert_h) $(exec_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
source.o: source.c $(defs_h) $(symtab_h) $(expression_h) $(language_h) \
|
|
|
|
$(command_h) $(source_h) $(gdbcmd_h) $(frame_h) $(value_h) \
|
|
|
|
$(gdb_string_h) $(gdb_stat_h) $(gdbcore_h) $(gdb_regex_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(annotate_h) $(gdbtypes_h) $(linespec_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(filenames_h) $(completer_h) $(ui_out_h)
|
2003-09-05 00:48:42 +08:00
|
|
|
sparc64fbsd-nat.o: sparc64fbsd-nat.c $(defs_h) $(sparc64_tdep_h) \
|
|
|
|
$(sparcbsd_nat_h)
|
|
|
|
sparc64fbsd-tdep.o: sparc64fbsd-tdep.c $(defs_h) $(gdbcore_h) $(osabi_h) \
|
|
|
|
$(regcache_h) $(target_h) $(gdb_string_h) $(sparc64_tdep_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
sparc64nbsd-nat.o: sparc64nbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
|
|
|
|
$(sparc_tdep_h) $(sparcnbsd_tdep_h)
|
2003-09-05 00:48:42 +08:00
|
|
|
sparc64-tdep.o: sparc64-tdep.c $(defs_h) $(arch_utils_h) $(floatformat_h) \
|
|
|
|
$(frame_h) $(frame_base_h) $(frame_unwind_h) $(gdbcore_h) \
|
|
|
|
$(gdbtypes_h) $(osabi_h) $(regcache_h) $(target_h) $(value_h) \
|
|
|
|
$(gdb_assert_h) $(gdb_string_h) $(sparc64_tdep_h)
|
|
|
|
sparcbsd-nat.o: sparcbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
|
|
|
|
$(sparc64_tdep_h) $(sparcbsd_nat_h)
|
2003-07-07 23:56:08 +08:00
|
|
|
sparc-linux-nat.o: sparc-linux-nat.c $(defs_h) $(regcache_h) $(sparc_tdep_h) \
|
|
|
|
$(gregset_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
sparc-nat.o: sparc-nat.c $(defs_h) $(inferior_h) $(target_h) $(gdbcore_h) \
|
2003-07-07 23:56:08 +08:00
|
|
|
$(regcache_h) $(sparc_tdep_h) $(gdb_wait_h)
|
2002-05-31 08:59:15 +08:00
|
|
|
sparcnbsd-nat.o: sparcnbsd-nat.c $(defs_h) $(inferior_h) $(regcache_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(sparc_tdep_h) $(sparcnbsd_tdep_h)
|
2002-05-31 08:59:15 +08:00
|
|
|
sparcnbsd-tdep.o: sparcnbsd-tdep.c $(defs_h) $(gdbcore_h) $(regcache_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(target_h) $(value_h) $(osabi_h) $(gdb_string_h) $(sparc_tdep_h) \
|
|
|
|
$(sparcnbsd_tdep_h) $(nbsd_tdep_h) $(solib_svr4_h)
|
|
|
|
sparc-stub.o: sparc-stub.c
|
|
|
|
sparc-tdep.o: sparc-tdep.c $(defs_h) $(arch_utils_h) $(frame_h) \
|
|
|
|
$(inferior_h) $(target_h) $(value_h) $(bfd_h) $(gdb_string_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(regcache_h) $(osabi_h) $(dis_asm_h) $(sparc_tdep_h) $(gregset_h) \
|
|
|
|
$(gdbcore_h) $(gdb_assert_h) $(symfile_h)
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
stabsread.o: stabsread.c $(defs_h) $(gdb_string_h) $(bfd_h) $(gdb_obstack_h) \
|
|
|
|
$(symtab_h) $(gdbtypes_h) $(expression_h) $(symfile_h) $(objfiles_h) \
|
|
|
|
$(aout_stab_gnu_h) $(libaout_h) $(aout_aout64_h) $(gdb_stabs_h) \
|
|
|
|
$(buildsym_h) $(complaints_h) $(demangle_h) $(language_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(doublest_h) $(cp_abi_h) $(cp_support_h) $(stabsread_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
stack.o: stack.c $(defs_h) $(gdb_string_h) $(value_h) $(symtab_h) \
|
|
|
|
$(gdbtypes_h) $(expression_h) $(language_h) $(frame_h) $(gdbcmd_h) \
|
2003-06-08 Andrew Cagney <cagney@redhat.com>
* acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen
from GCC's acinclude.m4.
* configure.in: Check for getopt's delcaration.
* aclocal.m4, config.in, configure: Re-generate.
* main.c (error_init): Delete declaration.
* defs.h (error_init): Declare.
* rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static.
(rs6000_convert_from_func_ptr_addr): Make static.
(_initialize_rs6000_tdep): Add declaration.
* cli/cli-cmds.c (dont_repeat): Delete declaration.
(show_commands, set_verbose, show_history): Delete declaration.
* top.h (set_verbose): Add declaration.
(show_history, set_history, show_commands): Add declaration.
(do_restore_instream_cleanup): Add declaration.
* objc-lang.c (specialcmp): Make static.
(print_object_command): Make static.
(find_objc_msgsend): Make static.
(find_objc_msgcall_submethod_helper): Make static.
(find_objc_msgcall_submethod): Make static.
(_initialize_objc_language): Add declaration.
(find_implementation_from_class): Make static.
(find_implementation): Make static.
* objc-exp.y (yylex): Delete lookup_struct_typedef declaration.
* objc-lang.h (lookup_struct_typedef): Add declaration.
* cli/cli-interp.c (_initialize_cli_interp): Add declaration.
* cli/cli-script.c (clear_hook_in_cleanup): Make static.
(do_restore_user_call_depth): Make static.
(do_restore_instream_cleanup): Delete declaration.
(dont_repeat): Delete declaration.
* cli/cli-decode.c (add_abbrev_cmd): Delete function.
* cli/cli-dump.c (_initialize_cli_dump): Add declaration.
* reggroups.c (_initialize_reggroup): Add declaration.
* cp-support.c (_initialize_cp_support): Add declaration.
* cp-abi.c (_initialize_cp_abi): Add declaration.
* hpacc-abi.c (_initialize_hpacc_abi): Add declaration.
* gnu-v3-abi.c (gnuv3_baseclass_offset): Make static.
(_initialize_gnu_v3_abi): Add declaration.
* gnu-v2-abi.c (gnuv2_value_rtti_type): Make static.
(_initialize_gnu_v2_abi): Add declaration.
* frame-base.c (_initialize_frame_base): Add declaration.
* doublest.c (floatformat_from_length): Make static.
* frame-unwind.c (_initialize_frame_unwind): Add declaration.
* frame.c (create_sentinel_frame): Make static.
(_initialize_frame): Add declaration.
* top.c (do_catch_errors): Make static.
(gdb_rl_operate_and_get_next_completion): Make static.
* typeprint.c: Include "typeprint.h".
* sentinel-frame.c (sentinel_frame_prev_register): Make static.
(sentinel_frame_this_id): Make static.
* p-valprint.c (_initialize_pascal_valprint): Add declaration.
* ui-out.c (make_cleanup_ui_out_begin_end): Delete function.
* dwarf2-frame.c (dwarf2_frame_cache): Make static.
* p-exp.y (push_current_type, pop_current_type): ISO C declaration.
* dwarf2expr.h (dwarf_expr_context): ISO C declaration.
* maint.c (maintenance_print_architecture): Make static.
* signals/signals.c (_initialize_signals): Add declaration.
* std-regs.c (_initialize_frame_reg): Add declaration.
* jv-exp.y (push_variable): ISO C definition.
(push_qualified_expression_name): Ditto.
* memattr.c (_initialize_mem): Add declaration.
* remote.c (remote_check_watch_resources): Make static.
(remote_stopped_by_watchpoint): Make static.
(remote_stopped_data_address): Make static.
* d10v-tdep.c (nr_dmap_regs): Make static.
(a0_regnum): Make static.
(d10v_frame_unwind_cache): Make static.
(d10v_frame_p): Make static.
* osabi.c (show_osabi): Make static.
(_initialize_gdb_osabi): Add extern declaration.
* gdbtypes.c (make_qualified_type): Make static.
(safe_parse_type): Make static.
* macrocmd.c (_initialize_macrocmd): Add extern declaration.
* macrotab.c (macro_bcache_free): Make static.
* interps.c (interp_set_quiet): Make static.
(interpreter_exec_cmd): Make static.
* stack.h (select_frame_command): New file.
* stack.c: Include "stack.h".
(select_frame_command_wrapper): Delete function.
(select_frame_command): Make global.
* infcall.c: Include "infcall.h".
* linespec.c: Include "linespec.h".
* symfile.c (sections_overlap): Make static.
* cp-support.h (cp_initialize_namespace): ISO C declaration.
* charset.c (_initialize_charset): Add missing prototype.
* regcache.c (init_legacy_regcache_descr): Make static.
(do_regcache_xfree): Make static.
(regcache_xfer_part): Make static.
(_initialize_regcache): Add missing prototype.
* breakpoint.c (parse_breakpoint_sals): Make static.
(breakpoint_sals_to_pc): Make static.
* interps.h (clear_interpreter_hooks): ISO C declaration.
* Makefile.in (stack_h): Define.
(stack.o, typeprint.o, mi-main.o): Update dependencies.
(mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies.
Index: mi/ChangeLog
2003-06-08 Andrew Cagney <cagney@redhat.com>
* mi-parse.c (_initialize_mi_parse): Delete function.
* mi-main.c: Include "mi-main.h".
* mi-interp.c (_initialize_mi_interp): Add declaration.
* mi-cmd-stack.c: Include "stack.h".
(select_frame_command_wrapper): Delete extern declaration.
(mi_cmd_stack_select_frame): Replace select_frame_command_wrapper
with select_frame_command.
2003-06-09 02:27:14 +08:00
|
|
|
$(gdbcore_h) $(target_h) $(source_h) $(breakpoint_h) $(demangle_h) \
|
2003-06-09 23:20:21 +08:00
|
|
|
$(inferior_h) $(annotate_h) $(ui_out_h) $(block_h) $(stack_h) \
|
2003-10-24 06:36:14 +08:00
|
|
|
$(gdb_assert_h) $(dictionary_h) $(reggroups_h) $(regcache_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
standalone.o: standalone.c $(gdb_stat_h) $(defs_h) $(symtab_h) $(frame_h) \
|
|
|
|
$(inferior_h) $(gdb_wait_h)
|
2003-07-07 22:36:58 +08:00
|
|
|
std-regs.o: std-regs.c $(defs_h) $(user_regs_h) $(frame_h) $(gdbtypes_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(value_h) $(gdb_string_h)
|
|
|
|
stop-gdb.o: stop-gdb.c $(defs_h)
|
|
|
|
sun3-nat.o: sun3-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) $(regcache_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
symfile.o: symfile.c $(defs_h) $(bfdlink_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(gdbcore_h) $(frame_h) $(target_h) $(value_h) $(symfile_h) \
|
|
|
|
$(objfiles_h) $(source_h) $(gdbcmd_h) $(breakpoint_h) $(language_h) \
|
|
|
|
$(complaints_h) $(demangle_h) $(inferior_h) $(filenames_h) \
|
|
|
|
$(gdb_stabs_h) $(gdb_obstack_h) $(completer_h) $(bcache_h) \
|
|
|
|
$(hashtab_h) $(gdb_assert_h) $(block_h) $(gdb_string_h) \
|
|
|
|
$(gdb_stat_h)
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
symmisc.o: symmisc.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(bfd_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(breakpoint_h) $(command_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(gdb_obstack_h) $(language_h) $(bcache_h) $(block_h) $(gdb_regex_h) \
|
|
|
|
$(dictionary_h) $(gdb_string_h)
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
symtab.o: symtab.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(gdbcore_h) \
|
|
|
|
$(frame_h) $(target_h) $(value_h) $(symfile_h) $(objfiles_h) \
|
|
|
|
$(gdbcmd_h) $(call_cmds_h) $(gdb_regex_h) $(expression_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(language_h) $(demangle_h) $(inferior_h) $(linespec_h) $(source_h) \
|
|
|
|
$(filenames_h) $(objc_lang_h) $(hashtab_h) $(gdb_obstack_h) \
|
|
|
|
$(block_h) $(dictionary_h) $(gdb_string_h) $(gdb_stat_h) $(cp_abi_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
target.o: target.c $(defs_h) $(gdb_string_h) $(target_h) $(gdbcmd_h) \
|
|
|
|
$(symtab_h) $(inferior_h) $(bfd_h) $(symfile_h) $(objfiles_h) \
|
2003-10-25 04:24:06 +08:00
|
|
|
$(gdb_wait_h) $(dcache_h) $(regcache_h) $(gdb_assert_h) \
|
|
|
|
$(gdbcore_h)
|
2002-08-03 04:51:21 +08:00
|
|
|
thread.o: thread.c $(defs_h) $(symtab_h) $(frame_h) $(inferior_h) \
|
|
|
|
$(environ_h) $(value_h) $(target_h) $(gdbthread_h) $(command_h) \
|
2002-08-28 22:02:18 +08:00
|
|
|
$(gdbcmd_h) $(regcache_h) $(gdb_h) $(gdb_string_h) $(ui_out_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
thread-db.o: thread-db.c $(defs_h) $(gdb_assert_h) $(gdb_proc_service_h) \
|
|
|
|
$(gdb_thread_db_h) $(bfd_h) $(gdbthread_h) $(inferior_h) \
|
|
|
|
$(symfile_h) $(objfiles_h) $(target_h) $(regcache_h) $(solib_svr4_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
top.o: top.c $(defs_h) $(gdbcmd_h) $(call_cmds_h) $(cli_cmds_h) \
|
|
|
|
$(cli_script_h) $(cli_setshow_h) $(cli_decode_h) $(symtab_h) \
|
|
|
|
$(inferior_h) $(target_h) $(breakpoint_h) $(gdbtypes_h) \
|
|
|
|
$(expression_h) $(value_h) $(language_h) $(terminal_h) $(annotate_h) \
|
|
|
|
$(completer_h) $(top_h) $(version_h) $(serial_h) $(doublest_h) \
|
|
|
|
$(gdb_assert_h) $(event_top_h) $(gdb_string_h) $(gdb_stat_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(ui_out_h) $(cli_out_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
tracepoint.o: tracepoint.c $(defs_h) $(symtab_h) $(frame_h) $(gdbtypes_h) \
|
|
|
|
$(expression_h) $(gdbcmd_h) $(value_h) $(target_h) $(language_h) \
|
|
|
|
$(gdb_string_h) $(inferior_h) $(tracepoint_h) $(remote_h) \
|
2003-02-19 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add block.c.
(block_h): New.
(COMMON_OBS): Add block.o.
(block.o): New.
(x86-64-tdep.o): Add $(block_h).
(values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
(stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
(objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
(m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
(f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
(c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
(alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
* value.h: Add opaque declaration for struct block.
* parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
* ada-lang.h: Ditto.
* x86-64-tdep.c: #include "block.h"
* values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
* symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
* objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
* mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
* jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
* findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
* buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
* alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
* blockframe.c (blockvector_for_pc_sect): Move to "block.c".
(blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
* symtab.c (block_function): Ditto.
(contained_in): Ditto.
* frame.h: Move block_for_pc and block_for_pc_sect declarations to
block.h. Add opaque declaration for struct block.
* symtab.h: Move block_function and contained_in declarations to
block.h. Add opaque declarations for struct block, struct
blockvector.
(struct block): Move to block.h.
(struct blockvector): Ditto.
(BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
(BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
(BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
(ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
(BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
Ditto.
* block.c: New file.
* block.h: New file.
2003-02-19 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: #include "block.h"
2003-02-20 08:01:07 +08:00
|
|
|
$(linespec_h) $(regcache_h) $(completer_h) $(gdb_events_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(block_h) $(dictionary_h) $(ax_h) $(ax_gdb_h)
|
|
|
|
trad-frame.o: trad-frame.c $(defs_h) $(frame_h) $(trad_frame_h) \
|
|
|
|
$(regcache_h)
|
2002-07-29 Andrew Cagney <ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
2002-07-30 06:55:26 +08:00
|
|
|
typeprint.o: typeprint.c $(defs_h) $(gdb_obstack_h) $(bfd_h) $(symtab_h) \
|
|
|
|
$(gdbtypes_h) $(expression_h) $(value_h) $(gdbcore_h) $(command_h) \
|
2003-06-08 Andrew Cagney <cagney@redhat.com>
* acinclude.m4 (gcc_AC_CHECK_DECL, (gcc_AC_CHECK_DECL): Stolen
from GCC's acinclude.m4.
* configure.in: Check for getopt's delcaration.
* aclocal.m4, config.in, configure: Re-generate.
* main.c (error_init): Delete declaration.
* defs.h (error_init): Declare.
* rs6000-tdep.c (rs6000_fetch_pointer_argument): Make static.
(rs6000_convert_from_func_ptr_addr): Make static.
(_initialize_rs6000_tdep): Add declaration.
* cli/cli-cmds.c (dont_repeat): Delete declaration.
(show_commands, set_verbose, show_history): Delete declaration.
* top.h (set_verbose): Add declaration.
(show_history, set_history, show_commands): Add declaration.
(do_restore_instream_cleanup): Add declaration.
* objc-lang.c (specialcmp): Make static.
(print_object_command): Make static.
(find_objc_msgsend): Make static.
(find_objc_msgcall_submethod_helper): Make static.
(find_objc_msgcall_submethod): Make static.
(_initialize_objc_language): Add declaration.
(find_implementation_from_class): Make static.
(find_implementation): Make static.
* objc-exp.y (yylex): Delete lookup_struct_typedef declaration.
* objc-lang.h (lookup_struct_typedef): Add declaration.
* cli/cli-interp.c (_initialize_cli_interp): Add declaration.
* cli/cli-script.c (clear_hook_in_cleanup): Make static.
(do_restore_user_call_depth): Make static.
(do_restore_instream_cleanup): Delete declaration.
(dont_repeat): Delete declaration.
* cli/cli-decode.c (add_abbrev_cmd): Delete function.
* cli/cli-dump.c (_initialize_cli_dump): Add declaration.
* reggroups.c (_initialize_reggroup): Add declaration.
* cp-support.c (_initialize_cp_support): Add declaration.
* cp-abi.c (_initialize_cp_abi): Add declaration.
* hpacc-abi.c (_initialize_hpacc_abi): Add declaration.
* gnu-v3-abi.c (gnuv3_baseclass_offset): Make static.
(_initialize_gnu_v3_abi): Add declaration.
* gnu-v2-abi.c (gnuv2_value_rtti_type): Make static.
(_initialize_gnu_v2_abi): Add declaration.
* frame-base.c (_initialize_frame_base): Add declaration.
* doublest.c (floatformat_from_length): Make static.
* frame-unwind.c (_initialize_frame_unwind): Add declaration.
* frame.c (create_sentinel_frame): Make static.
(_initialize_frame): Add declaration.
* top.c (do_catch_errors): Make static.
(gdb_rl_operate_and_get_next_completion): Make static.
* typeprint.c: Include "typeprint.h".
* sentinel-frame.c (sentinel_frame_prev_register): Make static.
(sentinel_frame_this_id): Make static.
* p-valprint.c (_initialize_pascal_valprint): Add declaration.
* ui-out.c (make_cleanup_ui_out_begin_end): Delete function.
* dwarf2-frame.c (dwarf2_frame_cache): Make static.
* p-exp.y (push_current_type, pop_current_type): ISO C declaration.
* dwarf2expr.h (dwarf_expr_context): ISO C declaration.
* maint.c (maintenance_print_architecture): Make static.
* signals/signals.c (_initialize_signals): Add declaration.
* std-regs.c (_initialize_frame_reg): Add declaration.
* jv-exp.y (push_variable): ISO C definition.
(push_qualified_expression_name): Ditto.
* memattr.c (_initialize_mem): Add declaration.
* remote.c (remote_check_watch_resources): Make static.
(remote_stopped_by_watchpoint): Make static.
(remote_stopped_data_address): Make static.
* d10v-tdep.c (nr_dmap_regs): Make static.
(a0_regnum): Make static.
(d10v_frame_unwind_cache): Make static.
(d10v_frame_p): Make static.
* osabi.c (show_osabi): Make static.
(_initialize_gdb_osabi): Add extern declaration.
* gdbtypes.c (make_qualified_type): Make static.
(safe_parse_type): Make static.
* macrocmd.c (_initialize_macrocmd): Add extern declaration.
* macrotab.c (macro_bcache_free): Make static.
* interps.c (interp_set_quiet): Make static.
(interpreter_exec_cmd): Make static.
* stack.h (select_frame_command): New file.
* stack.c: Include "stack.h".
(select_frame_command_wrapper): Delete function.
(select_frame_command): Make global.
* infcall.c: Include "infcall.h".
* linespec.c: Include "linespec.h".
* symfile.c (sections_overlap): Make static.
* cp-support.h (cp_initialize_namespace): ISO C declaration.
* charset.c (_initialize_charset): Add missing prototype.
* regcache.c (init_legacy_regcache_descr): Make static.
(do_regcache_xfree): Make static.
(regcache_xfer_part): Make static.
(_initialize_regcache): Add missing prototype.
* breakpoint.c (parse_breakpoint_sals): Make static.
(breakpoint_sals_to_pc): Make static.
* interps.h (clear_interpreter_hooks): ISO C declaration.
* Makefile.in (stack_h): Define.
(stack.o, typeprint.o, mi-main.o): Update dependencies.
(mi-cmd-stack.o, infcall.o, linespec.o): Update dependencies.
Index: mi/ChangeLog
2003-06-08 Andrew Cagney <cagney@redhat.com>
* mi-parse.c (_initialize_mi_parse): Delete function.
* mi-main.c: Include "mi-main.h".
* mi-interp.c (_initialize_mi_interp): Add declaration.
* mi-cmd-stack.c: Include "stack.h".
(select_frame_command_wrapper): Delete extern declaration.
(mi_cmd_stack_select_frame): Replace select_frame_command_wrapper
with select_frame_command.
2003-06-09 02:27:14 +08:00
|
|
|
$(gdbcmd_h) $(target_h) $(language_h) $(cp_abi_h) $(typeprint_h) \
|
|
|
|
$(gdb_string_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
ui-file.o: ui-file.c $(defs_h) $(ui_file_h) $(gdb_string_h)
|
|
|
|
ui-out.o: ui-out.c $(defs_h) $(gdb_string_h) $(expression_h) $(language_h) \
|
|
|
|
$(ui_out_h) $(gdb_assert_h)
|
2003-07-07 22:36:58 +08:00
|
|
|
user-regs.o: user-regs.c $(defs_h) $(user_regs_h) $(gdbtypes_h) \
|
|
|
|
$(gdb_string_h) $(gdb_assert_h) $(frame_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
utils.o: utils.c $(defs_h) $(gdb_assert_h) $(gdb_string_h) $(event_top_h) \
|
|
|
|
$(gdbcmd_h) $(serial_h) $(bfd_h) $(target_h) $(demangle_h) \
|
|
|
|
$(expression_h) $(language_h) $(charset_h) $(annotate_h) \
|
|
|
|
$(filenames_h) $(inferior_h) $(mmalloc_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
uw-thread.o: uw-thread.c $(defs_h) $(gdbthread_h) $(target_h) $(inferior_h) \
|
|
|
|
$(regcache_h) $(gregset_h)
|
|
|
|
v850ice.o: v850ice.c $(defs_h) $(gdb_string_h) $(frame_h) $(symtab_h) \
|
|
|
|
$(inferior_h) $(breakpoint_h) $(symfile_h) $(target_h) $(objfiles_h) \
|
|
|
|
$(gdbcore_h) $(value_h) $(command_h) $(regcache_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
v850-tdep.o: v850-tdep.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
|
|
|
|
$(value_h) $(bfd_h) $(gdb_string_h) $(gdbcore_h) $(symfile_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(arch_utils_h) $(regcache_h) $(symtab_h) $(dis_asm_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
valarith.o: valarith.c $(defs_h) $(value_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(expression_h) $(target_h) $(language_h) $(gdb_string_h) \
|
2003-04-21 Andrew Cagney <cagney@redhat.com>
* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.
2003-04-22 00:48:41 +08:00
|
|
|
$(doublest_h) $(infcall_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
valops.o: valops.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(value_h) $(frame_h) \
|
|
|
|
$(inferior_h) $(gdbcore_h) $(target_h) $(demangle_h) $(language_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(gdbcmd_h) $(regcache_h) $(cp_abi_h) $(block_h) $(infcall_h) \
|
2003-09-26 00:39:39 +08:00
|
|
|
$(dictionary_h) $(cp_support_h) $(gdb_string_h) $(gdb_assert_h) \
|
|
|
|
$(cp_support_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
valprint.o: valprint.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(value_h) $(gdbcore_h) $(gdbcmd_h) $(target_h) $(language_h) \
|
|
|
|
$(annotate_h) $(valprint_h) $(floatformat_h) $(doublest_h)
|
|
|
|
values.o: values.c $(defs_h) $(gdb_string_h) $(symtab_h) $(gdbtypes_h) \
|
|
|
|
$(value_h) $(gdbcore_h) $(command_h) $(gdbcmd_h) $(target_h) \
|
|
|
|
$(language_h) $(scm_lang_h) $(demangle_h) $(doublest_h) \
|
2003-02-19 David Carlton <carlton@math.stanford.edu>
* Makefile.in (SFILES): Add block.c.
(block_h): New.
(COMMON_OBS): Add block.o.
(block.o): New.
(x86-64-tdep.o): Add $(block_h).
(values.o, valops.o, tracepoint.o, symtab.o, symmisc.o, symfile.o)
(stack.o, printcmd.o, p-exp.tab.o, parse.o, objfiles.o)
(objc-exp.tab.o, objc-lang.o, nlmread.o, mips-tdep.o, mdebugread.o)
(m2-exp.tab.o, linespec.o, jv-lang.o, jv-exp.tab.o, infcmd.o)
(f-valprint.o, findvar.o, f-exp.tab.o, expprint.o, coffread.o)
(c-exp.tab.o, buildsym.o, breakpoint.o, blockframe.o, ax-gdb.o)
(alpha-tdep.o, ada-lang.o, ada-exp.tab.o, mi-cmd-stack.o): Ditto.
* value.h: Add opaque declaration for struct block.
* parser-defs.h, objc-lang.h, buildsym.h, breakpoint.h: Ditto.
* ada-lang.h: Ditto.
* x86-64-tdep.c: #include "block.h"
* values.c, valops.c, tracepoint.c, symtab.c, symmisc.c: Ditto.
* symfile.c, stack.c, printcmd.c, p-exp.y, parse.c: Ditto.
* objfiles.c, objc-exp.y, objc-lang.c, nlmread.c: Ditto.
* mips-tdep.c, mdebugread.c, m2-exp.y, linespec.c: Ditto.
* jv-lang.c, jv-exp.y, infcmd.c, f-valprint.c: Ditto.
* findvar.c, f-exp.y, expprint.c, coffread.c, c-exp.y: Ditto.
* buildsym.c, breakpoint.c, blockframe.c, ax-gdb.c: Ditto.
* alpha-tdep.c, ada-lang.c, ada-exp.y: Ditto.
* blockframe.c (blockvector_for_pc_sect): Move to "block.c".
(blockvector_for_pc, block_for_pc_sect, block_for_pc): Ditto.
* symtab.c (block_function): Ditto.
(contained_in): Ditto.
* frame.h: Move block_for_pc and block_for_pc_sect declarations to
block.h. Add opaque declaration for struct block.
* symtab.h: Move block_function and contained_in declarations to
block.h. Add opaque declarations for struct block, struct
blockvector.
(struct block): Move to block.h.
(struct blockvector): Ditto.
(BLOCK_START, BLOCK_END, BLOCK_FUNCTION, BLOCK_SUPERBLOCK)
(BLOCK_GCC_COMPILED, BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM)
(BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE)
(ALL_BLOCK_SYMBOLS, BLOCK_SHOULD_SORT, BLOCKVECTOR_NBLOCKS)
(BLOCKVECTOR_BLOCK, GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOCK):
Ditto.
* block.c: New file.
* block.h: New file.
2003-02-19 David Carlton <carlton@math.stanford.edu>
* mi-cmd-stack.c: #include "block.h"
2003-02-20 08:01:07 +08:00
|
|
|
$(gdb_assert_h) $(regcache_h) $(block_h)
|
2002-08-03 04:51:21 +08:00
|
|
|
varobj.o: varobj.c $(defs_h) $(value_h) $(expression_h) $(frame_h) \
|
|
|
|
$(language_h) $(wrapper_h) $(gdbcmd_h) $(gdb_string_h) $(varobj_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
vax-tdep.o: vax-tdep.c $(defs_h) $(symtab_h) $(opcode_vax_h) $(gdbcore_h) \
|
|
|
|
$(inferior_h) $(regcache_h) $(frame_h) $(value_h) $(arch_utils_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(gdb_string_h) $(osabi_h) $(dis_asm_h) $(vax_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
w89k-rom.o: w89k-rom.c $(defs_h) $(gdbcore_h) $(target_h) $(monitor_h) \
|
|
|
|
$(serial_h) $(xmodem_h) $(regcache_h)
|
2003-10-07 04:43:39 +08:00
|
|
|
win32-nat.o: win32-nat.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \
|
|
|
|
$(gdbcore_h) $(command_h) $(completer_h) $(regcache_h) $(top_h) \
|
|
|
|
$(i386_tdep_h) $(buildsym_h) $(symfile_h) $(objfiles_h) \
|
2003-10-23 11:01:55 +08:00
|
|
|
$(gdb_string_h) $(gdbthread_h) $(gdbcmd_h) $(exec_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
wince.o: wince.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) $(gdbcore_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(command_h) $(buildsym_h) $(symfile_h) $(objfiles_h) \
|
|
|
|
$(gdb_string_h) $(gdbthread_h) $(gdbcmd_h) $(wince_stub_h) \
|
|
|
|
$(regcache_h) $(mips_tdep_h)
|
|
|
|
wince-stub.o: wince-stub.c $(wince_stub_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
wrapper.o: wrapper.c $(defs_h) $(value_h) $(wrapper_h)
|
|
|
|
x86-64-linux-nat.o: x86-64-linux-nat.c $(defs_h) $(inferior_h) $(gdbcore_h) \
|
2003-09-05 00:48:42 +08:00
|
|
|
$(regcache_h) $(linux_nat_h) $(gdb_assert_h) $(gdb_string_h) \
|
|
|
|
$(gdb_proc_service_h) $(gregset_h) $(x86_64_tdep_h) \
|
|
|
|
$(x86_64_linux_tdep_h) $(i386_linux_tdep_h) $(amd64_nat_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
x86-64-linux-tdep.o: x86-64-linux-tdep.c $(defs_h) $(inferior_h) \
|
|
|
|
$(gdbcore_h) $(regcache_h) $(osabi_h) $(gdb_string_h) \
|
|
|
|
$(x86_64_tdep_h) $(x86_64_linux_tdep_h)
|
|
|
|
x86-64-tdep.o: x86-64-tdep.c $(defs_h) $(arch_utils_h) $(block_h) \
|
* x86-64-tdep.h (x86_64_num_regs, x86_64_num_gregs): Remove
variable declarations.
(x86_64_register_number, x86_64_register_name): Remove prototypes.
(x86_64_linux_frame_saved_pc, x86_64_linux+saved_pc_after_call,
x86_64_linux_in_sigtramp, x86_64_linux_frame_chain,
x86_64_init_frame_pc, x86_64_init_frame_pc,
x86_64_function_has_prologue): Remove prototypes.
(X86_64_NUM_GREGS): New define.
(x86_64_supply_fxsave, x86_64_fill_fxsave): New prototypes.
* x86-64-tdep.c: Don't include "dwarf2cfi.h". Include
"dummy_frame.h", "frame.h", "frame-base.h", "frame-unwind.h".
(RAX_REGNUM, RDX_REGNUM, RDI_REGNUM, EFLAGS_REGNUM, ST0_REGNUM,
XMM1_REGNUM): Remove defines.
(X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM,
X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM,
X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM,
X86_64_XMM1_REGNUM): New defines.
(struct x86_64_register_info): Renamed from `struct
register_info'. Remove `size' member.
(x86_64_register_info_table): Remove variable.
(x86_64_register_info): New variable.
(X86_64_NUM_REGS): New define.
(X86_64_NUM_GREGS): Remove define.
(x86_64_num_regs, x86_64_num_gregs): Remove variables.
(x86_64_dwarf2gdb_regno_map, x86_64_dwarf2gdb_regno_map_length):
Remove variables.
(x86_54_dwarf2_reg_to_regnum): Remove function.
(x86_64_dwarf_regmap, x86_64_dwarf_regmap_len): New variables.
(x86_64_dwarf_reg_to_regnum): New function.
(x86_64_register_name): Rewrite.
(x86_64_register_raw_size): Remove function.
(x86_64_register_byte_table): Remove variable.
(x86_64_register_byte): Remove function.
(x86_64_register_virtual_type): Remove function.
(x86_64_register_type): New function.
(x86_64_register_convertible, x86_64_register_convert_to_virtual,
x86_64_register_convert_to_raw): Remove functions.
(x86_64_push_return_address, x86_64_pop_frame): Remove functon.
(x86_64_use_struct_convention): Make static. Adjust for renamed
defines.
(x86_64_frame_init_saved_regs): Remove function.
(x86_64_push_arguments): Make static. Change to accept a regcache
as argument.
(x86_64_store_return_value, x86_64_extract_return_value): Make
static. Rewrite based on i386 counterparts.
(x86_64_push_dummy_call): New function.
(X86_64_NUM_SAVED_REGS): New define.
(x86_64_register_number): Remove function.
(x86_64_store_struct_return): Remove function.
(x86_64_frameless_function_invocation,
x86_64_function_has_prologue): Remove functions.
(PROLOG_BUFSIZE): Remove define.
(struct x86_64_frame_cache): New structure.
(x86_64_alloc_frame_cache, x86_64_analyze_prologue,
x86_64_frame_cache, x86_64_frame_this_id,
x86_64_frame_prev_register, x86_64_frame_p,
x86_64_sigtramp_frame_cache, x86_64_sigtramp_frame_this_id,
x86_64_sigtramp_frame_prev_register, x86_sigtramp_frame_p): New
functions.
(x86_64_frame_unwind, x86_64_sigtramp_frame_unwind): New
variables.
(x86_64_skip_prologue): Rewrite in terms of
x86_64_analyze_prologue.
(x86_64_frame_base_address): New function.
(x86_64_frame_base): New variable.
(x86_64_save_dummy_frame_tos, x86_64_unwind_dummy_id): Rewrite.
(x86_64_init_abi): Set register_type and push_dummy_call. Don't
set deprecated_fp_regnum, deprecated_register_size,
deprecated_register_bytes, register_raw_size, register_byte,
register_virtual_type, register_convertiable,
register_convert_to_virtual, convert_to_raw,
deprecated_get_saved_register, deprecated_target_read_fp,
deprecated_push_arguments, deprecated_push_return_address,
deprecated_pop_frame, deprecated_store_struct_return,
deprecated_frame_init_saved_regs, deprecated_frame_chain,
frameless_function_invocation, deprecated_frame_saved_pc,
deprecated_saved_pc_after_call, frame_num_args, pc_in_sigtramp,
dwarf2_build_frame_info, deprecated_init_extra_frame_info,
deprecated_init_frame_pc and virtual_frame_pointer. Call
frame_unwind_append_predicate to register x86_64_sigtramp_frame_p
and x86_64_frame_p. Call frame_base_set_default to register
x86_64_frame_base.
(I387_FISEG_REGNUM, I387_FOSEG_REGNUM): New defines.
(x86_64_supply_fxsave, x86_64_fill_fxsave): New functions.
(_initialize_x86_64_tdep): Remove function.
* x86-64-linux-tdep.c: Don't include "dwarf2cfi.h".
(LINUX_SIGINFO_SIZE, LINUX_UCONTEXT_SIGCONTEXT_OFFSET,
LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_FP_OFFSET): Don't
define.
(X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Define.
(x86_64_linux_sigcontext_addr): Rewrite.
(x86_64_linux_sigtramp_saved_pc, x86_64_linux_saved_pc_after_call,
x86_64_linux_frame_saved_pc): Remove functions.
(x86_64_linux_pc_in_sigtramp): Renamed from
x86_64_linux_in_sigtramp. Try harder to recognize a signal
trampoline.
(x86_64_linux_frame_chain, x86_64_init_frame_pc):
Remove_functions.
(x86_64_linux_init_abi): Set pc_in_sigtramp. Initialize
TDEP->sigcontext_addr, TDEP->sc_pc_offset and TDEP->sc_sp_offset.
* x86-64-linux-nat.c: Sync with i386-linux-tdep.c.
(x86_64_regmap): Rename to regmap.
(GETREGS_SUPPLIES): Use X86_64_NUM_GREGS instead of
x86_64_num_gregs.
(supply_gregset, fill_gregset): Likewise. Use regmap instead of
x86_64_regmap.
(x86_64_fxsave_offset): Remove function.
(supply_fpregset): Simply call x86_64_supply_fxsave.
(fill_fpregset): Simply call x86_64_fill_fxsave.
(fetch_inferior_registers, store_inferior_registers): Avoid
asignment in if-statement.
(LINUX_SYSCALL_LEN, LINUX_SYSCALL_REGNUM, SYS_Sigreturn,
SYS_rt_sigreturn, LINUX_SIGCONTEXT_EFLAGS_OFFSET,
LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Remove defines.
(fetch_core_registers): Remove function.
(linux_elf_core_fns): Remove.
(offsetoff): Don't define.
(_initialize_x86_64_linux_nat, kernel_u_size): Remove functions.
* config/i386/x86-64linux.mt (TDEPFILES): Add i386-linux-tdep.o.
* config/i386/x86-64linux.mh (NATDEPFILES): Remove core-aout.o,
add core-regset.o.
* config/i386/nm-x86-64linux.h: Use NM_X86_64_LINUX_H for
protection against multiple includes instead of NM_X86_64_h. Add
various comments. Include "config/nm-linux.h". Don't include
<signal.h>.
(REGISTER_U_ADDR, KERNEL_U_SIZE, U_REGS_OFFSET, KERN_U_ADDR,
GET_THREAD_SIGNALS): Remove defines.
(x86_64_register_u_addr, kernel_u_size,
lin_thread_get_thread_signals): Remove prototypes.
(PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define to `long'.
[HAVE_LINK_H]: Don't include "solib.h".
[HAVE_LINK_H] (SVR4_SHARED_LIBS): Remove define.
* config/i386/tm-x86-64linux.h: Fix comments.
* Makefile.in (x86-64-linux-nat.o, x86_64-linux-tdep.o,
x86-64-tdep.o): Update dependencies.
2003-05-31 16:15:38 +08:00
|
|
|
$(dummy_frame_h) $(frame_h) $(frame_base_h) $(frame_unwind_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(inferior_h) $(gdbcmd_h) $(gdbcore_h) $(objfiles_h) $(regcache_h) \
|
2003-10-07 04:43:39 +08:00
|
|
|
$(regset_h) $(symfile_h) $(gdb_assert_h) $(x86_64_tdep_h) \
|
|
|
|
$(i387_tdep_h)
|
2002-08-28 22:02:18 +08:00
|
|
|
xcoffread.o: xcoffread.c $(defs_h) $(bfd_h) $(gdb_string_h) $(gdb_stat_h) \
|
|
|
|
$(coff_internal_h) $(libcoff_h) $(coff_xcoff_h) $(libxcoff_h) \
|
|
|
|
$(coff_rs6000_h) $(symtab_h) $(gdbtypes_h) $(symfile_h) \
|
|
|
|
$(objfiles_h) $(buildsym_h) $(stabsread_h) $(expression_h) \
|
|
|
|
$(complaints_h) $(gdb_stabs_h) $(aout_stab_gnu_h)
|
|
|
|
xcoffsolib.o: xcoffsolib.c $(defs_h) $(bfd_h) $(xcoffsolib_h) $(inferior_h) \
|
|
|
|
$(gdbcmd_h) $(symfile_h) $(frame_h) $(gdb_regex_h)
|
|
|
|
xmodem.o: xmodem.c $(defs_h) $(serial_h) $(target_h) $(xmodem_h)
|
|
|
|
xstormy16-tdep.o: xstormy16-tdep.c $(defs_h) $(value_h) $(inferior_h) \
|
|
|
|
$(symfile_h) $(arch_utils_h) $(regcache_h) $(gdbcore_h) \
|
2003-09-04 Andrew Cagney <cagney@redhat.com>
* avr-tdep.c: Include "dis-asm.h".
* cris-tdep.c: Include "dis-asm.h".
(cris_delayed_get_disassembler): Use "struct disassemble_info"
instead of corresponding typedef.
* h8300-tdep.c: Include "dis-asm.h".
* ia64-tdep.c: Include "dis-asm.h".
* i386-tdep.c: Include "dis-asm.h".
(i386_print_insn): Use "struct disassemble_info" instead of
corresponding typedef.
* m68k-tdep.c: Include "dis-asm.h".
* mcore-tdep.c: Include "dis-asm.h".
* mips-tdep.c: Include "dis-asm.h".
(gdb_print_insn_mips): Make static, use "struct disassemble_info"
instead of corresponding typedef.
* ns32k-tdep.c: Include "dis-asm.h".
* s390-tdep.c: Include "dis-asm.h".
* sparc-tdep.c: Include "dis-asm.h".
* vax-tdep.c: Include "dis-asm.h".
* v850-tdep.c: Include "dis-asm.h".
* mn10300-tdep.c: Include "dis-asm.h".
* rs6000-tdep.c: Include "dis-asm.h".
* xstormy16-tdep.c: Include "dis-asm.h".
(_initialize_xstormy16_tdep): Delete "extern" declaration of
print_insn_xstormy16.
* Makefile.in (v850-tdep.o): Update dependencies.
(vax-tdep.o, sparc-tdep.o, s390-tdep.o): Ditto.
(ns32k-tdep.o, mips-tdep.o, mcore-tdep.o): Ditto.
(m68k-tdep.o, ia64-tdep.o, i386-tdep.o): Ditto.
(h8300-tdep.o, cris-tdep.o, avr-tdep.o): Ditto.
(mn10300-tdep.o, xstormy16-tdep.o, disasm.o): Ditto.
(gdbarch_h): Remove $(dis_asm_h).
* disasm.c: Include "dis-asm.h".
(dis_asm_read_memory): Use "struct disassemble_info" instead of
corresponding typedef.
(dis_asm_memory_error, dump_insns, do_assembly_only): Ditto.
(gdb_disassemble_info, gdb_disassembly, gdb_print_insn): Ditto.
* gdbarch.sh: Do not include "dis-asm.h".
(struct disassemble_info): Declare opaque.
(TARGET_PRINT_INSN): Update declaration.
* gdbarch.h, gdbarch.c: Re-generate.
2003-09-09 12:41:32 +08:00
|
|
|
$(objfiles_h) $(dis_asm_h)
|
2000-02-03 12:14:45 +08:00
|
|
|
|
2000-12-01 Fernando Nasser <fnasser@redhat.com>
* cli/cli-decode.c: New file. Handle lists of commands, their decoding
and documentation.
(add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
Moved here from command.c.
(add_info, add_info_alias, add_com, add_com_alias): Moved here from
top.c.
* cli/cli-decode.h: Definitions/declarations for the above.
* cli/cli-cmds.c: New file. GDB CLI commands.
(error_no_arg, info_command, show_command, help_command, show_version,
quit_command, pwd_command, cd_command, echo_command, shell_escape,
make_command, show_user, set_debug, show_debug, init_cmd_lists):
Moved here from top.c.
(apropos_command): Moved here from command.c.
(complete_command, source_command): Moved here (part) from top.c.
(is_complete_command): New function. Checks if a command is the
"complete" command.
(init_cli_cmds): New function. Add commands to the CLI (from code
previously in top.c.
* cli/cli-cmds.h: Definitions/declarations for the above.
* cli/cli-script.c: New file. GDB CLI command scripting.
(build_command_line, get_command_line, print_command_lines,
print_command_line, execute_user_command, execute_control_command,
while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
insert_args, realloc_body_list, read_next_line,
recurse_read_control_structure, read_command_lines, free_command_lines,
do_free_command_lines_cleanup, make_cleanup_free_command_lines,
validate_comname, user_defined_command, define_command,
document_command, source_cleanup_lines, do_fclose_cleanup,
show_user_1): Moved here from top.c.
(script_from_file): New function. Implements execution of a script
contained in a file (part of code for the source_command() that used
to exist in top.c).
* cli/cli-script.h: Definitions/declarations for the above.
* cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
(parse_auto_binary_operation, parse_binary_operation,
do_setshow_command, cmd_show_list): Moved here from command.c.
* cli/cli-setshow.h: Definitions/declarations for the above.
* top.c: Remove all CLI code, except the command loop.
(gdb_init): Call init_cli_cmds().
* command.c: Remove obsolete file.
* command.h: Mark as DEPRECATED.
* gdbcmd.h: Ditto.
* call-cmds.h: Ditto.
* Makefile.in (SFILES): Remove command.c.
(COMMON_OBS): Remove command.o.
(command.o): Remove obsolete target.
(cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
Refer to CLI header files.
(cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
subdirectory.
* configure.in (enable_gdbcli): New option. Include the CLI in the
executable (cannot be disabled yet).
(CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
the corresponding SUBDIR_CLI_* macros if CLI requested.
* configure: Regenerate.
2000-12-02 02:01:38 +08:00
|
|
|
#
|
2002-08-21 13:40:07 +08:00
|
|
|
# gdb/cli/ dependencies
|
2000-12-01 Fernando Nasser <fnasser@redhat.com>
* cli/cli-decode.c: New file. Handle lists of commands, their decoding
and documentation.
(add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
Moved here from command.c.
(add_info, add_info_alias, add_com, add_com_alias): Moved here from
top.c.
* cli/cli-decode.h: Definitions/declarations for the above.
* cli/cli-cmds.c: New file. GDB CLI commands.
(error_no_arg, info_command, show_command, help_command, show_version,
quit_command, pwd_command, cd_command, echo_command, shell_escape,
make_command, show_user, set_debug, show_debug, init_cmd_lists):
Moved here from top.c.
(apropos_command): Moved here from command.c.
(complete_command, source_command): Moved here (part) from top.c.
(is_complete_command): New function. Checks if a command is the
"complete" command.
(init_cli_cmds): New function. Add commands to the CLI (from code
previously in top.c.
* cli/cli-cmds.h: Definitions/declarations for the above.
* cli/cli-script.c: New file. GDB CLI command scripting.
(build_command_line, get_command_line, print_command_lines,
print_command_line, execute_user_command, execute_control_command,
while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
insert_args, realloc_body_list, read_next_line,
recurse_read_control_structure, read_command_lines, free_command_lines,
do_free_command_lines_cleanup, make_cleanup_free_command_lines,
validate_comname, user_defined_command, define_command,
document_command, source_cleanup_lines, do_fclose_cleanup,
show_user_1): Moved here from top.c.
(script_from_file): New function. Implements execution of a script
contained in a file (part of code for the source_command() that used
to exist in top.c).
* cli/cli-script.h: Definitions/declarations for the above.
* cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
(parse_auto_binary_operation, parse_binary_operation,
do_setshow_command, cmd_show_list): Moved here from command.c.
* cli/cli-setshow.h: Definitions/declarations for the above.
* top.c: Remove all CLI code, except the command loop.
(gdb_init): Call init_cli_cmds().
* command.c: Remove obsolete file.
* command.h: Mark as DEPRECATED.
* gdbcmd.h: Ditto.
* call-cmds.h: Ditto.
* Makefile.in (SFILES): Remove command.c.
(COMMON_OBS): Remove command.o.
(command.o): Remove obsolete target.
(cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
Refer to CLI header files.
(cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
subdirectory.
* configure.in (enable_gdbcli): New option. Include the CLI in the
executable (cannot be disabled yet).
(CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
the corresponding SUBDIR_CLI_* macros if CLI requested.
* configure: Regenerate.
2000-12-02 02:01:38 +08:00
|
|
|
#
|
|
|
|
# Need to explicitly specify the compile rule as make will do nothing
|
2003-07-09 04:18:41 +08:00
|
|
|
# or try to compile the object file into the sub-directory.
|
2000-12-01 Fernando Nasser <fnasser@redhat.com>
* cli/cli-decode.c: New file. Handle lists of commands, their decoding
and documentation.
(add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
Moved here from command.c.
(add_info, add_info_alias, add_com, add_com_alias): Moved here from
top.c.
* cli/cli-decode.h: Definitions/declarations for the above.
* cli/cli-cmds.c: New file. GDB CLI commands.
(error_no_arg, info_command, show_command, help_command, show_version,
quit_command, pwd_command, cd_command, echo_command, shell_escape,
make_command, show_user, set_debug, show_debug, init_cmd_lists):
Moved here from top.c.
(apropos_command): Moved here from command.c.
(complete_command, source_command): Moved here (part) from top.c.
(is_complete_command): New function. Checks if a command is the
"complete" command.
(init_cli_cmds): New function. Add commands to the CLI (from code
previously in top.c.
* cli/cli-cmds.h: Definitions/declarations for the above.
* cli/cli-script.c: New file. GDB CLI command scripting.
(build_command_line, get_command_line, print_command_lines,
print_command_line, execute_user_command, execute_control_command,
while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
insert_args, realloc_body_list, read_next_line,
recurse_read_control_structure, read_command_lines, free_command_lines,
do_free_command_lines_cleanup, make_cleanup_free_command_lines,
validate_comname, user_defined_command, define_command,
document_command, source_cleanup_lines, do_fclose_cleanup,
show_user_1): Moved here from top.c.
(script_from_file): New function. Implements execution of a script
contained in a file (part of code for the source_command() that used
to exist in top.c).
* cli/cli-script.h: Definitions/declarations for the above.
* cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
(parse_auto_binary_operation, parse_binary_operation,
do_setshow_command, cmd_show_list): Moved here from command.c.
* cli/cli-setshow.h: Definitions/declarations for the above.
* top.c: Remove all CLI code, except the command loop.
(gdb_init): Call init_cli_cmds().
* command.c: Remove obsolete file.
* command.h: Mark as DEPRECATED.
* gdbcmd.h: Ditto.
* call-cmds.h: Ditto.
* Makefile.in (SFILES): Remove command.c.
(COMMON_OBS): Remove command.o.
(command.o): Remove obsolete target.
(cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
Refer to CLI header files.
(cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
subdirectory.
* configure.in (enable_gdbcli): New option. Include the CLI in the
executable (cannot be disabled yet).
(CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
the corresponding SUBDIR_CLI_* macros if CLI requested.
* configure: Regenerate.
2000-12-02 02:01:38 +08:00
|
|
|
|
2002-07-30 Andrew Cagney <ac131313@redhat.com>
* symtab.h: Replace #include "gdb_obstack.h" with opaque
declaration.
* cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h".
* gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto.
* avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto.
* arch-utils.c, cli/cli-setshow.c: Unconditionally include
"gdb_string.h".
* Makefile.in (cli-script.o, cli-cmds.o): Update dependencies.
(gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto.
(cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto.
(avr-tdep.o, mon960-rom.o): Ditto.
(aout_stabs_gnu_h): Define.
(symtab_h): Remove $(gdb_obstack_h).
2002-07-30 21:45:15 +08:00
|
|
|
cli-cmds.o: $(srcdir)/cli/cli-cmds.c $(defs_h) $(completer_h) $(target_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(gdb_wait_h) $(gdb_regex_h) $(gdb_string_h) $(gdb_vfork_h) \
|
|
|
|
$(linespec_h) $(expression_h) $(frame_h) $(value_h) $(language_h) \
|
|
|
|
$(filenames_h) $(objfiles_h) $(source_h) $(disasm_h) $(ui_out_h) \
|
|
|
|
$(top_h) $(cli_decode_h) $(cli_script_h) $(cli_setshow_h) \
|
|
|
|
$(cli_cmds_h)
|
2002-03-29 09:22:41 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-cmds.c
|
2002-08-21 13:40:07 +08:00
|
|
|
cli-decode.o: $(srcdir)/cli/cli-decode.c $(defs_h) $(symtab_h) \
|
|
|
|
$(gdb_regex_h) $(gdb_string_h) $(ui_out_h) $(cli_cmds_h) \
|
|
|
|
$(cli_decode_h) $(gdb_assert_h)
|
2000-12-01 Fernando Nasser <fnasser@redhat.com>
* cli/cli-decode.c: New file. Handle lists of commands, their decoding
and documentation.
(add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
Moved here from command.c.
(add_info, add_info_alias, add_com, add_com_alias): Moved here from
top.c.
* cli/cli-decode.h: Definitions/declarations for the above.
* cli/cli-cmds.c: New file. GDB CLI commands.
(error_no_arg, info_command, show_command, help_command, show_version,
quit_command, pwd_command, cd_command, echo_command, shell_escape,
make_command, show_user, set_debug, show_debug, init_cmd_lists):
Moved here from top.c.
(apropos_command): Moved here from command.c.
(complete_command, source_command): Moved here (part) from top.c.
(is_complete_command): New function. Checks if a command is the
"complete" command.
(init_cli_cmds): New function. Add commands to the CLI (from code
previously in top.c.
* cli/cli-cmds.h: Definitions/declarations for the above.
* cli/cli-script.c: New file. GDB CLI command scripting.
(build_command_line, get_command_line, print_command_lines,
print_command_line, execute_user_command, execute_control_command,
while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
insert_args, realloc_body_list, read_next_line,
recurse_read_control_structure, read_command_lines, free_command_lines,
do_free_command_lines_cleanup, make_cleanup_free_command_lines,
validate_comname, user_defined_command, define_command,
document_command, source_cleanup_lines, do_fclose_cleanup,
show_user_1): Moved here from top.c.
(script_from_file): New function. Implements execution of a script
contained in a file (part of code for the source_command() that used
to exist in top.c).
* cli/cli-script.h: Definitions/declarations for the above.
* cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
(parse_auto_binary_operation, parse_binary_operation,
do_setshow_command, cmd_show_list): Moved here from command.c.
* cli/cli-setshow.h: Definitions/declarations for the above.
* top.c: Remove all CLI code, except the command loop.
(gdb_init): Call init_cli_cmds().
* command.c: Remove obsolete file.
* command.h: Mark as DEPRECATED.
* gdbcmd.h: Ditto.
* call-cmds.h: Ditto.
* Makefile.in (SFILES): Remove command.c.
(COMMON_OBS): Remove command.o.
(command.o): Remove obsolete target.
(cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
Refer to CLI header files.
(cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
subdirectory.
* configure.in (enable_gdbcli): New option. Include the CLI in the
executable (cannot be disabled yet).
(CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
the corresponding SUBDIR_CLI_* macros if CLI requested.
* configure: Regenerate.
2000-12-02 02:01:38 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-decode.c
|
2002-08-21 13:40:07 +08:00
|
|
|
cli-dump.o: $(srcdir)/cli/cli-dump.c $(defs_h) $(gdb_string_h) \
|
|
|
|
$(cli_decode_h) $(cli_cmds_h) $(value_h) $(completer_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(cli_dump_h) $(gdb_assert_h) $(target_h)
|
2002-03-29 09:22:41 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-dump.c
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
cli-interp.o: $(srcdir)/cli/cli-interp.c $(defs_h) $(interps_h) $(wrapper_h) \
|
|
|
|
$(event_top_h) $(ui_out_h) $(cli_out_h) $(top_h) $(gdb_string_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-interp.c
|
2003-08-03 04:11:48 +08:00
|
|
|
cli-logging.o: $(srcdir)/cli/cli-logging.c $(defs_h) $(gdbcmd_h) $(ui_out_h) \
|
|
|
|
$(gdb_string_h)
|
2003-06-29 00:19:07 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-logging.c
|
2002-08-21 13:40:07 +08:00
|
|
|
cli-script.o: $(srcdir)/cli/cli-script.c $(defs_h) $(value_h) $(language_h) \
|
|
|
|
$(ui_out_h) $(gdb_string_h) $(top_h) $(cli_cmds_h) $(cli_decode_h) \
|
|
|
|
$(cli_script_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-script.c
|
2002-07-30 Andrew Cagney <ac131313@redhat.com>
* symtab.h: Replace #include "gdb_obstack.h" with opaque
declaration.
* cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h".
* gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto.
* avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto.
* arch-utils.c, cli/cli-setshow.c: Unconditionally include
"gdb_string.h".
* Makefile.in (cli-script.o, cli-cmds.o): Update dependencies.
(gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto.
(cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto.
(avr-tdep.o, mon960-rom.o): Ditto.
(aout_stabs_gnu_h): Define.
(symtab_h): Remove $(gdb_obstack_h).
2002-07-30 21:45:15 +08:00
|
|
|
cli-setshow.o: $(srcdir)/cli/cli-setshow.c $(defs_h) $(value_h) \
|
2002-08-21 13:40:07 +08:00
|
|
|
$(gdb_string_h) $(ui_out_h) $(cli_decode_h) $(cli_cmds_h) \
|
|
|
|
$(cli_setshow_h)
|
2000-12-01 Fernando Nasser <fnasser@redhat.com>
* cli/cli-decode.c: New file. Handle lists of commands, their decoding
and documentation.
(add_cmd, deprecate_cmd, add_abbrev_cmd, add_alias_cmd, add_prefix_cmd,
add_abbrev_prefix_cmd, not_just_help_class_command, empty_sfunc,
add_set_cmd, add_set_enum_cmd, add_set_auto_boolean_cmd,
add_show_from_set, delete_cmd, apropos_cmd, help_cmd, help_list,
help_all, print_doc_line, help_cmd_list, find_cmd, lookup_cmd_1,
undef_cmd_error, lookup_cmd, deprecated_cmd_warning,
lookup_cmd_composition, complete_on_cmdlist, complete_on_enum):
Moved here from command.c.
(add_info, add_info_alias, add_com, add_com_alias): Moved here from
top.c.
* cli/cli-decode.h: Definitions/declarations for the above.
* cli/cli-cmds.c: New file. GDB CLI commands.
(error_no_arg, info_command, show_command, help_command, show_version,
quit_command, pwd_command, cd_command, echo_command, shell_escape,
make_command, show_user, set_debug, show_debug, init_cmd_lists):
Moved here from top.c.
(apropos_command): Moved here from command.c.
(complete_command, source_command): Moved here (part) from top.c.
(is_complete_command): New function. Checks if a command is the
"complete" command.
(init_cli_cmds): New function. Add commands to the CLI (from code
previously in top.c.
* cli/cli-cmds.h: Definitions/declarations for the above.
* cli/cli-script.c: New file. GDB CLI command scripting.
(build_command_line, get_command_line, print_command_lines,
print_command_line, execute_user_command, execute_control_command,
while_command, if_command, arg_cleanup, setup_user_args, locate_arg,
insert_args, realloc_body_list, read_next_line,
recurse_read_control_structure, read_command_lines, free_command_lines,
do_free_command_lines_cleanup, make_cleanup_free_command_lines,
validate_comname, user_defined_command, define_command,
document_command, source_cleanup_lines, do_fclose_cleanup,
show_user_1): Moved here from top.c.
(script_from_file): New function. Implements execution of a script
contained in a file (part of code for the source_command() that used
to exist in top.c).
* cli/cli-script.h: Definitions/declarations for the above.
* cli/cli-setshow.c: New file. Handle set and show GDB CLI commands.
(parse_auto_binary_operation, parse_binary_operation,
do_setshow_command, cmd_show_list): Moved here from command.c.
* cli/cli-setshow.h: Definitions/declarations for the above.
* top.c: Remove all CLI code, except the command loop.
(gdb_init): Call init_cli_cmds().
* command.c: Remove obsolete file.
* command.h: Mark as DEPRECATED.
* gdbcmd.h: Ditto.
* call-cmds.h: Ditto.
* Makefile.in (SFILES): Remove command.c.
(COMMON_OBS): Remove command.o.
(command.o): Remove obsolete target.
(cli_decode_h, cli_cmds_h, cli_script_h, cli_setshow_h): New macros.
Refer to CLI header files.
(cli-decode.o, cli-cmds.o, cli-setshow.o, cli-script.o): New targets.
(SUBDIR_CLI_OBS, SUBDIR_CLI_SRCS, SUBDIR_CLI_DEPS, SUBDIR_CLI_INITS,
SUBDIR_CLI_LDFLAGS, SUBDIR_CLI_CFLAGS, SUBDIR_CLI_ALL, SUBDIR_CLI_CLEAN,
SUBDIR_CLI_INSTALL, SUBDIR_CLI_UNINSTALL): New macros for new cli
subdirectory.
* configure.in (enable_gdbcli): New option. Include the CLI in the
executable (cannot be disabled yet).
(CONFIG_OBS, CONFIG_DEPS, CONFIG_SRCS, CONFIG_INITS, ENABLE_CFLAGS,
CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL, CONFIG_UNINSTALL): Add
the corresponding SUBDIR_CLI_* macros if CLI requested.
* configure: Regenerate.
2000-12-02 02:01:38 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-setshow.c
|
2002-08-21 13:40:07 +08:00
|
|
|
cli-utils.o: $(srcdir)/cli/cli-utils.c $(defs_h) $(cli_utils_h)
|
2001-01-04 23:50:48 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/cli/cli-utils.c
|
|
|
|
|
2002-08-17 08:04:36 +08:00
|
|
|
#
|
|
|
|
# GDBTK sub-directory
|
|
|
|
#
|
2002-08-21 13:40:07 +08:00
|
|
|
# Need to explicitly specify the compile rule as make will do nothing
|
|
|
|
# or try to compile the object file into the mi directory.
|
2002-08-17 08:04:36 +08:00
|
|
|
|
2002-09-27 01:46:04 +08:00
|
|
|
all-gdbtk: insight$(EXEEXT)
|
|
|
|
|
|
|
|
install-gdbtk:
|
|
|
|
transformed_name=`t='$(program_transform_name)'; \
|
|
|
|
echo insight | sed -e $$t` ; \
|
|
|
|
if test "x$$transformed_name" = x; then \
|
|
|
|
transformed_name=insight ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi ; \
|
2003-08-09 01:30:37 +08:00
|
|
|
$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir); \
|
2002-11-09 11:14:11 +08:00
|
|
|
$(INSTALL_PROGRAM) insight$(EXEEXT) \
|
|
|
|
$(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
|
|
|
|
$(SHELL) $(srcdir)/../mkinstalldirs \
|
|
|
|
$(DESTDIR)$(GDBTK_LIBRARY) ; \
|
|
|
|
$(SHELL) $(srcdir)/../mkinstalldirs \
|
|
|
|
$(DESTDIR)$(libdir)/insight$(GDBTK_VERSION) ; \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/gdbtk/plugins/plugins.tcl \
|
|
|
|
$(DESTDIR)$(libdir)/insight$(GDBTK_VERSION)/plugins.tcl ; \
|
|
|
|
$(SHELL) $(srcdir)/../mkinstalldirs \
|
|
|
|
$(DESTDIR)$(GDBTK_LIBRARY)/images \
|
|
|
|
$(DESTDIR)$(GDBTK_LIBRARY)/images2 ; \
|
2002-09-27 01:46:04 +08:00
|
|
|
$(SHELL) $(srcdir)/../mkinstalldirs \
|
2002-11-09 11:14:11 +08:00
|
|
|
$(DESTDIR)$(GDBTK_LIBRARY)/help \
|
|
|
|
$(DESTDIR)$(GDBTK_LIBRARY)/help/images \
|
|
|
|
$(DESTDIR)$(GDBTK_LIBRARY)/help/trace ; \
|
2002-09-27 01:46:04 +08:00
|
|
|
cd $(srcdir)/gdbtk/library ; \
|
2003-01-22 05:39:31 +08:00
|
|
|
for i in *.tcl *.itcl *.ith *.itb images/*.gif images2/*.gif images/icons.txt images2/icons.txt tclIndex help/*.html help/trace/*.html help/trace/index.toc help/images/*.gif help/images/*.png; \
|
2002-09-27 01:46:04 +08:00
|
|
|
do \
|
2002-11-09 11:14:11 +08:00
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)$(GDBTK_LIBRARY)/$$i ; \
|
2002-09-27 01:46:04 +08:00
|
|
|
done ;
|
|
|
|
|
|
|
|
uninstall-gdbtk:
|
|
|
|
transformed_name=`t='$(program_transform_name)'; \
|
|
|
|
echo insight | sed -e $$t` ; \
|
|
|
|
if test "x$$transformed_name" = x; then \
|
|
|
|
transformed_name=insight ; \
|
|
|
|
else \
|
|
|
|
true ; \
|
|
|
|
fi ; \
|
2002-11-09 11:14:11 +08:00
|
|
|
rm -f $(DESTDIR)$(bindir)/$$transformed_name$(EXEEXT) ; \
|
|
|
|
rm -rf $(DESTDIR)$(GDBTK_LIBRARY)
|
2002-09-27 01:46:04 +08:00
|
|
|
|
|
|
|
clean-gdbtk:
|
|
|
|
rm -f insight$(EXEEXT)
|
|
|
|
|
|
|
|
# Removing the old gdb first works better if it is running, at least on SunOS.
|
|
|
|
insight$(EXEEXT): gdbtk-main.o main.o libgdb.a $(CONFIG_OBS) $(ADD_DEPS) \
|
|
|
|
$(CDEPS) $(TDEPLIBS)
|
|
|
|
rm -f insight$(EXEEXT)
|
2003-01-05 03:27:19 +08:00
|
|
|
$(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \
|
2002-09-30 23:57:26 +08:00
|
|
|
-o insight$(EXEEXT) gdbtk-main.o main.o $(CONFIG_OBS) libgdb.a \
|
2002-09-27 01:46:04 +08:00
|
|
|
$(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)
|
|
|
|
|
2002-08-17 08:04:36 +08:00
|
|
|
gdbres.o: $(srcdir)/gdbtk/gdb.rc $(srcdir)/gdbtk/gdbtool.ico
|
|
|
|
$(WINDRES) --include $(srcdir)/gdbtk $(srcdir)/gdbtk/gdb.rc gdbres.o
|
|
|
|
|
|
|
|
gdbtk.o: $(srcdir)/gdbtk/generic/gdbtk.c \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \
|
|
|
|
$(symtab_h) $(inferior_h) $(command_h) \
|
|
|
|
$(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) $(gdb_string_h) \
|
|
|
|
$(tracepoint_h) $(top_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
|
2002-11-28 03:13:10 +08:00
|
|
|
$(ITK_CFLAGS) \
|
2002-08-17 08:04:36 +08:00
|
|
|
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk.c \
|
|
|
|
-DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\" -DSRC_DIR=\"$(GDBTK_SRC_DIR)\"
|
|
|
|
|
|
|
|
gdbtk-bp.o: $(srcdir)/gdbtk/generic/gdbtk-bp.c \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk.h \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk-cmds.h \
|
|
|
|
$(defs_h) $(breakpoint_h) $(tracepoint_h) \
|
|
|
|
$(symfile_h) $(symtab_h) $(gdb_string_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
|
2002-11-28 03:13:10 +08:00
|
|
|
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
|
2002-08-17 08:04:36 +08:00
|
|
|
$(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-bp.c \
|
|
|
|
-DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
|
|
|
|
|
|
|
|
gdbtk-cmds.o: $(srcdir)/gdbtk/generic/gdbtk-cmds.c \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
|
2003-06-11 David Carlton <carlton@bactrian.org>
* dictionary.h: New.
* dictionary.c: New.
* block.h: Add opaque declaration for struct dictionary.
(struct block): Add 'dict' member; delete 'hashtable', 'nsyms',
'sym' members.
(BLOCK_DICT): New macro.
Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM,
BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE,
BLOCK_SHOULD_SORT.
(ALL_BLOCK_SYMBOLS): Update definition.
* Makefile.in (SFILES): Add dictionary.c.
(dictionary_h): New.
(COMMON_OBS): Add dictionary.o.
(dictionary.o): New.
(ada-lang.o): Depend on dictionary_h.
(buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o)
(stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o)
(mi-cmd-stack.o): Ditto.
(gdbtk-cmds.o): Update dependencies.
(gdbtk-stack.o): Ditto.
* ada-lang.c: Include dictionary.h.
(symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS.
(fill_in_ada_prototype, debug_print_block): Ditto.
(ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace
explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable
'is_sorted'.
* mdebugread.c: Include dictionary.h.
(struct parse_stack): Delete 'maxsyms' member.
(parse_symbol): Update calls to new_block. Delete calls to
shrink_block. Use dictionary methods.
(psymtab_to_symtab_1): Delete calls to sort_symtab_syms.
Update calls to new_symtab. Don't maintain maxsyms data.
(mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS.
(add_symbol): Just call dict_add_symbol.
(new_symtab): Delete 'maxsyms' argument.
(new_symtab): Update calls to new_block.
(new_block): Delete 'maxsyms' argument; add 'function' argument.
(shrink_block): Delete function.
(fixup_sigtramp): Update call to new_block. Add symbol via
dict_add_symbol.
* jv-lang.c: Include dictionary.h.
(get_java_class_symtab): Set the BLOCK_DICT of the blocks
appropriately. Set class_symtab->free_func. Make sure the
blockvector is big enough to hold two blocks.
(add_class_symtab_symbol): Use dictionary methods.
(free_class_block): New function.
(type_from_class): Replace explicit iteration by
ALL_BLOCK_SYMBOLS.
* symtab.h (struct symtab): Replace 'free_ptr' method by
'free_func'.
* dwarf2read.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* dwarfread.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* coffread.c (coff_symfile_read): Delete call to sort_symtab_syms.
Include dictionary.h.
(patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS.
* dbxread.c (dbx_psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* objfiles.c: Include dictionary.h.
(objfile_relocate): Update use of ALL_BLOCK_SYMBOLS.
* buildsym.c: Include dictionary.h.
(finish_block): Use dictionary methods.
(end_symtab): Set free_func to NULL, not free_ptr.
* tracepoint.c: Include dictionary.h.
(add_local_symbols): Update use of ALL_BLOCK_SYMBOLS.
(scope_info): Ditto.
* stack.c: Include dictionary.h.
(print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS.
(print_block_frame_labels, print_frame_arg_vars)
(print_frame_args): Ditto.
* symmisc.c (free_symtab_block): Use dictionary methods.
(dump_symtab): Ditto.
(free_symtab): Replace use of 'free_ptr' by 'free_func'.
Include dictionary.h.
* symfile.h: Delete declarations of sort_block_syms,
sort_symtab_syms.
* symfile.c (sort_block_syms): Delete.
(sort_symtab_syms): Delete.
* symtab.c: Include dictionary.h.
(lookup_block_symbol): Use dictionary iterators.
(find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS.
(search_symbols, make_symbol_completion_list): Ditto.
(make_symbol_overload_list): Ditto.
* valops.c (value_of_local): Use dict_empty.
Include dictionary.h.
2003-06-11 David Carlton <carlton@bactrian.org>
* generic/gdbtk-stack.c: Include dictionary.h.
(gdb_block_vars): Update use of ALL_BLOCK_SYMBOLS.
(gdb_get_blocks, gdb_get_vars_command): Ditto.
* generic/gdbtk-cmds.c: Include dictionary.h.
(gdb_listfuncs): Update use of ALL_BLOCK_SYMBOLS.
2003-06-11 David Carlton <carlton@bactrian.org>
* mi-cmd-stack.c: Include dictionary.h.
(list_args_or_locals): Update use of ALL_BLOCK_SYMBOLS.
2003-06-12 07:29:49 +08:00
|
|
|
$(defs_h) $(inferior_h) $(source_h) $(symfile_h) $(objfiles_h) \
|
|
|
|
$(gdbcore_h) $(demangle_h) $(linespec_h) $(tui_file_h) $(top_h) \
|
|
|
|
$(annotate_h) $(block_h) $(dictionary_h) $(gdb_string_h) \
|
|
|
|
$(dis_asm_h) $(gdbcmd_h)
|
2002-08-17 08:04:36 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
|
2002-11-28 03:13:10 +08:00
|
|
|
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
|
2002-08-17 08:04:36 +08:00
|
|
|
$(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-cmds.c \
|
|
|
|
-DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
|
|
|
|
|
|
|
|
gdbtk-hooks.o: $(srcdir)/gdbtk/generic/gdbtk-hooks.c \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk.h $(defs_h) \
|
|
|
|
$(symtab_h) $(inferior_h) $(command_h) \
|
|
|
|
$(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) $(gdb_string_h) \
|
|
|
|
$(tracepoint_h)
|
2002-11-28 03:13:10 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
|
2002-08-17 08:04:36 +08:00
|
|
|
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk-hooks.c -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
|
|
|
|
|
2003-02-19 07:27:42 +08:00
|
|
|
gdbtk-interp.o: $(srcdir)/gdbtk/generic/gdbtk-interp.c \
|
|
|
|
$(defs_h) $(interps_h) $(ui_out_h) $(ui_file_h) \
|
|
|
|
$(cli_out_h) $(gdb_string_h) $(cli_cmds_h) $(cli_decode_h) \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk.h
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
|
|
|
|
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS) \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk-interp.c
|
|
|
|
|
2002-09-27 01:46:04 +08:00
|
|
|
gdbtk-main.o: $(srcdir)/gdbtk/generic/gdbtk-main.c $(defs_h) $(main_h) \
|
|
|
|
$(gdb_string_h)
|
2002-11-28 03:13:10 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
|
2002-09-27 01:46:04 +08:00
|
|
|
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk-main.c -DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
|
|
|
|
|
2002-08-17 08:04:36 +08:00
|
|
|
gdbtk-register.o: $(srcdir)/gdbtk/generic/gdbtk-register.c \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk.h \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk-cmds.h \
|
|
|
|
$(defs_h) $(frame_h) $(value_h) $(gdb_string_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
|
2002-11-28 03:13:10 +08:00
|
|
|
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
|
2002-08-17 08:04:36 +08:00
|
|
|
$(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-register.c \
|
|
|
|
-DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
|
|
|
|
|
|
|
|
gdbtk-stack.o: $(srcdir)/gdbtk/generic/gdbtk-stack.c \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk.h $(srcdir)/gdbtk/generic/gdbtk-cmds.h \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk-wrapper.h \
|
2003-06-11 David Carlton <carlton@bactrian.org>
* dictionary.h: New.
* dictionary.c: New.
* block.h: Add opaque declaration for struct dictionary.
(struct block): Add 'dict' member; delete 'hashtable', 'nsyms',
'sym' members.
(BLOCK_DICT): New macro.
Delete macros BLOCK_HASHTABLE, BLOCK_NSYMS, BLOCK_SYM,
BLOCK_BUCKETS, BLOCK_BUCKET, BLOCK_HASHTABLE_SIZE,
BLOCK_SHOULD_SORT.
(ALL_BLOCK_SYMBOLS): Update definition.
* Makefile.in (SFILES): Add dictionary.c.
(dictionary_h): New.
(COMMON_OBS): Add dictionary.o.
(dictionary.o): New.
(ada-lang.o): Depend on dictionary_h.
(buildsym.o, coffread.o, jv-lang.o, mdebugread.o, objfiles.o)
(stack.o, symmisc.o, symtab.o, tracepoint.o, valops.o)
(mi-cmd-stack.o): Ditto.
(gdbtk-cmds.o): Update dependencies.
(gdbtk-stack.o): Ditto.
* ada-lang.c: Include dictionary.h.
(symtab_for_sym): Update uses of ALL_BLOCK_SYMBOLS.
(fill_in_ada_prototype, debug_print_block): Ditto.
(ada_add_block_symbols): Update uses of ALL_BLOCK_SYMBOLS; replace
explicit iteration by use of ALL_BLOCK_SYMBOLS. Delete variable
'is_sorted'.
* mdebugread.c: Include dictionary.h.
(struct parse_stack): Delete 'maxsyms' member.
(parse_symbol): Update calls to new_block. Delete calls to
shrink_block. Use dictionary methods.
(psymtab_to_symtab_1): Delete calls to sort_symtab_syms.
Update calls to new_symtab. Don't maintain maxsyms data.
(mylookup_symbol): Update use of ALL_BLOCK_SYMBOLS.
(add_symbol): Just call dict_add_symbol.
(new_symtab): Delete 'maxsyms' argument.
(new_symtab): Update calls to new_block.
(new_block): Delete 'maxsyms' argument; add 'function' argument.
(shrink_block): Delete function.
(fixup_sigtramp): Update call to new_block. Add symbol via
dict_add_symbol.
* jv-lang.c: Include dictionary.h.
(get_java_class_symtab): Set the BLOCK_DICT of the blocks
appropriately. Set class_symtab->free_func. Make sure the
blockvector is big enough to hold two blocks.
(add_class_symtab_symbol): Use dictionary methods.
(free_class_block): New function.
(type_from_class): Replace explicit iteration by
ALL_BLOCK_SYMBOLS.
* symtab.h (struct symtab): Replace 'free_ptr' method by
'free_func'.
* dwarf2read.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* dwarfread.c (psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* coffread.c (coff_symfile_read): Delete call to sort_symtab_syms.
Include dictionary.h.
(patch_opaque_types): Update use of ALL_BLOCK_SYMBOLS.
* dbxread.c (dbx_psymtab_to_symtab_1): Delete call to
sort_symtab_syms.
* objfiles.c: Include dictionary.h.
(objfile_relocate): Update use of ALL_BLOCK_SYMBOLS.
* buildsym.c: Include dictionary.h.
(finish_block): Use dictionary methods.
(end_symtab): Set free_func to NULL, not free_ptr.
* tracepoint.c: Include dictionary.h.
(add_local_symbols): Update use of ALL_BLOCK_SYMBOLS.
(scope_info): Ditto.
* stack.c: Include dictionary.h.
(print_block_frame_locals): Update use of ALL_BLOCK_SYMBOLS.
(print_block_frame_labels, print_frame_arg_vars)
(print_frame_args): Ditto.
* symmisc.c (free_symtab_block): Use dictionary methods.
(dump_symtab): Ditto.
(free_symtab): Replace use of 'free_ptr' by 'free_func'.
Include dictionary.h.
* symfile.h: Delete declarations of sort_block_syms,
sort_symtab_syms.
* symfile.c (sort_block_syms): Delete.
(sort_symtab_syms): Delete.
* symtab.c: Include dictionary.h.
(lookup_block_symbol): Use dictionary iterators.
(find_pc_sect_symtab): Update use of ALL_BLOCK_SYMBOLS.
(search_symbols, make_symbol_completion_list): Ditto.
(make_symbol_overload_list): Ditto.
* valops.c (value_of_local): Use dict_empty.
Include dictionary.h.
2003-06-11 David Carlton <carlton@bactrian.org>
* generic/gdbtk-stack.c: Include dictionary.h.
(gdb_block_vars): Update use of ALL_BLOCK_SYMBOLS.
(gdb_get_blocks, gdb_get_vars_command): Ditto.
* generic/gdbtk-cmds.c: Include dictionary.h.
(gdb_listfuncs): Update use of ALL_BLOCK_SYMBOLS.
2003-06-11 David Carlton <carlton@bactrian.org>
* mi-cmd-stack.c: Include dictionary.h.
(list_args_or_locals): Update use of ALL_BLOCK_SYMBOLS.
2003-06-12 07:29:49 +08:00
|
|
|
$(defs_h) $(target_h) $(breakpoint_h) $(linespec_h) \
|
|
|
|
$(block_h) $(dictionary_h)
|
2002-08-17 08:04:36 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
|
2002-11-28 03:13:10 +08:00
|
|
|
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) \
|
2002-08-17 08:04:36 +08:00
|
|
|
$(GDBTK_CFLAGS) $(srcdir)/gdbtk/generic/gdbtk-stack.c \
|
|
|
|
-DGDBTK_LIBRARY=\"$(GDBTK_LIBRARY)\"
|
|
|
|
|
|
|
|
gdbtk-varobj.o: $(srcdir)/gdbtk/generic/gdbtk-varobj.c \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk.h \
|
|
|
|
$(defs_h) $(value_h) $(varobj_h) $(gdb_string_h)
|
2002-11-28 03:13:10 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(ITCL_CFLAGS) \
|
2002-08-17 08:04:36 +08:00
|
|
|
$(TCL_CFLAGS) $(TK_CFLAGS) $(X11_CFLAGS) $(GDBTK_CFLAGS)\
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk-varobj.c
|
|
|
|
|
|
|
|
gdbtk-wrapper.o: $(srcdir)/gdbtk/generic/gdbtk-wrapper.c \
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk-wrapper.h \
|
|
|
|
$(defs_h) $(frame_h) $(value_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(IDE_CFLAGS) $(GDBTK_CFLAGS)\
|
|
|
|
$(srcdir)/gdbtk/generic/gdbtk-wrapper.c
|
|
|
|
|
2000-02-23 08:25:43 +08:00
|
|
|
#
|
2002-08-21 13:40:07 +08:00
|
|
|
# gdb/mi/ dependencies
|
2000-02-23 08:25:43 +08:00
|
|
|
#
|
|
|
|
# Need to explicitly specify the compile rule as make will do nothing
|
2003-07-09 04:18:41 +08:00
|
|
|
# or try to compile the object file into the sub-directory.
|
2000-02-23 08:25:43 +08:00
|
|
|
|
|
|
|
mi-cmd-break.o: $(srcdir)/mi/mi-cmd-break.c $(defs_h) $(mi_cmds_h) \
|
2002-08-21 13:40:07 +08:00
|
|
|
$(ui_out_h) $(mi_out_h) $(breakpoint_h) $(gdb_string_h) \
|
|
|
|
$(mi_getopt_h) $(gdb_events_h) $(gdb_h)
|
2000-02-23 08:25:43 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-break.c
|
2002-07-30 Andrew Cagney <ac131313@redhat.com>
* symtab.h: Replace #include "gdb_obstack.h" with opaque
declaration.
* cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h".
* gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto.
* avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto.
* arch-utils.c, cli/cli-setshow.c: Unconditionally include
"gdb_string.h".
* Makefile.in (cli-script.o, cli-cmds.o): Update dependencies.
(gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto.
(cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto.
(avr-tdep.o, mon960-rom.o): Ditto.
(aout_stabs_gnu_h): Define.
(symtab_h): Remove $(gdb_obstack_h).
2002-07-30 21:45:15 +08:00
|
|
|
mi-cmd-disas.o: $(srcdir)/mi/mi-cmd-disas.c $(defs_h) $(target_h) $(value_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(mi_cmds_h) $(mi_getopt_h) $(gdb_string_h) $(ui_out_h) $(disasm_h)
|
2000-02-23 08:25:43 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-disas.c
|
2003-01-10 02:03:38 +08:00
|
|
|
mi-cmd-env.o: $(srcdir)/mi/mi-cmd-env.c $(defs_h) $(inferior_h) $(value_h) \
|
|
|
|
$(mi_out_h) $(mi_cmds_h) $(mi_getopt_h) $(symtab_h) $(target_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(environ_h) $(command_h) $(ui_out_h) $(top_h) $(gdb_string_h) \
|
|
|
|
$(gdb_stat_h)
|
2002-12-14 01:55:49 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-env.c
|
2003-08-03 04:11:48 +08:00
|
|
|
mi-cmd-file.o: $(srcdir)/mi/mi-cmd-file.c $(defs_h) $(mi_cmds_h) \
|
|
|
|
$(mi_getopt_h) $(ui_out_h) $(symtab_h) $(source_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-file.c
|
|
|
|
mi-cmds.o: $(srcdir)/mi/mi-cmds.c $(defs_h) $(top_h) $(mi_cmds_h) \
|
|
|
|
$(gdb_string_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmds.c
|
2002-08-21 13:40:07 +08:00
|
|
|
mi-cmd-stack.o: $(srcdir)/mi/mi-cmd-stack.c $(defs_h) $(target_h) $(frame_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(value_h) $(mi_cmds_h) $(ui_out_h) $(symtab_h) $(block_h) \
|
|
|
|
$(stack_h) $(dictionary_h)
|
2002-08-21 13:40:07 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-stack.c
|
|
|
|
mi-cmd-var.o: $(srcdir)/mi/mi-cmd-var.c $(defs_h) $(mi_cmds_h) $(ui_out_h) \
|
|
|
|
$(mi_out_h) $(varobj_h) $(value_h) $(gdb_string_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-cmd-var.c
|
|
|
|
mi-console.o: $(srcdir)/mi/mi-console.c $(defs_h) $(mi_console_h) \
|
|
|
|
$(gdb_string_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-console.c
|
|
|
|
mi-getopt.o: $(srcdir)/mi/mi-getopt.c $(defs_h) $(mi_getopt_h) \
|
|
|
|
$(gdb_string_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-getopt.c
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
mi-interp.o: $(srcdir)/mi/mi-interp.c $(defs_h) $(gdb_string_h) $(interps_h) \
|
|
|
|
$(event_top_h) $(event_loop_h) $(inferior_h) $(ui_out_h) $(top_h) \
|
|
|
|
$(mi_main_h) $(mi_cmds_h) $(mi_out_h) $(mi_console_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-interp.c
|
2002-08-21 13:40:07 +08:00
|
|
|
mi-main.o: $(srcdir)/mi/mi-main.c $(defs_h) $(target_h) $(inferior_h) \
|
|
|
|
$(gdb_string_h) $(top_h) $(gdbthread_h) $(mi_cmds_h) $(mi_parse_h) \
|
2003-02-05 Jim Ingham <jingham@apple.com>
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 09:19:12 +08:00
|
|
|
$(mi_getopt_h) $(mi_console_h) $(ui_out_h) $(mi_out_h) $(interps_h) \
|
2002-08-21 13:40:07 +08:00
|
|
|
$(event_loop_h) $(event_top_h) $(gdbcore_h) $(value_h) $(regcache_h) \
|
2003-08-03 04:11:48 +08:00
|
|
|
$(gdb_h) $(frame_h) $(mi_main_h)
|
2001-05-11 04:31:46 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-main.c
|
2002-08-21 13:40:07 +08:00
|
|
|
mi-out.o: $(srcdir)/mi/mi-out.c $(defs_h) $(ui_out_h) $(mi_out_h)
|
2000-02-23 08:25:43 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-out.c
|
2002-08-21 13:40:07 +08:00
|
|
|
mi-parse.o: $(srcdir)/mi/mi-parse.c $(defs_h) $(mi_cmds_h) $(mi_parse_h) \
|
|
|
|
$(gdb_string_h)
|
2000-02-23 08:25:43 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-parse.c
|
2003-08-03 04:11:48 +08:00
|
|
|
mi-symbol-cmds.o: $(srcdir)/mi/mi-symbol-cmds.c $(defs_h) $(mi_cmds_h) \
|
|
|
|
$(symtab_h) $(ui_out_h)
|
2003-05-12 08:26:19 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/mi/mi-symbol-cmds.c
|
2000-02-23 08:25:43 +08:00
|
|
|
|
2002-08-21 12:50:20 +08:00
|
|
|
#
|
|
|
|
# rdi-share sub-directory
|
|
|
|
#
|
2002-08-21 13:40:07 +08:00
|
|
|
# Need to explicitly specify the compile rule as make will do nothing
|
|
|
|
# or try to compile the object file into the mi directory.
|
2002-08-21 12:50:20 +08:00
|
|
|
|
|
|
|
rdi-share/libangsd.a: force
|
|
|
|
@dir=rdi-share; \
|
|
|
|
if [ -f ./$${dir}/Makefile ] ; then \
|
|
|
|
r=`pwd`; export r; \
|
|
|
|
srcroot=`cd $(srcdir); pwd`; export srcroot; \
|
|
|
|
(cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \
|
|
|
|
else \
|
|
|
|
true; \
|
|
|
|
fi
|
|
|
|
|
2002-08-17 07:32:04 +08:00
|
|
|
#
|
2003-07-09 04:18:41 +08:00
|
|
|
# gdb/signals/ dependencies
|
2002-08-17 07:32:04 +08:00
|
|
|
#
|
2002-08-21 13:40:07 +08:00
|
|
|
# Need to explicitly specify the compile rule as make will do nothing
|
2003-07-09 04:18:41 +08:00
|
|
|
# or try to compile the object file into the sub-directory.
|
2002-08-17 07:32:04 +08:00
|
|
|
|
2003-08-03 04:11:48 +08:00
|
|
|
signals.o: $(srcdir)/signals/signals.c $(server_h) $(defs_h) $(target_h) \
|
|
|
|
$(gdb_string_h)
|
2002-08-17 07:32:04 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/signals/signals.c
|
|
|
|
|
2000-05-25 09:50:50 +08:00
|
|
|
#
|
2003-07-09 04:18:41 +08:00
|
|
|
# gdb/tui/ dependencies
|
2000-05-25 09:50:50 +08:00
|
|
|
#
|
|
|
|
# Need to explicitly specify the compile rule as make will do nothing
|
2003-07-09 04:18:41 +08:00
|
|
|
# or try to compile the object file into the sub-directory.
|
2000-05-25 09:50:50 +08:00
|
|
|
|
2003-08-03 04:11:48 +08:00
|
|
|
tuiCommand.o: $(srcdir)/tui/tuiCommand.c $(defs_h) $(tui_h) $(tuiData_h) \
|
|
|
|
$(tuiWin_h) $(tuiIO_h)
|
2002-08-21 13:40:07 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiCommand.c
|
2003-08-03 04:11:48 +08:00
|
|
|
tuiDataWin.o: $(srcdir)/tui/tuiDataWin.c $(defs_h) $(tui_h) $(tuiData_h) \
|
|
|
|
$(tuiGeneralWin_h) $(tuiRegs_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiDataWin.c
|
|
|
|
tuiData.o: $(srcdir)/tui/tuiData.c $(defs_h) $(symtab_h) $(tui_h) \
|
2002-08-21 13:40:07 +08:00
|
|
|
$(tuiData_h) $(tuiGeneralWin_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiData.c
|
2003-08-03 04:11:48 +08:00
|
|
|
tuiDisassem.o: $(srcdir)/tui/tuiDisassem.c $(defs_h) $(symtab_h) \
|
|
|
|
$(breakpoint_h) $(frame_h) $(value_h) $(source_h) $(disasm_h) \
|
|
|
|
$(tui_h) $(tuiData_h) $(tuiWin_h) $(tuiLayout_h) $(tuiSourceWin_h) \
|
|
|
|
$(tuiStack_h) $(tui_file_h)
|
2002-08-21 13:40:07 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiDisassem.c
|
2003-08-03 04:11:48 +08:00
|
|
|
tuiGeneralWin.o: $(srcdir)/tui/tuiGeneralWin.c $(defs_h) $(tui_h) \
|
|
|
|
$(tuiData_h) $(tuiGeneralWin_h) $(tuiWin_h)
|
2002-08-21 13:40:07 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiGeneralWin.c
|
2003-08-03 04:11:48 +08:00
|
|
|
tuiIO.o: $(srcdir)/tui/tuiIO.c $(defs_h) $(terminal_h) $(target_h) \
|
|
|
|
$(event_loop_h) $(event_top_h) $(command_h) $(top_h) $(readline_h) \
|
2002-08-21 13:40:07 +08:00
|
|
|
$(tui_h) $(tuiData_h) $(tuiIO_h) $(tuiCommand_h) $(tuiWin_h) \
|
|
|
|
$(tuiGeneralWin_h) $(tui_file_h) $(ui_out_h) $(cli_out_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiIO.c
|
2003-08-03 04:11:48 +08:00
|
|
|
tuiLayout.o: $(srcdir)/tui/tuiLayout.c $(defs_h) $(command_h) $(symtab_h) \
|
|
|
|
$(frame_h) $(source_h) $(tui_h) $(tuiData_h) $(tuiDataWin_h) \
|
2002-08-21 13:40:07 +08:00
|
|
|
$(tuiGeneralWin_h) $(tuiStack_h) $(tuiRegs_h) $(tuiWin_h) \
|
|
|
|
$(tuiSourceWin_h) $(tuiDisassem_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiLayout.c
|
2003-08-03 04:11:48 +08:00
|
|
|
tuiRegs.o: $(srcdir)/tui/tuiRegs.c $(defs_h) $(tui_h) $(tuiData_h) \
|
|
|
|
$(symtab_h) $(gdbtypes_h) $(gdbcmd_h) $(frame_h) $(regcache_h) \
|
2002-08-21 13:40:07 +08:00
|
|
|
$(inferior_h) $(target_h) $(tuiLayout_h) $(tuiWin_h) $(tuiDataWin_h) \
|
|
|
|
$(tuiGeneralWin_h) $(tui_file_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiRegs.c
|
2003-08-03 04:11:48 +08:00
|
|
|
tuiSourceWin.o: $(srcdir)/tui/tuiSourceWin.c $(defs_h) $(symtab_h) \
|
|
|
|
$(frame_h) $(breakpoint_h) $(value_h) $(source_h) $(tui_h) \
|
2002-08-21 13:40:07 +08:00
|
|
|
$(tuiData_h) $(tuiStack_h) $(tuiWin_h) $(tuiGeneralWin_h) \
|
|
|
|
$(tuiSourceWin_h) $(tuiSource_h) $(tuiDisassem_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiSourceWin.c
|
2003-08-03 04:11:48 +08:00
|
|
|
tuiSource.o: $(srcdir)/tui/tuiSource.c $(defs_h) $(symtab_h) $(frame_h) \
|
|
|
|
$(breakpoint_h) $(source_h) $(symtab_h) $(tui_h) $(tuiData_h) \
|
|
|
|
$(tuiStack_h) $(tuiSourceWin_h) $(tuiSource_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiSource.c
|
|
|
|
tuiStack.o: $(srcdir)/tui/tuiStack.c $(defs_h) $(symtab_h) $(breakpoint_h) \
|
|
|
|
$(frame_h) $(command_h) $(inferior_h) $(target_h) $(top_h) $(tui_h) \
|
|
|
|
$(tuiData_h) $(tuiStack_h) $(tuiGeneralWin_h) $(tuiSource_h) \
|
|
|
|
$(tuiSourceWin_h) $(tui_file_h)
|
2002-08-21 13:40:07 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiStack.c
|
2003-08-03 04:11:48 +08:00
|
|
|
tuiWin.o: $(srcdir)/tui/tuiWin.c $(defs_h) $(command_h) $(symtab_h) \
|
|
|
|
$(breakpoint_h) $(frame_h) $(cli_cmds_h) $(top_h) $(source_h) \
|
|
|
|
$(tui_h) $(tuiData_h) $(tuiGeneralWin_h) $(tuiStack_h) $(tuiRegs_h) \
|
|
|
|
$(tuiDisassem_h) $(tuiSource_h) $(tuiSourceWin_h) $(tuiDataWin_h)
|
2002-08-21 13:40:07 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tuiWin.c
|
2003-08-03 04:11:48 +08:00
|
|
|
tui.o: $(srcdir)/tui/tui.c $(defs_h) $(gdbcmd_h) $(tui_h) $(tuiData_h) \
|
|
|
|
$(tuiLayout_h) $(tuiIO_h) $(tuiRegs_h) $(tuiStack_h) $(tuiWin_h) \
|
|
|
|
$(tuiSourceWin_h) $(tuiDataWin_h) $(readline_h) $(target_h) \
|
|
|
|
$(frame_h) $(breakpoint_h) $(inferior_h) $(symtab_h) $(source_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui.c
|
|
|
|
tui-file.o: $(srcdir)/tui/tui-file.c $(defs_h) $(ui_file_h) $(tui_file_h) \
|
|
|
|
$(tui_tuiIO_h) $(tui_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-file.c
|
|
|
|
tui-hooks.o: $(srcdir)/tui/tui-hooks.c $(defs_h) $(symtab_h) $(inferior_h) \
|
|
|
|
$(command_h) $(bfd_h) $(symfile_h) $(objfiles_h) $(target_h) \
|
|
|
|
$(gdbcore_h) $(event_loop_h) $(event_top_h) $(frame_h) \
|
|
|
|
$(breakpoint_h) $(gdb_events_h) $(ui_out_h) $(top_h) $(tui_h) \
|
|
|
|
$(tuiData_h) $(tuiLayout_h) $(tuiIO_h) $(tuiRegs_h) $(tuiWin_h) \
|
|
|
|
$(tuiStack_h) $(tuiDataWin_h) $(tuiSourceWin_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-hooks.c
|
|
|
|
tui-interp.o: $(srcdir)/tui/tui-interp.c $(defs_h) $(interps_h) $(top_h) \
|
2003-09-05 00:48:42 +08:00
|
|
|
$(event_top_h) $(event_loop_h) $(ui_out_h) $(cli_out_h) \
|
|
|
|
$(tui_tuiData_h) $(readline_h) $(tui_tuiWin_h) $(tui_h) \
|
|
|
|
$(tui_tuiIO_h)
|
2003-08-03 04:11:48 +08:00
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-interp.c
|
|
|
|
tui-out.o: $(srcdir)/tui/tui-out.c $(defs_h) $(ui_out_h) $(tui_h) \
|
|
|
|
$(gdb_string_h) $(gdb_assert_h)
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/tui/tui-out.c
|
2000-05-25 09:50:50 +08:00
|
|
|
|
2002-08-21 13:40:07 +08:00
|
|
|
#
|
2002-08-17 07:32:04 +08:00
|
|
|
# vx-share sub-directory
|
2002-08-21 13:40:07 +08:00
|
|
|
#
|
2002-08-17 07:32:04 +08:00
|
|
|
|
|
|
|
xdr_ld.o: vx-share/xdr_ld.c $(defs_h) vx-share/vxTypes.h \
|
|
|
|
vx-share/vxWorks.h vx-share/xdr_ld.h
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ld.c
|
|
|
|
|
|
|
|
xdr_ptrace.o: vx-share/xdr_ptrace.c $(defs_h) vx-share/vxTypes.h \
|
|
|
|
vx-share/vxWorks.h vx-share/xdr_ptrace.h
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_ptrace.c
|
|
|
|
|
|
|
|
xdr_rdb.o: vx-share/xdr_rdb.c $(defs_h) vx-share/vxTypes.h \
|
|
|
|
vx-share/vxWorks.h vx-share/xdr_rdb.h
|
|
|
|
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/vx-share/xdr_rdb.c
|
|
|
|
|
1999-04-16 09:35:26 +08:00
|
|
|
### end of the gdb Makefile.in.
|