OSDN Git Service
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.
msnyder [Fri, 14 Jan 2005 01:03:41 +0000 (01:03 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* remote-mips.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 01:01:33 +0000 (01:01 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* pa64solib.[ch]: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 00:59:31 +0000 (00:59 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* mdebugread.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 00:58:15 +0000 (00:58 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* main.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 00:55:36 +0000 (00:55 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* interps.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 00:51:43 +0000 (00:51 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* infrun.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 00:48:32 +0000 (00:48 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* infcmd.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 00:25:00 +0000 (00:25 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* hpux-thread.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 00:23:41 +0000 (00:23 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* hppa-hpux-tdep.c: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 00:21:13 +0000 (00:21 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* gdbcore.h: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 00:19:07 +0000 (00:19 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* gdbcmd.h: Whitespace tweaks.
msnyder [Fri, 14 Jan 2005 00:16:48 +0000 (00:16 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* gdb-events[.c, .h, .sh]: Whitespace tweaks.
gdbadmin [Fri, 14 Jan 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
msnyder [Thu, 13 Jan 2005 23:56:22 +0000 (23:56 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* corefile.c: Whitespace tweaks.
msnyder [Thu, 13 Jan 2005 23:52:24 +0000 (23:52 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* completer.c: Whitespace tweaks.
msnyder [Thu, 13 Jan 2005 23:45:25 +0000 (23:45 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* coff-solib.c: Whitespace tweaks.
* coff-solib.h: Whitespace tweaks.
msnyder [Thu, 13 Jan 2005 23:39:40 +0000 (23:39 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* cli-out.c: Whitespace tweaks.
msnyder [Thu, 13 Jan 2005 23:35:49 +0000 (23:35 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* breakpoint.c: Whitespace tweaks.
msnyder [Thu, 13 Jan 2005 23:31:12 +0000 (23:31 +0000)]
2005-01-13 Michael Snyder <msnyder@redhat.com>
* cli/cli-interp.c: Tweak comments, per coding standard.
amodra [Thu, 13 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
corinna [Thu, 13 Jan 2005 22:56:19 +0000 (22:56 +0000)]
* fhandler.h (fhandler_disk_file::touch_ctime): Declare.
* fhandler_disk_file.cc (fhandler_disk_file::touch_ctime): New method
to set file's ctime.
(fhandler_disk_file::fchmod): Try opening file for writing first.
Set file's ctime on success.
(fhandler_disk_file::fchown): Ditto.
(fhandler_disk_file::facl): Ditto.
kseitz [Thu, 13 Jan 2005 22:30:57 +0000 (22:30 +0000)]
* configure.in: Rename to ...
* configure.ac: ... this.
* configure: Regenerate with autoconf 2.59.
* plugins/configure.in: Rename to ...
* plugins/configure.ac: ... this.
* pluginx/configure: Regenerate with autoconf 2.59.
kseitz [Thu, 13 Jan 2005 22:30:06 +0000 (22:30 +0000)]
* configure.in: Rename to ...
* configure.ac: ... this.
* configure: Regenerate with autoconf 2.59.
corinna [Thu, 13 Jan 2005 22:18:56 +0000 (22:18 +0000)]
* pinfo.cc (pinfo::exit): Don't access self after releasing it.
* path.h (path_conv::path_conv): Fill path with native device
name in case of device argument.
cagney [Thu, 13 Jan 2005 22:08:21 +0000 (22:08 +0000)]
2005-01-13 Andrew Cagney <cagney@gnu.org>
* breakpoint.c (gdb_breakpoint_query): Update, use
catch_exceptions_with_msg.
(do_captured_breakpoint): Add uiout parameter.
(gdb_breakpoint): Update, use catch_exceptions_with_msg.
* mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
gdb_thread_select. Return MI_CMD_ERROR instead of
MI_CMD_CAUGHT_ERROR.
(mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
(enum captured_mi_execute_command_actions): Delete
EXECUTE_COMMAND_DISPLAY_ERROR.
(captured_mi_execute_command): Delete code handling
MI_CMD_CAUGHT_ERROR.
(mi_execute_command): Don't check for
EXECUTE_COMMAND_DISPLAY_ERROR.
* mi/mi-cmd-break.c (breakpoint_notify): Update call to
gdb_breakpoint_query.
(mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
* mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
* gdb.h (gdb_thread_select, gdb_list_thread_ids)
(gdb_breakpoint, gdb_breakpoint_query): Add error_message
parameter.
* thread.c (thread_command): Update call.
(gdb_thread_select, gdb_list_thread_ids): Update, call
catch_exceptions_with_msg.
corinna [Thu, 13 Jan 2005 20:10:01 +0000 (20:10 +0000)]
* fhandler_serial.cc (fhandler_serial::dup): Call overlapped_setup
for child, not for parent.
earnie [Thu, 13 Jan 2005 19:51:02 +0000 (19:51 +0000)]
* include/_mingw.h: Increment version to 3.7.
* Makefile.in: Ditto.
cagney [Thu, 13 Jan 2005 18:14:55 +0000 (18:14 +0000)]
2005-01-13 Andrew Cagney <cagney@gnu.org>
* mi/mi-main.c (mi_execute_command): Use catch_exception,
eliminate call to error_last_message.
(captured_mi_execute_command): Change return type to void.
cgf [Thu, 13 Jan 2005 16:38:34 +0000 (16:38 +0000)]
* init.cc (dll_entry): Nuke attempt to set exit code since parent will use
windows exit code if needed.
* pinfo.cc (pinfo::exit): Move release() here to minimize pid creation race
(suggested by Pierre Humblet).
earnie [Thu, 13 Jan 2005 12:40:33 +0000 (12:40 +0000)]
* include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
lstat): Remove.
* include/errno.h (ELOOP): Ditto.
dannysmith [Thu, 13 Jan 2005 09:14:37 +0000 (09:14 +0000)]
2005-01-13 Benoit Blanchon <bblanchon@users.sourceforge.net>
* include/wininet.h (InternetCheckConnectionA,
InternetCheckConnectionW) Add prototypes.
(INTERNET_RAS_INSTALLED, INTERNET_CONNECTION_OFFLINE,
INTERNET_CONNECTION_CONFIGURED): Add defines.
cagney [Thu, 13 Jan 2005 02:35:32 +0000 (02:35 +0000)]
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.c (exception_none): New variable.
* Makefile.in: Update dependencies.
* interps.c: Include "exceptions.h".
(interpreter_exec_cmd, interp_exec): Update to return "struct
exception"
* exceptions.h (no_exception): Declare.
* tui/tui-interp.c (tui_exec): Update to return "struct exception"
* mi/mi-interp.c: Include "exceptions.h".
(mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
'struct exception".
* cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
(do_captured_execute_command): Update to use catch_exception.
* interps.h: Include "exceptions.h".
(interp_exec_ftype, interp_exec): Return "struct exception".
cagney [Thu, 13 Jan 2005 00:12:48 +0000 (00:12 +0000)]
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.h (throw_reason): Rename throw_exception.
(enum errors, struct exception): Define.
(catch_exception_ftype): Define.
(catch_exception, throw_exception): Declare.
* exceptions.c (throw_exception): Rewrite.
(throw_reason): New function.
(struct catcher, catcher_state_machine): Replace "reason" with
"exception", delete "gdberrmsg".
(catch_exception): New function.
(catcher_init): Replace "gdberrmsg" parameter with "exception".
(catch_errors, catch_exceptions_with_msg): Re-implement passing
exception to catcher_init.
* utils.c (error_silent, error_stream_1): Use throw_reason.
(internal_verror, quit): Ditto.
* breakpoint.c (insert_catchpoint, break_command_1): Ditto.
* remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
* remote.c (remote_open_1, interrupt_query): Ditto.
cagney [Thu, 13 Jan 2005 00:12:31 +0000 (00:12 +0000)]
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.h (throw_reason): Rename throw_exception.
(enum errors, struct exception): Define.
(catch_exception_ftype): Define.
(catch_exception, throw_exception): Declare.
* exceptions.c (throw_exception): Rewrite.
(throw_reason): New function.
(struct catcher, catcher_state_machine): Replace "reason" with
"exception", delete "gdberrmsg".
(catch_exception): New function.
(catcher_init): Replace "gdberrmsg" parameter with "exception".
(catch_errors, catch_exceptions_with_msg): Re-implement passing
exception to catcher_init.
* utils.c (error_silent, error_stream_1): Use throw_reason.
(internal_verror, quit): Ditto.
* breakpoint.c (insert_catchpoint, break_command_1): Ditto.
* remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
* remote.c (remote_open_1, interrupt_query): Ditto.
gdbadmin [Thu, 13 Jan 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 12 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
cgf [Wed, 12 Jan 2005 22:40:41 +0000 (22:40 +0000)]
Reorganize header file inclusion throughout so that cygerrno.h comes first.
* fhandler.h (select_record::thread_errno): Save any encountered errno here.
(select_record::set_select_errno): New function.
(select_record::saw_error): New function.
(select_record::select_record): Initialize thread_errno to zero.
* select.cc (set_handle_or_return_if_not_open): Set thread_errno on failure.
(select_stuff::wait): Record errno for later resurrection in calling thread.
(peek_serial): Ditto.
kettenis [Wed, 12 Jan 2005 22:12:22 +0000 (22:12 +0000)]
* configure.in: Be sure to invoke config.sub using the shell.
* configure: Regenerate.
kettenis [Wed, 12 Jan 2005 21:54:11 +0000 (21:54 +0000)]
* i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
"regcache.h", "gdb_assert.h" and "bsd-uthread.h".
(i386fbsd_jmp_buf_reg_offset): New variable.
(i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
functions.
(i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
* Makefile.in (i386fbsd-tdep.o): Update dependency.
* config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
kettenis [Wed, 12 Jan 2005 21:43:33 +0000 (21:43 +0000)]
* bsd-uthread.h: New file.
* bsd-uthread.c: New file.
* Makefile.in (bsd_uthread_h): New variable.
(ALLDEPFILES): Add bsd-uthread.c.
(bsd-uthread.o): New dependency.
kettenis [Wed, 12 Jan 2005 20:52:16 +0000 (20:52 +0000)]
* solib.h Update copyright year.
(struct so_list): Forward declaration.
(solib_read_symbols): New prototype.
* solib.c (solib_read_symbols): New function.
(solib_add): Call solib_read_symbols to read in symbols.
(update_solib_list): Call observer_notify_solib_loaded.
kettenis [Wed, 12 Jan 2005 20:48:08 +0000 (20:48 +0000)]
* observer.texi (GDB Observers): Document "solib_loaded".
kettenis [Wed, 12 Jan 2005 20:36:55 +0000 (20:36 +0000)]
* i386bsd-nat.c: Update copyright year. Don't include
<sys/param.h> and <sys/user.h>.
(register_u_addr, kernel_u_size): Remove functions.
* config/i386/obsd.mh (NAT_FILE): Remove.
* config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
* config/i386/nm-obsd.h: Remove file.
cgf [Wed, 12 Jan 2005 20:06:17 +0000 (20:06 +0000)]
Add missing changelog entry.
hjl [Wed, 12 Jan 2005 19:40:20 +0000 (19:40 +0000)]
2005-01-12 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_E): Don't ignore scale in SIB for 64 bit mode.
hjl [Wed, 12 Jan 2005 19:12:50 +0000 (19:12 +0000)]
gas/testsuite/
2005-01-12 H.J. Lu <hongjiu.lu@intel.com>
* i386/i386.exp: Run "sib".
* gas/i386/sib.d: New file.
* gas/i386/sib.s: Likewise.
opcodes/
2005-01-12 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_E): Ignore scale when index == 0x4 in SIB.
cagney [Wed, 12 Jan 2005 19:12:26 +0000 (19:12 +0000)]
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.c: Include "gdb_string.h".
(enum catcher_state, struct catcher): Define.
(current_catcher): New global, replaces catch_return;
(catch_return): Delete.
(throw_exception): Use current_catcher->buf;
(catcher_init, catcher_pop, catcher_state_machine): New functions.
(catcher): Delete.
(struct catch_errors_args): Delete.
(do_catch_errors): Delete.
(catch_exceptions): Replace body with call to
catch_exceptions_with_msg.
(catcher): Delete.
(catch_exceptions_with_msg, catch_errors): Re-implement using
catcher_state_machine.
cagney [Wed, 12 Jan 2005 18:31:24 +0000 (18:31 +0000)]
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.h (enum return_reason, RETURN_MASK)
(RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
(return_mask, throw_exception, catch_exceptions_ftype)
(catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
(catch_command_errors_ftype, catch_command_errors): Move to
exceptions.h.
* exceptions.c, exceptions.h: New files.
* top.c: Do not include <setjmp.h>.
(SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
(throw_exception, catcher, catch_exceptions)
(catch_exceptions_with_msg, struct catch_errors_args)
(do_catch_errors, catch_errors, struct captured_command_args)
(do_captured_command, catch_command_errors): Move to exceptions.c.
* wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
* tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
* symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
* remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
* remote-e7000.c, objc-lang.c, ocd.c: Ditto.
* remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
* main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
* hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
* corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
* ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
exceptions.o. Update all dependencies.
cgf [Wed, 12 Jan 2005 18:05:06 +0000 (18:05 +0000)]
* pinfo.cc (pinfo::exit): Don't assume that this == myself.
cagney [Wed, 12 Jan 2005 17:12:39 +0000 (17:12 +0000)]
Index: sh/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: mn10300/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: d10v/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: erc32/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: frv/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: h8300/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: m32r/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: mcore/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: mips/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: v850/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: common/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* common.m4: New file, based on of aclocal.m4.
Index: arm/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
cagney [Wed, 12 Jan 2005 16:23:11 +0000 (16:23 +0000)]
Index: m32r/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: m68hc11/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: mcore/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: mips/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: mn10300/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: ppc/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure.ac: Delete AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: sh/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: testsuite/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: v850/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: erc32/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: frv/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: h8300/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: igen/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure.ac: Delete AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: d10v/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: ChangeLog
2005-01-11 Andrew Cagney <cagney@gnu.org>
* Makefile.in (autoconf-common autoheader-common): Add --force to
autoconf and autoheader.
(autoconf-common autoheader-common)
(autoconf-install autoheader-install): Check for configure.ac, not
configure.in.
* configure.ac: Delete AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: arm/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: common/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* aclocal.m4 (SIM_AC_OUTPUT): Rewrite to use 2.59 macros.
* configure: Regenerated to track ../common/aclocal.m4 changes.
amodra [Wed, 12 Jan 2005 11:28:23 +0000 (11:28 +0000)]
include/elf/
* ppc.h (R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Define.
(R_PPC_RELAX32, R_PPC_RELAX32PC): Adjust value.
bfd/
* elf32-ppc.c (ppc_elf_howto_raw): Delete RELAX32* entries.
(ppc_elf_relax_section): Use PLT variants of RELAX32 relocs for
reaching PLT.
(ppc_elf_relocate_section): Handle R_PPC_RELAX32_PLT and
R_PPC_RELAX32PC_PLT.
nickc [Wed, 12 Jan 2005 10:57:12 +0000 (10:57 +0000)]
(s_iq2000_set): Fix thinko parsing ignored_arguments array.
dannysmith [Wed, 12 Jan 2005 09:08:11 +0000 (09:08 +0000)]
* include/tchar.h (_tfreopen): Add UNICODE mappings.
gdbadmin [Wed, 12 Jan 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
kkojima [Tue, 11 Jan 2005 23:55:14 +0000 (23:55 +0000)]
* ld-sh/shared-1.d: Update for changed dynamic syms.
* ld-sh/sh64/gotplt.d: Likewise.
* ld-sh/sh64/init-cmpct.d: Likewise.
* ld-sh/sh64/init-media.d: Likewise.
* ld-sh/sh64/init64.d: Likewise.
kettenis [Tue, 11 Jan 2005 23:04:31 +0000 (23:04 +0000)]
* config/i386/nm-fbsd.h: Update copyright year.
Don't include "config/nm-bsd.h".
(KERNEL_U_SIZE): Remove macro.
(kernel_u_size): Remove prototype.
phumblet [Tue, 11 Jan 2005 23:03:24 +0000 (23:03 +0000)]
2005-01-11 Pierre Humblet <pierre.humblet@ieee.org>
* mkpasswd.c (print_win_error): Transform into macro.
(_print_win_error): Upgrade former print_win_error by
printing the line.
(current_user): Call _print_win_error.
(enum_users): Print name in case of lookup failure.
(enum_local_groups): Ditto.
amodra [Tue, 11 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update
kettenis [Tue, 11 Jan 2005 22:24:37 +0000 (22:24 +0000)]
* config/vax/nbsdaout.mh (NAT_FILE): Remove.
* config/vax/nm-nbsdaout.h: Remove file.
dj [Tue, 11 Jan 2005 21:01:13 +0000 (21:01 +0000)]
merge from gcc
cgf [Tue, 11 Jan 2005 16:58:28 +0000 (16:58 +0000)]
* pinfo.cc (pinfo::init): Don't close input handle on temporary (?) failure.