aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-01-192005-01-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney12-13/+28
* exceptions.h (deprecated_throw_reason): Rename throw_reason. * exceptions.c (deprecated_throw_reason): Rename throw_reason. * utils.c (internal_verror, quit): Update. * remote-sds.c (interrupt_query): Update. * remote-mips.c (mips_error, mips_kill): Update. * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update. * remote.c (interrupt_query): Update. * ocd.c (interrupt_query): Update. * nto-procfs.c (interrupt_query): Update. * monitor.c (monitor_interrupt_query): Update. * breakpoint.c (break_command_1): Update.
2005-01-192005-01-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-1/+4
* gdb.stabs/Makefile.in (Makefile): Update dependencies - configure.ac not configure.in.
2005-01-192005-01-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-14/+10
* gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL of powerpc*-*-*. * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto. * gdb.base/list.exp (test_list_function) (test_list_filename_and_function): Ditto. * gdb.base/callfuncs.exp (do_function_calls): Ditto.
2005-01-192005-01-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+12
PR 679 * elflink.c (_bfd_elf_dynamic_symbol_p): Only protected non-function symbols are local. (_bfd_elf_symbol_refs_local_p): Likewise.
2005-01-192005-01-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-53/+62
* infrun.c: (resume, proceed, wait_for_inferior) (handle_inferior_event, stop_stepping) (prepare_to_wait): Write debug output to gdb_stdlog.
2005-01-19 * read.c (convert_to_bignum): New function, split out from...Richard Sandiford8-35/+191
(emit_expr): ...here. Handle the case where X_add_number is positive and the input value is negative. (output_big_sleb128): Fix setting of continuation bit. Check whether the final byte needs to be sign-extended. Fix size-shrinking loop. (emit_leb128_expr): When generating a signed leb128, see whether the sign of an O_constant's X_add_number matches the sign of the input value. Use a bignum if not.
2005-01-19 * ldmain.h (ld_sysroot): Change type to a constant string.Richard Sandiford6-39/+86
* ldmain.c (ld_sysroot): Likewise. (get_relative_sysroot, get_sysroot): New functions, adding command-line support for changing the sysroot. (main): Call the new functions. * lexsup.c (OPTION_SYSROOT): New. (ld_options): Add --sysroot. (parse_args): Add a dummy handler for it. * ld.texinfo (--sysroot): Document. * NEWS: Mention the new --sysroot option.
2005-01-19* inf-ptrace.c (inf_ptrace_prepare_to_store)Mark Kettenis2-86/+20
(inf_ptrace_post_startup_inferior) (inf_ptrace_acknowledge_created_inferior) (inf_ptrace_insert_fork_catchpoint) (inf_ptrace_remove_fork_catchpoint) (inf_ptrace_insert_vfork_catchpoint): (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork) (inf_ptrace_insert_exec_catchpoint) (inf_ptrace_remove_exec_catchpoint): Remove functions. (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment. (inf_ptrace_target): Don't set to_prepare_to_store, to_post_startup_inferior, to_acknowledge_created_inferior, to_insert_fork_ctachpoint, to_remove_fork_catchpoint, to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, to_follow_fork, to_insert_exec_catchpoint, to_remove_exec_catchpoint.
2005-01-192005-01-17 Kelley Cook <kcook@gcc.gnu.org>Kelley Cook3-11/+19
* install-sh, config.sub: Import from upstream.
2005-01-192005-01-13 Kelley Cook <kcook@gcc.gnu.org>Kelley Cook4-2/+11
PR bootstrap/18222 * Makefile.def: Pass CPPFLAGS_FOR_TARGET. * Makefile.tpl: Define target CPPFLAGS on CPPFLAGS_FOR_TARGET. * Makefile.in: Regenerate.
2005-01-19*** empty log message ***gdbadmin1-1/+1
2005-01-18daily updateAlan Modra1-1/+1
2005-01-182005-01-18 Andrew Cagney <cagney@gnu.org>Andrew Cagney7-63/+59
* target.h (struct target_ops): Change return type of to_insert_fork_catchpoint, to_insert_vfork_catchpoint and to_insert_exec_catchpoint to void. (child_insert_fork_catchpoint, child_insert_vfork_catchpoint) (child_insert_exec_catchpoint): Change return type to void. * target.c (update_current_target): Update. (debug_to_insert_fork_catchpoint) (debug_to_insert_vfork_catchpoint) (debug_to_insert_exec_catchpoint): Update. * inf-child.c (inf_child_insert_fork_catchpoint) (inf_child_insert_vfork_catchpoint) (inf_child_insert_exec_catchpoint): Update. * breakpoint.c (insert_catchpoint): Update, do not throw an error. * linux-nat.c (child_insert_fork_catchpoint) (child_insert_vfork_catchpoint) (child_insert_exec_catchpoint): Update. * inftarg.c (child_insert_fork_catchpoint) (child_insert_vfork_catchpoint,) (child_insert_exec_catchpoint): Update.
2005-01-182005-01-18 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-3/+5
* remote.c (remote_open_1): Use throw_exception.
2005-01-18bfd/Alan Modra5-8/+18
* bfd.c (bfd_link_just_syms): Add abfd param. * bfd-in2.h: Regenerate. ld/ * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call. (lang_place_orphans): Don't abort on just_syms_flag, instead call bfd_link_just_syms.
2005-01-18*** empty log message ***gdbadmin1-1/+1
2005-01-17daily updateAlan Modra1-1/+1
2005-01-172005-01-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* gdb.texinfo: Fix spelling, infinte -> infinite.
2005-01-172005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-72/+107
* mips-linux-tdep.c: Whitespace tweaks.
2005-01-172005-01-17 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-35/+9
* configure.ac: For mips*-*-* and mn10300*-*-* configure the common directory. Remove sparc*-*-* from list.
2005-01-17 * elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions.Richard Sandiford6-4/+799
(_bfd_elf_discard_section_eh_frame): Use them to interpret the CFA instructions. If the amount of padding is known, reduce the size of the CIE or FDE by that amount.
2005-01-17 * elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column andRichard Sandiford3-56/+143
augmentation_size. Use bfd_signed_vmas for data_align. * elf-eh-frame.c (read_uleb128, read_sleb128): Delete in favor of... (read_byte, skip_leb128, read_uleb128, read_sleb128): ...these new functions. Don't read past the end of the enclosing CIE or FDE. (skip_bytes): New utility function. (_bfd_elf_discard_section_eh_frame): Use new functions, adding more sanity checking. (_bfd_elf_write_section_eh_frame): Use new functions.
2005-01-17 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use anRichard Sandiford2-45/+42
assert-style REQUIRE() macro to handle sanity checks.
2005-01-172005-01-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu6-126/+93
* dwarf2.c (dwarf2_debug): Move info_ptr_unit to ... (comp_unit): Here. (read_unsigned_leb128): Removed. (read_signed_leb128): Removed. (find_abstract_instance_name): Updated. (parse_comp_unit): Accept info_ptr_unit. (_bfd_dwarf2_find_nearest_line): Set info_ptr_unit for each comp unit and pass it to parse_comp_unit. * elf-eh-frame.c (read_unsigned_leb128): Moved to ... (read_signed_leb128): Moved to ... * libbfd.c: Here. * libbfd-in.h (read_unsigned_leb128): New prototype. (read_signed_leb128): Likewise. * libbfd.h: Regenerated.
2005-01-17 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.Corinna Vinschen2-0/+24
2005-01-17PR binutils/647Nick Clifton4-7/+63
* rcparse.y (RCDATA): Allow a filename to be supplied as the parameter. Parse it with define_rcdata_file(). * resrc.c (define_rcdata_file): New function. * windres.h: Provide a prototype for the new function. * resrc.c (define_user_file): Fix typo by replacing "font file" with "file".
2005-01-172005-01-17 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-67/+25
* top.h (source_error, source_pre_error): Delete declaration. * cli/cli-script.c (source_error_allocated, source_error): Delete. (script_from_file, source_cleanup_lines): Do not manipulate source_error_allocated, error_pre_print and source_error. (struct source_cleanup_lines_args): Delete fields old_pre_error, and old_error_pre_print. * top.c (source_error_allocated, source_error) (source_pre_error): Delete. (command_line_input): Do not set error_pre_print. * event-top.c (command_line_handler): Do not set error_pre_print.
2005-01-17Fix SH2A machine variants in order to correctly select instruction inheritanceNick Clifton56-461/+10302
2005-01-172005-01-16 Jason Thorpe <thorpej@netbsd.org>Jason Thorpe2-2/+6
* MAINTAINERS: Update my email address.
2005-01-17*** empty log message ***gdbadmin1-1/+1
2005-01-162005-01-16 Jason Thorpe <thorpej@netbsd.org>Jason Thorpe2-1/+5
* MAINTAINERS: Update my email address.
2005-01-16daily updateAlan Modra1-1/+1
2005-01-16* configure.ac: Provide prerequisite headers when checkingMark Kettenis2-1/+10
<term.h>. * configure: Regenerate.
2005-01-16* amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"Mark Kettenis5-5/+85
and "bsd-uthread.h". (amd64fbsd_jmp_buf_reg_offset): New variable. (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New functions. (amd64fbsd_init_abi): Set supply_uthread and collect_uthread. * i386fbsd-tdep.c: Fix typo. * Makefile.in (amd64fbsd-tdep.o): Update dependencies. * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
2005-01-162005-01-16 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-21/+64
* cli/cli-script.c: Include "exceptions.h". (struct wrapped_read_command_file_args): Define. (wrapped_read_command_file): New function. (script_from_file): Replace direct call to read_command_file by one wrapped by an exception handler. * exceptions.c (throw_it): Free the old message after creating the new. * Makefile.in: Update dependencies. Index: testsuite/ChangeLog 2005-01-16 Andrew Cagney <cagney@gnu.org> * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
2005-01-16* sparc64fbsd-tdep.c: Update copyright year.Mark Kettenis2-3/+27
(sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New functions. (sparc64fbsd_init_abi): Create register sets with collect functions.
2005-01-162005-01-16 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-0/+75
* gdb.base/source-error.gdb, gdb.base/source.exp: New files.
2005-01-16* sparc64fbsd-nat.c: Include "fbsd-nat.h".Mark Kettenis5-39/+22
(_initialize_sparc64fbsd_nat): Add some extra features to the generic SPARC target. * Makefile.in (sparc64fbsd-nat.o): Update dependencies. * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o. (NAT_FILE): Set to solib.h. * config/sparc/nm-fbsd.h: Remove file.
2005-01-16* sparc64-tdep.c (sparc64_store_arguments): Fix typo.Mark Kettenis2-1/+3
2005-01-16* sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.Mark Kettenis2-14/+12
2005-01-162005-01-16 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-18/+14
* exceptions.c (struct catcher): Delete saved_error_pre_print and saved_quit_pre_print. (catcher_init): Delete parameter errstring, do not override the pre_print strings. (catcher_pop): Do not restore the pre_print strings. (catch_exception, catch_exceptions_with_msg, catch_errors) (catch_command_errors): Update catch_init calls.
2005-01-16* Makefile.in (sparc64fbsd-nat.o): Update dependencies.Mark Kettenis3-3/+9
* sparc64fbsd-nat.c: Update copyright year. Include "target.h".
2005-01-16 * dlltool.c (set_dll_name_from_def): New function. Strip nameDanny Smith2-8/+32
to basename, with warning. (def_name): Use it. (def_library): Likwise. (main): Strip arg of --dllname to basename, with warning. Only use basename of exp_name when inferring dll_name.
2005-01-16 * defilep.y (def_name, def_library): Combine into...Danny Smith2-17/+16
(def_image_name): New function. Strip name to basename, with warning.
2005-01-16*** empty log message ***gdbadmin1-1/+1
2005-01-15daily updateAlan Modra1-1/+1
2005-01-152005-01-15 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-1009/+78
* acinclude.m4: Include ../bfd/bfd.m4 instead of ../bfd/acinclude.m4. Include ../gettext.m4. * aclocal.m4, configure: Re-generate.
2005-01-152005-01-15 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-153/+244
* bfd.m4: New file. * acinclude.m4: Move BFD_NEED_DECLARATION, BFD_HAVE_SYS_PROCFS_TYPE and BFD_HAVE_SYS_PROCFS_TYPE_MEMBER to the new file bfd.m4. Include ../bfd/bfd.m4. * configure: Re-generate.
2005-01-152005-01-15 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-28/+12
* exceptions.c (do_captured_command) (struct captured_command_args): Delete. (catch_command_errors): Simplify by inlining call to catch_errors.
2005-01-152005-01-15 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-18/+19
* exceptions.c (struct catcher): Delete field print_message. (catcher_init): Delete print_message parameter. (catch_exception, catch_exceptions_with_msg, catch_errors): Update. (throw_it): Delete prefix parameter. (throw_verror, throw_vfatal, throw_error): Update.