Commit Graph

29155 Commits

Author SHA1 Message Date
Jonathan Larmour 42acc51e30 * Makefile.in (gencode): Link with libopcodes in build tree rather
than building source files from there.
2001-02-01 06:56:29 +00:00
Nick Clifton 88694af3f9 Detect installation of SWI vector by running program as well as loading program. 2001-02-01 00:14:40 +00:00
David Smith 27b82ed26e 2001-01-31 David Smith <dsmith@redhat.com>
* event-loop.c: Change inclusion of string.h to gdb_string.h and
	updated the copyright notice.
	* ser-pipe.c: Ditto.
	* mi/mi-cmds.c: Ditto.
	* mi/mi-console.c: Ditto.
	* mi/mi-getopt.c: Ditto.
	* mi/mi-parse.c: Ditto.
2001-01-31 15:46:36 +00:00
David Smith ab9cc81536 2001-01-31 David Smith <dsmith@redhat.com>
* MAINTAINERS: Add David Smith to Write After Approval list.
2001-01-31 15:03:45 +00:00
Alan Modra d9634ba1ff (elf64_hppa_object_p): Set architecture and machine from elf header flags. 2001-01-31 13:28:50 +00:00
Alan Modra 956eedd4dc Another HAVE_DOS_BASED_FILE_SYSTEM check. 2001-01-31 06:02:18 +00:00
Andrew Cagney d1f4cff847 Move putchar_filtered() to utils.c. 2001-01-31 03:46:23 +00:00
Andrew Cagney 74c1b268c6 Cleanup autoconfigury of vfork(). 2001-01-31 02:08:23 +00:00
Andrew Cagney 4fcf66da88 Replace strsave() with xstrdup(). 2001-01-31 01:24:03 +00:00
Andrew Cagney e191e0abe5 * cli/cli-script.c (define_command): Check for a bad hook value in
switch statement.
2001-01-31 00:50:01 +00:00
J.T. Conklin 10214f55f8 * configure/sh/embed.mt: New file.
* configure/sh/linux.mt: New file.
* configure/sh/sh.mt: Removed.
* configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
(sh-*-*): Removed.
2001-01-30 23:37:07 +00:00
Alexandre Oliva de0492b6fb * interp.c (sim_create_inferior): Record program arguments for
later inspection by the trap handler.
(count_argc): New function.
(prog_argv): Declare static.
(sim_write): Declare.
(trap): Implement argc, argnlen and argn system calls. Do not
abort on unknown system calls--simply return -1.
* syscall.h (SYS_argc, SYS_argnlen, SYS_argn): Define.
2001-01-30 23:03:56 +00:00
Kevin Buettner 7b769fb03b Replace blanked lines from earlier commit with comment stating that
the reason why the space is empty.
2001-01-30 22:18:21 +00:00
Kevin Buettner 1de8f0232c Remove unused printf() definition. 2001-01-30 16:45:23 +00:00
Alan Modra 3fab46d0e9 Write out millicode functions with the right elf symbol type. 2001-01-30 13:40:08 +00:00
Alan Modra 22862cde86 Fix a null-pointer dereference and some range checks. 2001-01-30 13:13:29 +00:00
Richard Henderson 9540464302 * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
before mdebug.
2001-01-30 09:52:27 +00:00
Michael Chastain f8bf377815 Removed files structs3.c structs3.exp.
These were added by accident.  Whoops!
2001-01-30 04:48:50 +00:00
Michael Chastain c9049fc98f 2001-01-29 Michael Chastain <chastain@redhat.com>
* symtab.c (block_lookup_symbol): Use 'namespace' parameter in
	symbol comparisons in binary search.
2001-01-30 02:49:36 +00:00
Alan Modra 9add9c04bd Handle hppa64-linux systems. 2001-01-30 02:17:40 +00:00
Michael Chastain b2bbed47aa 2001-01-28 Michael Chastain <chastain@redhat.com>
* gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
	to call when tests fail.  It takes gdb out of the overloaded
	function choice menu back to the main prompt, so that the test
	program stays synchronized.
	(set_bp_overloaded): New proc to collect all the common
	code for setting a breakpoint on an overloaded name.  Calls
	take_gdb_out_of_choice_menu when needed.
	(menu_overload1arg): New variable to collect the repeated
	instances of the expected menu for an overloaded name.	Change
	the regular expression to handle changes in g++ type encoding:
	"void" can be either "void" or "", and "unsigned int" can be
	either "unsigned int" or "unsigned".
	(continue_to_bp_overloaded): Change regular expressions to handle
	changes in g++ type encoding.
	(no proc): Call take_gdb_out_of_choice_menu when needed.
	Remove redundant calls to "info break".  Accept either "canceled"
	or "cancelled".  Change regular expressions in "info break"
	calls to handle changes in g++ type encoding.  Give all tests
	unique strings.
2001-01-28 23:49:43 +00:00
Fernando Nasser 80ee4fd53b 2001-01-27 Fernando Nasser <fnasser@redhat.com>
From Momchil Velikov  <velco@fadata.bg>
	* mi-cmd-disas.c (gdb_dis_asm_read_memory): Add missing memory
	attributes argument in the call to `xfer_memory'.
2001-01-27 22:18:15 +00:00
Michael Sokolov b71c67aba4 * basic_blocks.c: #include <unistd.h> only if it exists. 2001-01-27 19:54:49 +00:00
Michael Sokolov 8679174dc4 * ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works):
Don't unset, it's non-portable and no longer necessary, set to empty
	instead.
2001-01-27 19:36:45 +00:00
Michael Sokolov 02d01ed4c8 * ltconfig: Shell portability fix for the tagname validity check. 2001-01-27 19:34:13 +00:00
Christopher Faylor aea02b6b07 * win32-nat.c (child_xfer_memory): Add missing argument required by 2001-01-23
change.
2001-01-27 19:32:32 +00:00
Michael Sokolov 4cc5853ded * ltcf-cxx.sh: Use parentheses around eval $ac_compile. 2001-01-27 19:29:31 +00:00
Alexandre Oliva 7487e48599 * ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.
2001-01-27 19:22:59 +00:00
Mark Kettenis e6e0bfabf4 * ui-out.c (do_list_end): New function.
(make_cleanup_ui_out_list_end): New function.
* ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
* stack.c (print_frame) [UI_OUT]: Call
make_cleanup_ui_out_list_end to make sure we mark the end of the
list if we do a non-local exit.  At the end of the function,
instead of calling ui_out_list_end directly, let do_cleanups
handle it.
2001-01-27 17:57:53 +00:00
Michael Sokolov 9d969b59b8 Remove extraneous tab from the blank line after the most recent entry 2001-01-27 17:28:11 +00:00
Fernando Nasser 1adeb98a32 2001-01-26 Fernando Nasser <fnasser@redhat.com>
Fix double parsing of filenames passed as command line arguments
        to GDB (causes weird handling of escape characters).
        Also, remove dependencies on the CLI from libgdb.
        * call-cmds.h: Remove declaration of exec_file_command().
        * gdbcore.h: Remove declaration of exec_file_command().
        Add declarations for exec_open() and exec_file_clear().
        * symfile.h: Add declarations for symbol_file_add_main() and
        symbol_file_clear().
        * exec.c (exec_open): New function. Implements to_open for exec
        targets.
        (exec_file_clear): New function. Makes GDB forget about a previously
        specified executable file.
        (exec_file_attach): Move parsing of arguments from here ...
        (exec_file_command): ... to here.
        (init_exec_ops): Use exec_open(), not exec_file_command() to
        implement to_open for exec targets.
        * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()        with default values.  Used when the file name has already been parsed.
        (symbol_file_clear): New function. Makes GDB forget about previously
        read symbols.
        (symbol_file_command): Call the above function instead of inline code.
        * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
        "call-cmds.h".
        (captured_main): Call exec_file_attach() and symbol_file_add_main()
        instead of exec_file_command() and symbol_file_command().
        (captured_main): Add comment.
        * corefile.c: Include "symfile.h".
        (core_file_command): Call symbol_file_add_main() instead of
        symbol_file_command().
        (reopen_exec_file): Call exec_open() instead of exec_file_command().
        * infcmd.c: Include "symfile.h".
        (attach_command): Call symbol_file_add_main() instead of
        symbol_file_command().
        * infrun.c: Remove comment about the inclusion of "symfile.h",
        not any longer appropriate.
        (follow_exec): Call symbol_file_add_main() instead of
        symbol_file_command().
        * remote-es.c: Include "symfile.h".
        (es1800_load): Call symbol_file_add_main() instead of
        symbol_file_command().
        * remote-vx.c: Remove comment about the inclusion of "symfile.h",
        not any longer appropriate.
        (vx-wait): Call symbol_file_add_main() instead of
        symbol_file_command().
        * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
        instead of symbol_file_command().
        * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
        symbol_file_add_main() instead of exec_file_command() and
        symbol_file_command().
        * Makefile.in: Update dependencies.
2001-01-27 00:43:26 +00:00
Richard Henderson 8fb35fedd5 * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false
for non-default visibility.
        * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but
        delete ugly macro and replace with pretty function.
2001-01-27 00:04:09 +00:00
Jeff Holcomb 5b616ba11e 2001-01-24 Jeff Holcomb <jeffh@redhat.com>
* remote-udi.c (udi_open): Change strdup to xstrdup.
        * thread.c (thread_apply_all_command): Change strdup to xstrdup.
        Update copyright message.
        * varobj.c (delete_variable_1): Likewise.

        * gdb_string.h: Remove declaration of strdup.  Update copyright
        message.
        * config/xm-mpw.h: Likewise.
        * config/i386/xm-i386mach.h: Likewise.
        * config/m68k/xm-apollo68b.h: Likewise.
        * config/m68k/xm-hp300bsd.h: Likewise.
        * config/rs6000/xm-rs6000.h: Likewise.
        * config/vax/xm-vaxult.h: Remove declaration of strdup.
        * config/vax/xm-vaxult2.h: Likewise.
2001-01-26 19:47:23 +00:00
Jeff Holcomb b91d87cfc7 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
* MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
2001-01-26 19:40:21 +00:00
J.T. Conklin 873406a684 * target.c (target_xfer_memory_partial): Return -1 on failure due
to invalid access mode attribute.
2001-01-26 02:30:15 +00:00
Christopher Faylor 0613c4019c * win32-nat.c (_initialize_core_win32): Prototype correctly. 2001-01-25 22:35:01 +00:00
Nick Clifton a4f685449e DJGPP config tweaks 2001-01-25 21:08:10 +00:00
Nick Clifton 8ec6253e76 Do not abort if tcbit is still set. Issue an error message instead.
Fix compile time warnings
2001-01-25 20:26:17 +00:00
Kazu Hirata c02e7c3eff 2001-01-25 Kazu Hirata <kazu@hxi.com>
* bfd-in2.h: Fix formatting.
	* libbfd.h: Likewise.
2001-01-25 20:17:45 +00:00
Kazu Hirata 10bfd974d4 2001-01-25 Kazu Hirata <kazu@hxi.com>
* chew.c: Do not output trailing whitespaces in type and
	functionname.  Update copyright.
2001-01-25 20:12:49 +00:00
Mark Kettenis efd59e3f32 * config/alpha/tm-fbsd.h: Update copyright.
(USE_STRUCT_CONVENTION): Define in terms of
alphabsd_use_struct_convention.
* config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
* alphafbsd-tdep.c: New file.
2001-01-25 18:41:23 +00:00
Fernando Nasser 388e1ff2e5 2001-01-24 Fernando Nasser <fnasser@redhat.com>
* top.c (print_gdb_version): Update Copyright year.
2001-01-25 15:19:30 +00:00
Alan Modra 02aa14fb32 (lang_leave_overlay): Don't set lma_region when load_base is specified. 2001-01-25 02:31:42 +00:00
Kazu Hirata 05c6581e28 2001-01-24 Kazu Hirata <kazu@hxi.com>
* chew.c: Do not output a trailing whitespace.
2001-01-24 22:38:31 +00:00
J.T. Conklin f4d650ecb3 * dcache.c (dcache_write_line): Fix typo.
* memattr.c (delete_mem_region): Replace free() with xfree().
(mem_number): Add explicit type.

* sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
(rw_common): Likewise.
2001-01-24 21:01:02 +00:00
Alexandre Oliva f332af5233 * ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
keep at least one of build_libtool_libs or build_old_libs set to
yes.
2001-01-24 20:09:37 +00:00
Fernando Nasser 07091751ff 2001-01-24 Fernando Nasser <fnasser@redhat.com>
* infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
        for the inferior program arguments.
        (run_command, run_no_args_command, init_infcmd)): Use accessor
        functions to set the inferior program arguments.
        * inferior.h: Add definitions to the accessor functions above.
2001-01-24 16:28:20 +00:00
Alexandre Oliva 554064594b * interp.c (trap): Implement time. 2001-01-24 13:17:01 +00:00
Alan Modra 296bc5686a Fix swapgs instruction. 2001-01-24 07:32:34 +00:00
Hans-Peter Nilsson f813923cf3 * emultempl/elf32.em: Correct spelling in comments and listed
options.
2001-01-24 06:14:09 +00:00