OSDN Git Service
jjohnstn [Wed, 19 Jan 2005 16:44:39 +0000 (16:44 +0000)]
2005-01-19 Shaun Jackman <sjackman@gmail.com>
* tzset_r.c (_tzname): Add a comma.
hjl [Wed, 19 Jan 2005 16:15:04 +0000 (16:15 +0000)]
2005-01-19 H.J. Lu <hongjiu.lu@intel.com>
PR 679
* elflink.c (_bfd_elf_dynamic_symbol_p): Only protected
non-function symbols are local.
(_bfd_elf_symbol_refs_local_p): Likewise.
cagney [Wed, 19 Jan 2005 16:09:38 +0000 (16:09 +0000)]
2005-01-19 Andrew Cagney <cagney@gnu.org>
* infrun.c: (resume, proceed, wait_for_inferior)
(handle_inferior_event, stop_stepping)
(prepare_to_wait): Write debug output to gdb_stdlog.
rsandifo [Wed, 19 Jan 2005 11:53:48 +0000 (11:53 +0000)]
* read.c (convert_to_bignum): New function, split out from...
(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.
rsandifo [Wed, 19 Jan 2005 11:42:48 +0000 (11:42 +0000)]
* ldmain.h (ld_sysroot): Change type to a constant string.
* 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.
kettenis [Wed, 19 Jan 2005 10:04:30 +0000 (10:04 +0000)]
* inf-ptrace.c (inf_ptrace_prepare_to_store)
(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.
kcook [Wed, 19 Jan 2005 00:34:56 +0000 (00:34 +0000)]
2005-01-17 Kelley Cook <kcook@gcc.gnu.org>
* install-sh, config.sub: Import from upstream.
kcook [Wed, 19 Jan 2005 00:32:57 +0000 (00:32 +0000)]
2005-01-13 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/18222
* Makefile.def: Pass CPPFLAGS_FOR_TARGET.
* Makefile.tpl: Define target CPPFLAGS on CPPFLAGS_FOR_TARGET.
* Makefile.in: Regenerate.
gdbadmin [Wed, 19 Jan 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 18 Jan 2005 23:00:07 +0000 (23:00 +0000)]
daily update
jjohnstn [Tue, 18 Jan 2005 19:27:44 +0000 (19:27 +0000)]
2005-01-18 Hans-Peter Nilsson <hp@axis.com>
* libnosys/warning.h (link_warning) [HAVE_GNU_LD and HAVE_ELF]:
Prefix symbol in section name with __SYMBOL_PREFIX. Do not use
__make_section_unallocated. Mark magic variable as used.
jjohnstn [Tue, 18 Jan 2005 19:23:36 +0000 (19:23 +0000)]
2005-01-18 Hans-Peter Nilsson <hp@axis.com>
* libnosys/configure.in (libc_cv_asm_previous_directive): Set
cache-id variable.
(libc_cv_asm_popsection_directive): Ditto.
(libc_cv_section_attributes): Ditto.
(libc_symbol_prefix): Rename from libc_dollar_prefix. Check for
"_" as well, and set __SYMBOL_PREFIX accordingly.
* libnosys/configure: Regenerate.
jjohnstn [Tue, 18 Jan 2005 19:00:26 +0000 (19:00 +0000)]
2005-01-18 Hans-Peter Nilsson <hp@axis.com>
* libnosys/Makefile.in (LD, AS): Correct obsoleted suffix: Say
as-new and ld-new, not as.new and ld.new.
aldyh [Tue, 18 Jan 2005 17:08:50 +0000 (17:08 +0000)]
* libc/machine/powerpc/vfprintf.c: Use _REENT when calling
_VFPRINTF_R.
cagney [Tue, 18 Jan 2005 17:04:24 +0000 (17:04 +0000)]
2005-01-18 Andrew Cagney <cagney@gnu.org>
* 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.
cagney [Tue, 18 Jan 2005 16:15:39 +0000 (16:15 +0000)]
2005-01-18 Andrew Cagney <cagney@gnu.org>
* remote.c (remote_open_1): Use throw_exception.
cagney [Tue, 18 Jan 2005 16:15:30 +0000 (16:15 +0000)]
2005-01-18 Andrew Cagney <cagney@gnu.org>
* remote.c (remote_open_1): Use throw_exception.
corinna [Tue, 18 Jan 2005 13:00:17 +0000 (13:00 +0000)]
* autoload.cc (CoInitialize): Remove.
(CoUninitialize): Remove.
(CoCreateInstance): Remove.
(CoTaskMemFree): Add.
(SHGetDesktopFolder): Add.
* path.cc (shortcut_header): Remove.
(shortcut_initalized): Remove.
(GUID_shortcut): New static GUID.
(struct win_shortcut_hdr): New struct describing Windows shortcut
header structure.
(symlink_worker): Rewrite creating Windows shortcuts. Create
ITEMIDLIST if target exists. Only write once.
(cmp_shortcut_header): Use win_shortcut_hdr structure for comparison.
(check_shortcut): Rewrite to read only once from file. Allow skipping
an ITIMIDLIST in the file.
amodra [Tue, 18 Jan 2005 08:51:41 +0000 (08:51 +0000)]
bfd/
* 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.
dannysmith [Tue, 18 Jan 2005 07:14:52 +0000 (07:14 +0000)]
* lib/user32.def (MonitorFromPoint}: Correct suffix.
kseitz [Tue, 18 Jan 2005 00:14:38 +0000 (00:14 +0000)]
* generic/gdbtk-varobj.c (variable_value): Remove all instances
of error_last_message. It's gone.
* generic/gdbtk-wrapper.c: Include exceptions.h
* generic/gdbtk-cmds.c: Likewise.
* generic/gdbtk-interp.c: Likewise.
(gdbtk_interpreter_exec): Change return type to struct
exception. Return exception_none.
kseitz [Tue, 18 Jan 2005 00:14:23 +0000 (00:14 +0000)]
* generic/gdbtk-varobj.c (variable_value): Remove all instances
of error_last_message. It's gone.
* generic/gdbtk-wrapper.c: Include exceptions.h
* generic/gdbtk-cmds.c: Likewise.
* generic/gdbtk-interp.c: Likewise.
(gdbtk_interpreter_exec): Change return type to struct
exception. Return exception_none.
gdbadmin [Tue, 18 Jan 2005 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 17 Jan 2005 23:00:08 +0000 (23:00 +0000)]
daily update
msnyder [Mon, 17 Jan 2005 19:54:41 +0000 (19:54 +0000)]
2005-01-17 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo: Fix spelling, infinte -> infinite.
msnyder [Mon, 17 Jan 2005 19:49:06 +0000 (19:49 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* mips-linux-tdep.c: Whitespace tweaks.
cagney [Mon, 17 Jan 2005 18:04:09 +0000 (18:04 +0000)]
2005-01-17 Andrew Cagney <cagney@gnu.org>
* configure.ac: For mips*-*-* and mn10300*-*-* configure the
common directory. Remove sparc*-*-* from list.
rsandifo [Mon, 17 Jan 2005 17:44:30 +0000 (17:44 +0000)]
* elf-eh-frame.c (skip_cfa_op, skip_non_nops): New functions.
(_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.
rsandifo [Mon, 17 Jan 2005 17:41:43 +0000 (17:41 +0000)]
* elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and
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.
rsandifo [Mon, 17 Jan 2005 17:39:25 +0000 (17:39 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use an
assert-style REQUIRE() macro to handle sanity checks.
hjl [Mon, 17 Jan 2005 17:11:54 +0000 (17:11 +0000)]
2005-01-17 H.J. Lu <hongjiu.lu@intel.com>
* 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.
corinna [Mon, 17 Jan 2005 16:47:55 +0000 (16:47 +0000)]
* infcmd.c (attach_command): Call CLEAR_SOLIB if available.
corinna [Mon, 17 Jan 2005 16:47:41 +0000 (16:47 +0000)]
* infcmd.c (attach_command): Call CLEAR_SOLIB if available.
nickc [Mon, 17 Jan 2005 16:24:12 +0000 (16:24 +0000)]
PR binutils/647
* 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".
cagney [Mon, 17 Jan 2005 16:17:33 +0000 (16:17 +0000)]
2005-01-17 Andrew Cagney <cagney@gnu.org>
* 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.
cagney [Mon, 17 Jan 2005 16:17:23 +0000 (16:17 +0000)]
2005-01-17 Andrew Cagney <cagney@gnu.org>
* 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.
nickc [Mon, 17 Jan 2005 14:08:03 +0000 (14:08 +0000)]
Fix SH2A machine variants in order to correctly select instruction inheritance
dannysmith [Mon, 17 Jan 2005 05:03:16 +0000 (05:03 +0000)]
* include/sys/stat.h (struct __stat64): Change st_size type to
__int64.
* include/wchar.h (struct __stat64): Change st_size type to __int64.
cgf [Mon, 17 Jan 2005 04:12:07 +0000 (04:12 +0000)]
* pinfo.h (maybe_set_exit_code_from_windows): Renamed from set_exit_state.
* pinfo.cc (pinfo::exit): Use renamed function.
(proc_waiter): Ditto. Make a copy of input argument to avoid problems when
procs array is shuffled. Flag when copy is made so that remove_proc knows when
it is safe to reshuffle.
* sigproc.cc (proc_terminate): Don't flag process_state as PID_EXITED.
(remove_proc): Wait for waiter to finish copying pinfo element before moving it
(an actual wait should be an extremely rare event).
thorpej [Mon, 17 Jan 2005 00:01:46 +0000 (00:01 +0000)]
2005-01-16 Jason Thorpe <thorpej@netbsd.org>
* MAINTAINERS: Update my email address.
gdbadmin [Mon, 17 Jan 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
thorpej [Sun, 16 Jan 2005 23:47:39 +0000 (23:47 +0000)]
2005-01-16 Jason Thorpe <thorpej@netbsd.org>
* MAINTAINERS: Update my email address.
amodra [Sun, 16 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
kettenis [Sun, 16 Jan 2005 22:51:47 +0000 (22:51 +0000)]
* configure.ac: Provide prerequisite headers when checking
<term.h>.
* configure: Regenerate.
kettenis [Sun, 16 Jan 2005 21:53:33 +0000 (21:53 +0000)]
* amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
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.
cagney [Sun, 16 Jan 2005 21:20:04 +0000 (21:20 +0000)]
2005-01-16 Andrew Cagney <cagney@gnu.org>
* 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.
kettenis [Sun, 16 Jan 2005 21:18:45 +0000 (21:18 +0000)]
* sparc64fbsd-tdep.c: Update copyright year.
(sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
functions.
(sparc64fbsd_init_abi): Create register sets with collect
functions.
cagney [Sun, 16 Jan 2005 20:30:16 +0000 (20:30 +0000)]
2005-01-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/source-error.gdb, gdb.base/source.exp: New files.
kettenis [Sun, 16 Jan 2005 20:29:09 +0000 (20:29 +0000)]
* sparc64fbsd-nat.c: Include "fbsd-nat.h".
(_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.
kettenis [Sun, 16 Jan 2005 20:08:14 +0000 (20:08 +0000)]
* sparc64-tdep.c (sparc64_store_arguments): Fix typo.
kettenis [Sun, 16 Jan 2005 20:06:51 +0000 (20:06 +0000)]
* sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
cagney [Sun, 16 Jan 2005 19:51:49 +0000 (19:51 +0000)]
2005-01-16 Andrew Cagney <cagney@gnu.org>
* 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.
kettenis [Sun, 16 Jan 2005 17:54:36 +0000 (17:54 +0000)]
* Makefile.in (sparc64fbsd-nat.o): Update dependencies.
* sparc64fbsd-nat.c: Update copyright year. Include "target.h".
cgf [Sun, 16 Jan 2005 17:13:50 +0000 (17:13 +0000)]
* ps.cc (main): Eliminate use of PID_ZOMBIE.
* strace.cc (main): Recognize new option for displaying hex value of strace
type.
(handle_output_debug_string): Prepend output with hex value of strace message
if -H is specified.
cgf [Sun, 16 Jan 2005 17:00:26 +0000 (17:00 +0000)]
* init.cc (dll_entry): Remove unused extern.
* include/sys/cygwin.h: Remove PID_ZOMBIE.
* pinfo.h: Rename EXITCODE_* defines.
(pinfo::set_exit_state): Remove parameter.
* pinfo.cc (set_exit_state): Remove parameter. Reverse sense of test so that
exitcode is checked for having been set rather than not having been set. Set
flag when exitcode has been established. Don't set PID_STATE here.
(pinfo::init): Remove exitcode initialization.
(pinfo::exit): Reflect change in EXITCODE_* naming. Set flag when exitcode has
been established. Reflect change in arguments to set_process_state.
(proc_waiter): Reflect change in arguments to set_process_state. Set
process_state here and only here.
* fhandler_process.cc (fhandler_process::fill_filebuf): Reflect removal of
PID_ZOMBIE define.
(format_process_stat): Ditto.
(format_process_status): Ditto.
* sigproc.cc (pid_exists): Ditto.
(stopped_or_terminated): Ditto. Make sure that only low-order 16 bits of
exitcode are used.
* spawn.cc (spawn_guts): Reflect change in EXITCODE_* naming.
dannysmith [Sun, 16 Jan 2005 09:25:05 +0000 (09:25 +0000)]
* dlltool.c (set_dll_name_from_def): New function. Strip name
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.
dannysmith [Sun, 16 Jan 2005 09:18:34 +0000 (09:18 +0000)]
* defilep.y (def_name, def_library): Combine into...
(def_image_name): New function. Strip name to basename,
with warning.
gdbadmin [Sun, 16 Jan 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Sat, 15 Jan 2005 23:43:41 +0000 (23:43 +0000)]
* sigproc.cc (sig_send): Don't complain if attempt to send signal to myself
fails after I've "execed".
amodra [Sat, 15 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update
cagney [Sat, 15 Jan 2005 20:32:39 +0000 (20:32 +0000)]
2005-01-15 Andrew Cagney <cagney@gnu.org>
* acinclude.m4: Include ../bfd/bfd.m4 instead of
../bfd/acinclude.m4. Include ../gettext.m4.
* aclocal.m4, configure: Re-generate.
cagney [Sat, 15 Jan 2005 19:14:54 +0000 (19:14 +0000)]
2005-01-15 Andrew Cagney <cagney@gnu.org>
* 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.
cagney [Sat, 15 Jan 2005 18:59:41 +0000 (18:59 +0000)]
2005-01-15 Andrew Cagney <cagney@gnu.org>
* exceptions.c (do_captured_command)
(struct captured_command_args): Delete.
(catch_command_errors): Simplify by inlining call to catch_errors.
cagney [Sat, 15 Jan 2005 06:03:29 +0000 (06:03 +0000)]
2005-01-15 Andrew Cagney <cagney@gnu.org>
* 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.
cagney [Sat, 15 Jan 2005 05:16:14 +0000 (05:16 +0000)]
2005-01-14 Andrew Cagney <cagney@gnu.org>
* exceptions.c (print_and_throw): Delete, replaced by throw_it.
(throw_reason): Leave the exception's message field blank.
(throw_it): New function, create the exception and throw it.
(throw_verror, throw_vfatal, throw_error): Call throw_it.
(print_any_exception): New function.
(catch_errors, catch_exceptions_with_msg): Call
print_any_exception.
(throw_exception): Move code calling annotate_error and
annotate_quit from here ...
(print_exception): ... to here.
cagney [Sat, 15 Jan 2005 04:31:06 +0000 (04:31 +0000)]
2005-01-14 Andrew Cagney <cagney@gnu.org>
* exceptions.c (exception_fprintf, exception_print): Move printing
of \n from here ...
(print_exception): ... to here.
(print_flush): New function.
(exception_print, exception_fprintf): Replace duplicated flush and
wrap code with call to print_flush.
(print_and_throw): Simplify, by using xstrvprintf, print_flush,
and print_exception.
(do_write): Delete.
cagney [Sat, 15 Jan 2005 02:33:16 +0000 (02:33 +0000)]
2005-01-14 Andrew Cagney <cagney@gnu.org>
* remote-sds.c (interrupt_query): Call throw_reason instead of
throw_exception.
* remote-mips.c (mips_error, mips_kill): Ditto
* ocd.c (interrupt_query): Ditto.
* nto-procfs.c (interrupt_query): Ditto.
* monitor.c (monitor_interrupt_query): Ditto.
jjohnstn [Sat, 15 Jan 2005 00:17:49 +0000 (00:17 +0000)]
2005-01-14 Hans-Peter Nilsson <hp@axis.com>
* libnosys/warning.h (__make_section_unallocated)
[HAVE_ASM_PREVIOUS_DIRECTIVE, HAVE_ASM_POPSECTION_DIRECTIVE]: Use "\n"
instead of ";" to delimit assembly lines.
jjohnstn [Sat, 15 Jan 2005 00:10:02 +0000 (00:10 +0000)]
2005-01-14 Jeff Johnston <jjohnstn@redhat.com>
* ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
jjohnstn [Sat, 15 Jan 2005 00:09:52 +0000 (00:09 +0000)]
2005-01-14 Jeff Johnston <jjohnstn@redhat.com>
* ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
gdbadmin [Sat, 15 Jan 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***
cagney [Fri, 14 Jan 2005 23:27:06 +0000 (23:27 +0000)]
2005-01-14 Andrew Cagney <cagney@gnu.org>
* exceptions.h (catch_exceptions): Delete errstring parameter.
(catch_exceptions_with_msg): Ditto.
* exceptions.c (catch_exceptions_with_msg): Update.
(catch_exceptions): Update.
* symfile-mem.c (add_vsyscall_page): Update.
* frame.c (get_current_frame): Update.
* wrapper.c (gdb_value_struct_elt): Update.
* exceptions.c (catch_exceptions): Update.
* thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
* breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
* remote-fileio.c (remote_fileio_request): Update.
amodra [Fri, 14 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update
cagney [Fri, 14 Jan 2005 22:59:32 +0000 (22:59 +0000)]
2005-01-14 Andrew Cagney <cagney@gnu.org>
* exceptions.h (exception_fprintf): Declare.
(exception_print): Drop pre_print parameter.
* mi/mi-main.c (mi_execute_command): Update exception_print call.
* cli/cli-interp.c (safe_execute_command): Update exception_print
call.
* remote.c (remote_open_1): Instead of passing an error prefix to
catch_exceptions, use catch_exceptions and exception_fprintf.
(remote_start_remote): Change return type to void.
* breakpoint.c (insert_bp_location): Instead of passing an error
prefix to catch_exceptions, use catch_exceptions and
exception_fprintf.
(insert_catchpoint): Change return type to void.
(break_command_1): Update exception_print call.
* exceptions.c (exception_fprintf): New function.
(print_exception): New function.
(exception_print): Use print_exception.
hjl [Fri, 14 Jan 2005 22:10:48 +0000 (22:10 +0000)]
2005-01-14 H.J. Lu <hongjiu.lu@intel.com>
PR 659
* config/tc-i386.c (i386_scale): Disallow 0 scale.
corinna [Fri, 14 Jan 2005 22:03:39 +0000 (22:03 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::facl): Pretend successful
SETACL if no acls are available.
* fhandler.cc (fhandler_base::facl): Implement to return sensible
values on GETACL and GETACLCNT. Pretend successful SETACL.
* fhandler_virtual.cc (fhandler_virtual::facl): Ditto.
cagney [Fri, 14 Jan 2005 21:34:32 +0000 (21:34 +0000)]
2005-01-14 Andrew Cagney <cagney@gnu.org>
* utils.c (error_output_message): Delete function.
* defs.h (error_output_message): Delete declaration.
cagney [Fri, 14 Jan 2005 20:24:14 +0000 (20:24 +0000)]
2005-01-14 Andrew Cagney <cagney@gnu.org>
* linespec.c (symtab_from_filename, decode_variable): Use
throw_error instead of error_silent.
* breakpoint.c (do_captured_parse_breakpoint): Change return type
to void.
(break_command_1): Use catch_exception and check the error return
status.
* exceptions.c (throw_error): New function.
(throw_vsilent): Delete function.
* exceptions.h (throw_error): Declare.
(throw_vsilent): Delete declaration.
* utils.c (error_silent): Delete function.
* defs.h (error_silent): Delete declaration.
cagney [Fri, 14 Jan 2005 20:05:37 +0000 (20:05 +0000)]
Index: arm/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: common/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Replace SIM_AC_COMMON with sinclude of common.m4.
Add explicit call to AC_CONFIG_HEADER.
* common.m4: Delete call to AC_CONFIG_HEADER, update usage.
* configure: Re-generate.
Index: d10v/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: erc32/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: frv/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: h8300/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: m32r/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: m68hc11/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: mcore/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: mips/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: mn10300/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: sh/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: v850/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
cagney [Fri, 14 Jan 2005 18:55:30 +0000 (18:55 +0000)]
2005-01-13 Andrew Cagney <cagney@gnu.org>
* mi/mi-main.c (mi_execute_command): Print the exception.
* cli/cli-interp.c (safe_execute_command): Print the exception.
* exceptions.h (exception_print): Declare.
* exceptions.c (struct catcher): Add field print_message.
(catcher_init): Add parameter print_message, store in the catcher
struct.
(print_and_throw): Only print the message when print_message.
(catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
catcher_init.
(catch_exception): Pass print_message=0 to catcher_init.
cagney [Fri, 14 Jan 2005 18:55:19 +0000 (18:55 +0000)]
2005-01-13 Andrew Cagney <cagney@gnu.org>
* mi/mi-main.c (mi_execute_command): Print the exception.
* cli/cli-interp.c (safe_execute_command): Print the exception.
* exceptions.h (exception_print): Declare.
* exceptions.c (struct catcher): Add field print_message.
(catcher_init): Add parameter print_message, store in the catcher
struct.
(print_and_throw): Only print the message when print_message.
(catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
catcher_init.
(catch_exception): Pass print_message=0 to catcher_init.
cagney [Fri, 14 Jan 2005 18:17:11 +0000 (18:17 +0000)]
Index: ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* varobj.c (varobj_create): Add missing \n.
Index: testsuite/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
* gdb.mi/mi2-var-cmd.exp: Ditto.
msnyder [Fri, 14 Jan 2005 04:41:36 +0000 (04:41 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* cli/cli-decode.h: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 04:33:05 +0000 (04:33 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* wince.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 04:03:02 +0000 (04:03 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* uw-thread.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 04:01:34 +0000 (04:01 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* utils.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 04:00:06 +0000 (04:00 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* solist.h: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 03:59:17 +0000 (03:59 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* tracepoint.[ch]: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 03:12:43 +0000 (03:12 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* somsolib.[ch]: Whitespace tweaks.
cagney [Fri, 14 Jan 2005 02:35:06 +0000 (02:35 +0000)]
Fix ChangeLog foobar.
cagney [Fri, 14 Jan 2005 02:33:23 +0000 (02:33 +0000)]
2005-01-13 Andrew Cagney <cagney@gnu.org>
* exceptions.h (struct exception): Make message const.
* mi/mi-main.c (mi_execute_command): Pass result.message directly
to fputstr_unfiltered.
msnyder [Fri, 14 Jan 2005 02:32:24 +0000 (02:32 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* stack.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 02:03:58 +0000 (02:03 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* solib-aix.c: Whitespace tweaks.
* solib.c: Whitespace tweaks.
* solib-frv.c: Whitespace tweaks.
* solib.h: Whitespace tweaks.
* solib-irix.c: Whitespace tweaks.
* solib-som.c: Whitespace tweaks.
* solib-sunos.c: Whitespace tweaks.
* solib-svr4.[ch]: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 01:59:20 +0000 (01:59 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* ser-tcp.c: Whitespace tweaks.
* ser-unix.c: Whitespace tweaks.
* serial.h: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 01:57:01 +0000 (01:57 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* scm-valprint.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 01:54:46 +0000 (01:54 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* rs6000-nat.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 01:46:07 +0000 (01:46 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* remote.c: Whitespace tweaks.
cagney [Fri, 14 Jan 2005 01:20:28 +0000 (01:20 +0000)]
2005-01-13 Andrew Cagney <cagney@gnu.org>
* defs.h (error_last_message, error_init): Delete declaration.
* utils.c (fatal, vfatal): Call throw_vfatal.
(error, verror): Call throw_verror;
(do_write, error_stream_1): Delete function.
(error_stream): Simplify, call error.
(error_last_message, error_init, gdb_lasterr): Delete.
(error_silent): Simplify, call throw_vsilent.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
* main.c (captured_main): Delete call to error_init.
* exceptions.c (throw_verror, throw_verror)
(throw_vsilent): New functions.
(do_write, print_and_throw): New functions.
(last_message): New global.
(throw_reason): Replace error_last_message with last_message.
(catch_exceptions_with_msg): Dup the message.
* exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
Declare.
msnyder [Fri, 14 Jan 2005 01:08:20 +0000 (01:08 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* remote-st.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 01:05:37 +0000 (01:05 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* remote-sim.c: Whitespace tweaks.