Commit Graph

46835 Commits

Author SHA1 Message Date
Danny Smith a0ce7f12db * 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.
2005-01-16 09:25:06 +00:00
Danny Smith a880c7485c * defilep.y (def_name, def_library): Combine into...
(def_image_name): New function.  Strip name to basename,
	with warning.
2005-01-16 09:18:35 +00:00
gdbadmin af42176667 *** empty log message *** 2005-01-16 00:00:33 +00:00
Alan Modra 5bd605a683 daily update 2005-01-15 23:00:06 +00:00
Andrew Cagney 85981d605a 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.
2005-01-15 20:32:43 +00:00
Andrew Cagney 8fb84ecc44 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.
2005-01-15 19:14:54 +00:00
Andrew Cagney 5a14cc1abc 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.
2005-01-15 18:59:43 +00:00
Andrew Cagney 3af1e0e300 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.
2005-01-15 06:03:34 +00:00
Andrew Cagney e48f5bee49 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.
2005-01-15 05:16:15 +00:00
Andrew Cagney c6da7a6d7d 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.
2005-01-15 04:31:10 +00:00
Andrew Cagney d05559016d 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.
2005-01-15 02:33:19 +00:00
Jeff Johnston 949df321ec 2005-01-14 Jeff Johnston <jjohnstn@redhat.com>
* ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
2005-01-15 00:10:02 +00:00
gdbadmin aa23c537d8 *** empty log message *** 2005-01-15 00:00:36 +00:00
Andrew Cagney 1c3c7ee7fb 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.
2005-01-14 23:27:14 +00:00
Alan Modra f304d6ec50 daily update 2005-01-14 23:00:06 +00:00
Andrew Cagney 9cbc821d4e 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.
2005-01-14 22:59:36 +00:00
H.J. Lu df227444e2 2005-01-14 H.J. Lu <hongjiu.lu@intel.com>
PR 659
	* config/tc-i386.c (i386_scale): Disallow 0 scale.
2005-01-14 22:10:55 +00:00
Andrew Cagney 22e9b0f12e 2005-01-14 Andrew Cagney <cagney@gnu.org>
* utils.c (error_output_message): Delete function.
	* defs.h (error_output_message): Delete declaration.
2005-01-14 21:34:36 +00:00
Andrew Cagney 05ff989b0b 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.
2005-01-14 20:24:20 +00:00
Andrew Cagney 35695fd6e5 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.
2005-01-14 20:05:48 +00:00
Andrew Cagney 8a076db965 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.
2005-01-14 18:55:33 +00:00
Andrew Cagney bc8332bb44 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.
2005-01-14 18:17:20 +00:00
Michael Snyder 4e18e2de1e 2005-01-13 Michael Snyder <msnyder@redhat.com>
* cli/cli-decode.h: Whitespace tweaks.
2005-01-14 04:41:36 +00:00
Michael Snyder ca0b4d12c7 2005-01-13 Michael Snyder <msnyder@redhat.com>
* wince.c: Whitespace tweaks.
2005-01-14 04:33:08 +00:00
Michael Snyder 887a3a14e2 2005-01-13 Michael Snyder <msnyder@redhat.com>
* uw-thread.c: Whitespace tweaks.
2005-01-14 04:03:02 +00:00
Michael Snyder 0a4a0819f3 2005-01-13 Michael Snyder <msnyder@redhat.com>
* utils.c: Whitespace tweaks.
2005-01-14 04:01:37 +00:00
Michael Snyder 3636de8b48 2005-01-13 Michael Snyder <msnyder@redhat.com>
* solist.h: Whitespace tweaks.
2005-01-14 04:00:06 +00:00
Michael Snyder d183932d0a 2005-01-13 Michael Snyder <msnyder@redhat.com>
* tracepoint.[ch]: Whitespace tweaks.
2005-01-14 03:59:19 +00:00
Michael Snyder 318965d7c1 2005-01-13 Michael Snyder <msnyder@redhat.com>
* somsolib.[ch]: Whitespace tweaks.
2005-01-14 03:12:43 +00:00
Andrew Cagney 79e714b42a Fix ChangeLog foobar. 2005-01-14 02:35:06 +00:00
Andrew Cagney b315da3853 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.
2005-01-14 02:33:24 +00:00
Michael Snyder cbd3c883c0 2005-01-13 Michael Snyder <msnyder@redhat.com>
* stack.c: Whitespace tweaks.
2005-01-14 02:32:25 +00:00
Michael Snyder 7095b86368 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.
2005-01-14 02:04:02 +00:00
Michael Snyder 2c1ab59266 2005-01-13 Michael Snyder <msnyder@redhat.com>
* ser-tcp.c: Whitespace tweaks.
	* ser-unix.c: Whitespace tweaks.
	* serial.h: Whitespace tweaks.
2005-01-14 01:59:20 +00:00
Michael Snyder 41ccc9f609 2005-01-13 Michael Snyder <msnyder@redhat.com>
* scm-valprint.c: Whitespace tweaks.
2005-01-14 01:57:03 +00:00
Michael Snyder 2ec664f5c4 2005-01-13 Michael Snyder <msnyder@redhat.com>
* rs6000-nat.c: Whitespace tweaks.
2005-01-14 01:54:49 +00:00
Michael Snyder 238603485f 2005-01-13 Michael Snyder <msnyder@redhat.com>
* remote.c: Whitespace tweaks.
2005-01-14 01:46:08 +00:00
Andrew Cagney 6b1b7650d1 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.
2005-01-14 01:20:38 +00:00
Michael Snyder 90c065fb13 2005-01-13 Michael Snyder <msnyder@redhat.com>
* remote-st.c: Whitespace tweaks.
2005-01-14 01:08:21 +00:00
Michael Snyder 8a0ce09a33 2005-01-13 Michael Snyder <msnyder@redhat.com>
* remote-sim.c: Whitespace tweaks.
2005-01-14 01:05:37 +00:00
Michael Snyder 1fa79fac02 2005-01-13 Michael Snyder <msnyder@redhat.com>
* remote-mips.c: Whitespace tweaks.
2005-01-14 01:03:41 +00:00
Michael Snyder beda959798 2005-01-13 Michael Snyder <msnyder@redhat.com>
* pa64solib.[ch]: Whitespace tweaks.
2005-01-14 01:01:34 +00:00
Michael Snyder 28397f5986 2005-01-13 Michael Snyder <msnyder@redhat.com>
* mdebugread.c: Whitespace tweaks.
2005-01-14 00:59:32 +00:00
Michael Snyder ba5e7e8df2 2005-01-13 Michael Snyder <msnyder@redhat.com>
* main.c: Whitespace tweaks.
2005-01-14 00:58:15 +00:00
Michael Snyder 907d819a05 2005-01-13 Michael Snyder <msnyder@redhat.com>
* interps.c: Whitespace tweaks.
2005-01-14 00:55:36 +00:00
Michael Snyder 9d1ff73f7b 2005-01-13 Michael Snyder <msnyder@redhat.com>
* infrun.c: Whitespace tweaks.
2005-01-14 00:51:43 +00:00
Michael Snyder 1f5d0fc991 2005-01-13 Michael Snyder <msnyder@redhat.com>
* infcmd.c: Whitespace tweaks.
2005-01-14 00:48:32 +00:00
Michael Snyder d9788fe8ba 2005-01-13 Michael Snyder <msnyder@redhat.com>
* hpux-thread.c: Whitespace tweaks.
2005-01-14 00:25:00 +00:00
Michael Snyder 3b95120005 2005-01-13 Michael Snyder <msnyder@redhat.com>
* hppa-hpux-tdep.c: Whitespace tweaks.
2005-01-14 00:23:41 +00:00
Michael Snyder 3a9a986fbf 2005-01-13 Michael Snyder <msnyder@redhat.com>
* gdbcore.h: Whitespace tweaks.
2005-01-14 00:21:19 +00:00