Mark Kettenis
c4f2d4d74d
* sparc64-tdep.c (sparc64_store_arguments): Fix typo.
2005-01-16 20:08:20 +00:00
Mark Kettenis
80ad1639f7
* sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
2005-01-16 20:06:54 +00:00
Andrew Cagney
6212a5e9ad
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.
2005-01-16 19:51:51 +00:00
Mark Kettenis
936df4b3c3
* Makefile.in (sparc64fbsd-nat.o): Update dependencies.
...
* sparc64fbsd-nat.c: Update copyright year. Include "target.h".
2005-01-16 17:54:38 +00:00
gdbadmin
af42176667
*** empty log message ***
2005-01-16 00:00:33 +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
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
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
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
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
Michael Snyder
d3f1782188
2005-01-13 Michael Snyder <msnyder@redhat.com>
...
* gdbcmd.h: Whitespace tweaks.
2005-01-14 00:19:14 +00:00
Michael Snyder
308671566d
2005-01-13 Michael Snyder <msnyder@redhat.com>
...
* gdb-events[.c, .h, .sh]: Whitespace tweaks.
2005-01-14 00:16:53 +00:00
gdbadmin
7e171d1f5a
*** empty log message ***
2005-01-14 00:00:34 +00:00
Michael Snyder
de6854b507
2005-01-13 Michael Snyder <msnyder@redhat.com>
...
* corefile.c: Whitespace tweaks.
2005-01-13 23:56:25 +00:00
Michael Snyder
037174871a
2005-01-13 Michael Snyder <msnyder@redhat.com>
...
* completer.c: Whitespace tweaks.
2005-01-13 23:52:28 +00:00
Michael Snyder
9b5c5aad72
2005-01-13 Michael Snyder <msnyder@redhat.com>
...
* coff-solib.c: Whitespace tweaks.
* coff-solib.h: Whitespace tweaks.
2005-01-13 23:45:29 +00:00
Michael Snyder
30fdc99fa8
2005-01-13 Michael Snyder <msnyder@redhat.com>
...
* cli-out.c: Whitespace tweaks.
2005-01-13 23:39:40 +00:00
Michael Snyder
1272ad1410
2005-01-13 Michael Snyder <msnyder@redhat.com>
...
* breakpoint.c: Whitespace tweaks.
2005-01-13 23:35:54 +00:00
Michael Snyder
4791eb66b6
2005-01-13 Michael Snyder <msnyder@redhat.com>
...
* cli/cli-interp.c: Tweak comments, per coding standard.
2005-01-13 23:31:17 +00:00
Andrew Cagney
ce43223b29
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.
2005-01-13 22:08:27 +00:00
Andrew Cagney
f30f06b84e
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.
2005-01-13 18:15:02 +00:00
Andrew Cagney
c1043fc2c1
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".
2005-01-13 02:35:39 +00:00
Andrew Cagney
2a78bfb53c
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.
2005-01-13 00:12:50 +00:00
gdbadmin
cd0960cf4e
*** empty log message ***
2005-01-13 00:00:04 +00:00
Mark Kettenis
fa565c2b2d
* 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.
2005-01-12 21:54:13 +00:00
Mark Kettenis
82f5c14f4f
* 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.
2005-01-12 21:43:35 +00:00
Mark Kettenis
42a6e6a0ae
* 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.
2005-01-12 20:52:18 +00:00
Mark Kettenis
fbd1b305fd
* observer.texi (GDB Observers): Document "solib_loaded".
2005-01-12 20:48:08 +00:00
Mark Kettenis
8b1ca06271
* 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.
2005-01-12 20:36:59 +00:00
Andrew Cagney
db5f402d40
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.
2005-01-12 19:12:29 +00:00
Andrew Cagney
60250e8b18
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.
2005-01-12 18:31:35 +00:00
gdbadmin
5356adc8d2
*** empty log message ***
2005-01-12 00:00:03 +00:00
Mark Kettenis
eafc7eea75
* 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.
2005-01-11 23:04:33 +00:00
Mark Kettenis
ca14ead7e6
* config/vax/nbsdaout.mh (NAT_FILE): Remove.
...
* config/vax/nm-nbsdaout.h: Remove file.
2005-01-11 22:24:40 +00:00
Elena Zannoni
4a39d93429
2005-01-10 Elena Zannoni <ezannoni@redhat.com>
...
* MAINTAINERS: Remove self from sh/sh64 maintainership.
2005-01-11 03:54:35 +00:00
gdbadmin
11f66cb5b9
*** empty log message ***
2005-01-11 00:00:05 +00:00
Andrew Cagney
c4f9e2bfdc
2005-01-10 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
maintainer.
2005-01-10 23:38:36 +00:00
Andrew Cagney
6b71dd7440
2005-01-10 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
changes to CRIS.
2005-01-10 22:45:28 +00:00
Andrew Cagney
93f0f986af
2005-01-10 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
COMMIT means can approve).
2005-01-10 22:35:00 +00:00
Mark Kettenis
2a2de4ce73
* vax-nat.c: Update copyright year. Include "inf-ptrace.h".
...
(vax_register_u_offset): Make statuc.
(_initialize_vax_nat): Construct and add target vector.
* config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o. Add inf-ptrace.o.
* Makefile.in (vax-nat.o): Update dependencies.
2005-01-10 20:56:17 +00:00
Mark Kettenis
8785ced03a
* inf-ptrace.h: Update copyright year. Sync comment with
...
inf-ptrace.c.
(inf_ptrace_trad_target): New prototype.
* inf-ptrace.c: Update copyright year. Include "regcache.h" and
"gdb_assert.h"
(inf_ptrace_target): Add comment.
(inf_ptrace+register_u_offset): New variable.
(inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
(inf_ptrace_store_register, inf_ptrace_store_registers)
(inf_ptrace_trad_target): New functions.
* Makefile.in (inf-ptrace.o): Update dependencies.
2005-01-10 20:36:38 +00:00
Corinna Vinschen
4d074752ec
* gdb.base/fileio.c: Include unistd.h as required for lseek(2).
2005-01-10 15:58:23 +00:00
gdbadmin
f33e9acf1b
*** empty log message ***
2005-01-10 00:00:03 +00:00
Mark Kettenis
7cb9022a14
* configure.ac: Provide prerequisite headers when checking
...
<link.h>, <sys/proc.h> and <sys/user.h>.
* configure: Regenerate.
2005-01-09 18:02:50 +00:00
gdbadmin
4743eb5009
*** empty log message ***
2005-01-09 00:00:02 +00:00
gdbadmin
94f5f02e50
*** empty log message ***
2005-01-08 00:00:07 +00:00
Mark Kettenis
c534d64106
* config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
...
tm-ppc-eabi.h instead of the removed tm-nbsd.h.
2005-01-07 23:43:37 +00:00
Mark Kettenis
4b48ac2266
* config/ia64/tm-linux.h: Tweak comment. Update copyright year.
...
Don't include "tm-ia64.h".
* config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
* config/ia64/tm-ia64.h: Remove. Move contents ...
* ia64-tdep.h: ... here. Update copyright year.
2005-01-07 23:12:06 +00:00
Andrew Cagney
bec39cab00
Index: ChangeLog
...
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: doc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: gdbserver/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
* gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.stabs/configure: Re-generate.
* gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.hp/configure: Re-generate.
* gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.objdbg/configure: Re-generate.
* gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.defects/configure: Re-generate.
* gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.compat/configure: Re-generate.
* gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.base-hp/configure: Re-generate.
* gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.aCC/configure: Re-generate.
2005-01-07 21:53:26 +00:00
Andrew Cagney
e14ecb8f10
Index: ChangeLog
...
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
to configdirs.
2005-01-07 16:22:33 +00:00
Andrew Cagney
3ace7edba4
Index: ChangeLog
...
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.in: Replace configdirs with multiple references to
AC_CONFIG_SUBDIRS.
* configure: Re-generate.
Index: doc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.in: Replace configdirs with multiple references to
AC_CONFIG_SUBDIRS.
* configure: Re-generate.
2005-01-07 15:17:01 +00:00
gdbadmin
77690eeaa4
*** empty log message ***
2005-01-07 00:00:03 +00:00
gdbadmin
30841583d6
*** empty log message ***
2005-01-06 00:00:32 +00:00
Andreas Schwab
b33e851483
* ia64-tdep.c: Include "osabi.h".
...
(native_find_global_pointer): Delete.
(ia64_find_global_pointer): Renamed from
generic_elf_find_global_pointer.
(FIND_GLOBAL_POINTER): Delete. Change all users to call
ia64_find_global_pointer instead.
(ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
to ia64_linux_sigcontext_register_address and
ia64_linux_write_pc. Don't set tdep->find_global_pointer.
(_initialize_ia64_tdep): Call gdbarch_register instead of
deprecated register_gdbarch_init.
(struct gdbarch_tdep): Remove find_global_pointer field and move
to ...
* ia64-tdep.h (struct gdbarch_tdep): ... here.
(ia64_linux_sigcontext_register_address): Remove declaration.
(ia64_linux_getunwind_table): Likewise.
(ia64_linux_write_pc): Likewise.
* ia64-linux-tdep.c: Include "osabi.h".
(ia64_linux_sigcontext_register_address): Make static.
(ia64_linux_write_pc): Likewise.
(ia64_linux_init_abi): New.
(_initialize_ia64_linux_tdep): New.
* Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
$(osabi_h).
2005-01-05 22:51:47 +00:00
Kevin Buettner
0ea390ed3c
Eliminate ia64-aix-tdep.c.
2005-01-05 17:04:49 +00:00
Andrew Cagney
edefbb7cc7
2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
...
Committed by Andrew Cagney.
* ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
* alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
* amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
* arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
* armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
* aix-thread.c (_initialize_aix_thread): Get rid of the
deprecated_add_show_from_set call.
* alpha-tdep.c (_initialize_alpha_tdep): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* command.h (add_setshow_enum_cmd): Add arguments for returning
new list elements.
* cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Modify calls to
add_setshow_enum_cmd.
2005-01-05 15:43:50 +00:00
gdbadmin
e5554049c9
*** empty log message ***
2005-01-05 00:00:06 +00:00
Mark Kettenis
34cf199453
* configure.host (ia64-*-aix*): Remove.
...
* configure.tgt (ia64-*-aix*): Remove.
* config/ia64/aix.mh: Remove file.
* config/ia64/aix.mt: Remove file.
* config/ia64/tm-aix.h: Remove file.
* ia64-aix-nat.c: Remove file.
* Makefile.in (ia64-aix-nat.o): Remove dependency.
2005-01-04 22:59:45 +00:00
Mark Kettenis
a260932f9d
* config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
...
Add back inf-ptrace.o.
2005-01-04 20:41:24 +00:00
Andrew Cagney
5ed102a11f
2005-01-04 Andrew Cagney <cagney@gnu.org>
...
* version.in: Change format from 6.3.50_2005-01-04-cvs to
6.3.50.20050104-cvs.
2005-01-04 19:50:04 +00:00
Andrew Cagney
53531fc112
2005-01-04 Andrew Cagney <cagney@gnu.org>
...
* gdbint.texinfo (Versions and Branches): Make the date (YYYYMMDD)
part of the version number.
2005-01-04 19:25:46 +00:00
Andreas Schwab
3a63c4b7c3
* breakpoint.c (break_command_1): Always free err_msg before
...
returning when an exception was caught.
2005-01-04 13:31:46 +00:00
gdbadmin
54e7231f9e
*** empty log message ***
2005-01-04 00:00:05 +00:00
Andrew Cagney
151c5df673
2005.
2005-01-03 23:25:19 +00:00
gdbadmin
57a2933e72
*** empty log message ***
2005-01-03 00:00:38 +00:00
gdbadmin
97fca46524
*** empty log message ***
2005-01-02 00:00:04 +00:00
Joel Brobecker
e22b26cbff
* hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
...
in register number for addil instruction.
2005-01-01 12:28:21 +00:00
gdbadmin
8bcccff18f
*** empty log message ***
2005-01-01 00:00:04 +00:00
gdbadmin
e2c1bc70b1
*** empty log message ***
2004-12-31 00:00:33 +00:00
gdbadmin
1244e39887
*** empty log message ***
2004-12-30 00:00:34 +00:00
gdbadmin
e8d6fddf14
*** empty log message ***
2004-12-29 00:00:04 +00:00
Jim Blandy
3f9a994c5e
* remote.c (fetch_register_using_p): Recognize a register value
...
starting with 'x' as indicating an unfetchable register.
2004-12-28 09:06:10 +00:00
gdbadmin
7d2a4abafe
*** empty log message ***
2004-12-28 00:00:03 +00:00
Mark Kettenis
e0eee039ce
* config/mips/obsd64.mh (NATDEPFILES): Unwrap line.
2004-12-27 15:08:13 +00:00
gdbadmin
d274dd3683
*** empty log message ***
2004-12-27 00:00:33 +00:00
Mark Kettenis
c9591d9843
* inftarg.c (child_xfer_partial): Remove code that handles
...
TARGET_OBJ_WCOOKIE.
2004-12-26 23:24:26 +00:00
gdbadmin
aa0d59f223
*** empty log message ***
2004-12-26 00:00:33 +00:00
Mark Kettenis
4c4e409cd4
* inftarg.c (child_create_inferior) [HPUXHPPA]: Remove code.
2004-12-25 12:31:35 +00:00
Mark Kettenis
536ffdb7e1
* gdbint.texinfo (Algorithms): Remove description of
...
TARGET_DISABLE_HW_WATCHPOINTS and TARGET_ENABLE_HW_WATCHPOINTS.
2004-12-25 10:19:48 +00:00
gdbadmin
01f2a9c402
*** empty log message ***
2004-12-25 00:00:04 +00:00
Mark Kettenis
b4dc5ffa12
* target.h (TARGET_DISABLE_HW_WATCHPOINTS)
...
(TARGET_ENABLE_HW_WATCHPOINTS): Remove macros.
* infrun.c (struct execution_control_state): Remove
enable_hw_watchpoints_after_wait member.
(number_of_threads_in_syscalls): Remove variable.
(init_wait_for_inferior): Don't initialize
number_of_threads_in_syscalls.
(init_execution_control_state): Don't initialize
ECS->enable_hw_watchpoints_after_wait.
(handle_inferior_event): Never invoke TARGET_ENABLE_HW_WATCHPOINTS
or TARGET_DISABLE_HW_WATCHPOINTS.
2004-12-24 22:54:02 +00:00
Mark Kettenis
3d171c85e7
* i386-tdep.h (i386_collect_gregset): New prototype.
...
* i386-nto-tdep.c (i386_nto_target): Move variable. Add comment.
(i386nto_gregset_reg_offset): Rename frame regmap.
(nto_reg_offset): Tweak comment. Use ARRAY_SIZE.
(i386nto_supply_gregset): Implement using register set support.
(i386nto_supply_regset): Remove redundant comment.
(i386nto_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset.
* nto-tdep.c (fetch_core_registers): Remove function.
(regset_core_fns): Remove structure.
(_initialize_nto_tdep): Don't call deprecated_add_core_fns.
2004-12-24 14:45:32 +00:00
gdbadmin
b4c8d1433f
*** empty log message ***
2004-12-24 00:00:33 +00:00
Mark Kettenis
17ca283af2
* i386-nto-tdep.c: Reorder include files.
...
(i386nto_svr4_fetch_link_map_offsets): Remove function.
(init_i386nto_ops, i386nto_init_abi): Use
svr4_ilp32_fetch_link_map_offsets instead of
i386nto_svr4_fetch_link_map_offsets.
2004-12-23 22:34:23 +00:00
gdbadmin
f471f2e78b
*** empty log message ***
2004-12-23 00:00:04 +00:00
gdbadmin
15dafedca8
*** empty log message ***
2004-12-22 00:00:03 +00:00
Mark Kettenis
8f4e467cb1
* hppa-tdep.c (hppa_frame_prev_register_helper): Make 64-bit safe.
2004-12-21 22:50:54 +00:00
Mark Kettenis
9738b0348b
* hppa-tdep.c (hppa64_return_value): Fix previous commit.
2004-12-21 22:06:40 +00:00
Mark Kettenis
08a2711331
* hppa-tdep.c (hppa32_return_value): Move further down.
...
(hppa64_return_value): Re-implement.
2004-12-21 21:36:28 +00:00
Jim Blandy
8480adf25b
* remote.c (fetch_register_using_p): Fix formatting.
2004-12-21 21:24:56 +00:00
Paul N. Hilfinger
0b48a29120
* ada-lang.c (ada_print_subexp): Remove i18n markup from Ada code
...
output.
* ada-typeprint.c (ada_typedef_print): Ditto.
(print_unchecked_union_type): Ditto.
(print_record_type): Ditto, and correct output for non-derived
types that was inadvertently left off during the markup.
2004-12-21 10:03:55 +00:00
gdbadmin
5acea80106
*** empty log message ***
2004-12-21 00:00:33 +00:00
gdbadmin
12769ad22a
*** empty log message ***
2004-12-20 00:00:33 +00:00
Mark Kettenis
81092a3ee1
* hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence): Check
...
whether the name returned by find_pc_partial_function is a null
pointer, not whether it is an empty string.
2004-12-19 22:09:26 +00:00
Mark Kettenis
38ca4e0c24
* hppa-tdep.h (hppa_regnum): Add HPPA_DP_REGNUM, HPPA_RET0_REGNUM,
...
HPPA_RET1_REGNUM and HPPA64_FP4_REGNUM.
* hppa-tdep.c (hppa64_integral_or_pointer_p)
(hppa64_floating_p) New functions.
(hppa64_push_dummy_call): Re-implement.
(hppa32_register_type): Rename argument reg_nr to regnum.
(hppa64_register_type): Likewise. Use HPPA64_FP4_REGNUM instead
of HPPA_FP4_REGNUM.
(hppa32_cannot_store_register): Renamed from
hppa_cannot_store_register.
(hppa64_cannot_store_register): New function.
(hppa_gdbarch_init): Set cannot_store_register and
cannot_fetch_register to hppa32_cannot_store_register or
hppa64_cannot_store_register when appropriate.
2004-12-19 21:09:40 +00:00
gdbadmin
a94ab04713
*** empty log message ***
2004-12-19 00:00:02 +00:00
Mark Kettenis
87285d5bcb
* hppah-nat.c: Remove file.
...
* infttrace.h: Remove file.
* infttrace.c: Remove file.
* Makefile.in (ALLDEPFILES): Remove hppah-nat.c
(infttrace_h): Remove variable.
(hppah-nat.o, infttrace.o): Remove dependencies.
* configure.host (hppa*64*-*-hpux11*): Remove.
* config/pa/hpux11w.mh: Remove file.
* config/pa/nm-hppah.h: Remove file.
* config/pa/nm-hppah11.h: Remove file.
2004-12-18 17:36:33 +00:00
Mark Kettenis
70d1ae419f
* config/djgpp/fnchange.lst: Resolve name clash between
...
../bfd/elf32-arm.c and ../bfd/elf32-arc.c, i386-sol2-nat.c and
i386-sol2-tdep.c, mips64obsd-nat.c and mips64obsd-tdep.c,
testsuite/gdb.base/bitfields.c and
testsuite/gdb.base/bitfields2.c, testsuite/gdb.base/bitfields.exp
and testsuite/gdb.base/bitfields2.exp. Remove entry for
config/m88k/xm-delta88v4.h.
2004-12-18 14:53:39 +00:00
Mark Kettenis
d0ac9ef822
* solib-pa64.c: Only include <dlfcn.h>, <elf.h> and <elf_hp.h> if
...
PA_SOM_ONLY isn't defined.
2004-12-18 14:27:57 +00:00
Mark Kettenis
17fe2d6e13
* somread.c: Include "solib-som.h".
...
(som_symfile_init, som_new_init, som_symfile_read,
som_symfile_finish, som_symtab_read, som_symfile_offsets): Remove
redudant prototypes.
* Makefile.in (somread.o): Update dependencies.
2004-12-18 14:21:09 +00:00
gdbadmin
d29b835cdb
*** empty log message ***
2004-12-18 00:00:36 +00:00
Jim Blandy
1ee455f4ea
* remote.c (fetch_register_using_p): Indentation cleanup.
2004-12-17 22:19:51 +00:00
Randolph Chung
1c95a4acbf
2004-12-17 Randolph Chung <tausq@debian.org>
...
* hppa-hpux-tdep.c (setup_d_pid_in_inferior): Make static.
(find_stub_with_shl_get): Make static.
2004-12-17 19:21:20 +00:00
Randolph Chung
77d18ded6e
2004-12-17 Randolph Chung <tausq@debian.org>
...
* hppa-hpux-tdep.c (IS_32BIT_TARGET): New.
(in_opd_section): New.
(hppa32_hpux_find_global_pointer): Rename from
hppa_hpux_som_find_global_pointer.
(hppa64_hpux_find_global_pointer): New.
(ldsid_pattern): New.
(hppa_hpux_search_pattern): New.
(hppa32_hpux_search_dummy_call_sequence): New.
(hppa64_hpux_search_dummy_call_sequence): New.
(hppa_hpux_find_import_stub_for_addr): New.
(hppa_hpux_sr_for_addr): New.
(hppa_hpux_find_dummy_bpaddr): New.
(hppa_hpux_init_abi): Use IS_32BIT_TARGET predicate.
(hppa_hpux_som_init_abi): Set find_global_pointer method to
hppa32_hpux_find_global_pointer instead of
hppa_hpux_som_find_global_pointer.
(hppa_hpux_elf_init_abi): Set find_global_pointer method.
* hppa-tdep.c (hppa_init_objfile_priv_data): New.
(read_unwind_info): Use function to initialize objfile-private data.
(hppa32_push_dummy_call): Don't automatically set the RP if there is
a push_dummy_code method.
(hppa64_push_dummy_call): Retrieve and set the global pointer.
Don't automatically set the RP if there is a push_dummy_code method.
* hppa-tdep.h (hppa_objfile_private): Add dummy_call_sequence_reg and
dummy_call_sequence_addr members.
(hppa_init_objfile_priv_data): New prototype.
2004-12-17 19:09:53 +00:00
Joel Brobecker
ff644745cd
* hppa-tdep.c (hppa_lookup_stub_minimal_symbol): New function.
...
* hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Add declaration.
* solib-som.c (som_solib_create_inferior_hook): Replace stub
msymbol search by call to hppa_lookup_stub_minimal_symbol. This
extends the search to all objfiles, not just shared libraries.
Remove unused variable.
2004-12-17 07:42:48 +00:00
gdbadmin
bca22fde58
*** empty log message ***
2004-12-17 00:00:09 +00:00
Michael Snyder
5260ca71c4
2004-12-16 Michael Snyder <msnyder@redhat.com>
...
* MAINTAINERS: Add myself as maintainer for mn10300.
* NEWS: Mention mn10300.
2004-12-16 23:53:12 +00:00
gdbadmin
120398a2fc
*** empty log message ***
2004-12-16 00:00:02 +00:00
Kevin Buettner
28fe5f6afd
* xstormy16-tdep.c (xstormy16_skip_prologue): Clear/initialize the
...
frame cache.
2004-12-15 22:45:39 +00:00
Jim Blandy
f10b16d41f
* gdb.threads/linux-dp.exp: Fix output regexp to handle output
...
under NPTL when there is debugging info available for libpthread.
2004-12-15 18:28:54 +00:00
gdbadmin
deaac1f7e7
*** empty log message ***
2004-12-15 00:00:38 +00:00
Randolph Chung
1fb249302e
2004-12-14 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa_in_function_epilogue_p): New function.
(hppa_gdbarch_init): Set in_epilogue_p method.
2004-12-14 16:35:37 +00:00
Corinna Vinschen
3ffc5b9b5b
* sh-tdep.c (sh_extract_return_value_nofpu): Rename from
...
sh_default_extract_return_value.
(sh_extract_return_value_fpu): Rename from
sh3e_sh4_extract_return_value.
(sh_store_return_value_nofpu): Rename from
sh_default_store_return_value.
(sh_store_return_value_fpu): Rename from sh3e_sh4_store_return_value.
(sh_return_value_nofpu): Accomodate above changes.
(sh_return_value_fpu): Ditto.
2004-12-14 15:40:17 +00:00
gdbadmin
4446463b16
*** empty log message ***
2004-12-14 00:00:04 +00:00
Jerome Guitton
fb6e181400
* gdb.ada/fixed_points.c: New file.
...
* gdb.ada/fixed_points.exp: New file.
2004-12-13 16:04:20 +00:00
Jerome Guitton
94e10a2220
* stabsread.c (read_huge_number): Add support for reading octal
...
signed number in twos complement, based on the size of this
number.
(read_range_type): Add support for reading octal signed bounds
in twos complements, based on the size of the type.
(read_type_number, read_cpp_abbrev, read_member_functions,
read_cpp_abbrev, read_one_struct_field, read_baseclasses,
read_struct_type, read_array_type, read_enum_type,
read_sun_builtin_type, read_sun_floating_type): Update calls to
read_huge_number.
(read_type): Update call to read_range_type.
2004-12-13 15:56:47 +00:00
Randolph Chung
61aff869b9
2004-12-13 Randolph Chung <tausq@debian.org>
...
* hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call
solib_get_solib_by_pc method through target vector.
(hppa_hpux_som_find_global_pointer): Call solib_get_got_by_pc
method through target vector.
2004-12-13 08:47:07 +00:00
Randolph Chung
4bb7a26649
2004-12-13 Randolph Chung <tausq@debian.org>
...
* hppa-hpux-tdep.c (internalize_hp_cxx_exception_support): Call
solib_get_solib_by_pc method through target vector.
2004-12-13 08:43:17 +00:00
Joel Brobecker
3ddae2db59
Correct date in last entry.
2004-12-13 05:10:16 +00:00
Joel Brobecker
a99b228b02
* alpha-osf1-tdep.c (alpha_osf1_sigcontext_addr): Change
...
parameter name to make it clear that we already have a next
frame. Return the sigcontext from that next frame instead
of the frame following it.
2004-12-13 05:07:23 +00:00
Randolph Chung
acf86d5407
2004-12-13 Randolph Chung <tausq@debian.org>
...
* Makefile.in (pa64solib_h, somsolib_h): Delete.
(solib_pa64_h, solib_som_h): New.
(HFILES_NO_SRCDIR, ALLDEPFILES): Replace somsolib.h with solib-som.h.
(hppa-hpux-tdep.o, hpread.o): Update dependencies.
(pa64solib.o, somsolib.o): Delete.
(solib-pa64.o, solib-som.o): New.
* hppa-hpux-tdep.c: Include new solib interfaces.
(hppa_hpux_som_init_abi): Attach to SOM solib interface.
(hppa_hpux_elf_init_abi): Attach to PA64 ELF solib interface.
* hppa-tdep.c (internalize_unwinds): If solib_get_text_base method
is available, use it to determine the base of unwind records.
* hppa-tdep.h (gdbarch_tdep): Add new solib methods.
* hpread.c: Replace somsolib.h with solib-som.h.
(hpread_process_one_debug_symbol): Use target vector to get thread
start address.
* config/pa/hppa64.mt (TDEPFILES): Use new solib interface.
* config/pa/hppahpux.mt (TDEPFILES): Likewise.
* config/pa/hpux.mh (NATDEPFILES): Delete references to target objects.
* config/pa/tm-hppah.h: Use new solib interface.
2004-12-13 04:06:16 +00:00
Randolph Chung
0efcf9dce5
2004-12-13 Randolph Chung <tausq@debian.org>
...
* tramp-frame.c (tramp_frame_sniffer): Allow frames with names or
sections to be trampolines too.
2004-12-13 03:38:23 +00:00
gdbadmin
44548205b4
*** empty log message ***
2004-12-13 00:00:33 +00:00
Ben Elliston
048a01af27
* f-exp.y (typename): Remove unused nonterminal.
...
(name): Likewise.
2004-12-12 21:48:55 +00:00
Andrew Cagney
323e0a4a75
2004-11-27 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
...
Committed by Andrw Cagney.
* abug-rom.c, ada-lang.c, ada-typeprint.c, alpha-tdep.c: i18n
markup.
2004-12-12 17:06:26 +00:00
Andrew Cagney
39ee2ff0da
2004-12-12 Andrew Cagney <cagney@gnu.org>
...
* frame.c (get_prev_frame): When unwinding normal frames, check
that the PC isn't zero.
* hppa-tdep.c (hppa_stub_frame_unwind_cache): Delete check for a
zero PC.
2004-12-12 16:26:17 +00:00
Andrew Cagney
91a533d47b
2004-12-12 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: Reword description of what "Target Instruction Set
Architectures" covers.
2004-12-12 15:31:36 +00:00
Mark Kettenis
0d9b270c62
* hppa-hpux-nat.c (hppa_hpux_child_can_run): Tweak comment.
2004-12-12 13:51:55 +00:00
gdbadmin
c2d8244d21
*** empty log message ***
2004-12-12 00:00:32 +00:00
Mark Kettenis
eeca586fd4
* hppa-hpux-nat.c (ss_mpsfu_high): Remove define.
...
(hppa_hpux_save_state_offset): New function, replacing variable
with the same name.
(hppa_cannot_fetch_register, hppa_cannot_store_register): Remove
functions.
(hppa_hpux_fetch_register): Don't call hppa_cannot_fetch_register.
Use new hppa_hpux_save_state_offset function. Add special
handling for handling 64-bit "flags" register.
(hppa_hpux_store_register): Likewise.
(hppa_hpux_child_can_run): Tweak comment.
2004-12-11 23:04:58 +00:00
Mark Kettenis
7ba0e0c29a
* inf-ttrace.c (inf_ttrace_him): Set TTEVT_BPT_SSTEP if available.
...
(inf_ttrace_attach): Likewise.
(inf_ttrace_resume_callback): New function.
(inf_ttrace_resume): Don't use TT_PROC_CONTINUE. Iterate over all
lwps and call inf_ttrace_resume_callback instead.
(inf_ttrace_wait): Handle TTEVT_BPT_SSTEP.
2004-12-11 21:53:58 +00:00
Mark Kettenis
d3322e8a42
* inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile.
2004-12-11 16:49:26 +00:00
Mark Kettenis
58544210ca
Wrap long line.
2004-12-11 16:44:23 +00:00
Michael Snyder
e02147b10c
2004-12-10 Michael Snyder <msnyder@redhat.com>
...
* mn10300-tdep.c: New file. This is a re-implementation of
the mn10300 target back-end using the new frame api etc.
* mn10300-tdep.h: New file.
* config/mn10300/mn10300.mt: New file (or replace old file).
* configure.tgt: Add mn10300 target.
2004-12-11 02:02:01 +00:00
gdbadmin
15ff3443d9
*** empty log message ***
2004-12-11 00:00:36 +00:00
Mark Kettenis
c510157568
* configure.host (hppa*-*-hpux11*): Remove.
...
* config/pa/hpux11.mh: Remove file.
2004-12-10 20:06:31 +00:00
Mark Kettenis
01926a6935
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Fix
...
typo.
2004-12-10 15:48:21 +00:00
Kris Warkentin
d737fd7f91
* nto-tdep.h: Include osabi.h. Prototypes for generic Neutrino
...
osabi sniffer, signal handling initializer, 'in_dynsym_resolve_code'
function and nto_set_target function.
(struct nto_target_ops): Put comments inline with struct. Add osabi
sniffer hook. Redefine macros to permit testing/assignment. Remove
nto_ prefix from members.
* nto-tdep.c (nto_find_and_open_solib): Allocate all buffers
dynamically to support arbitrary root paths. Check for basename of
lib in search path and then check for absolute.
(nto_in_dynsym_resolve_code): New function.
(nto_core_sniffer): New function.
(regset_core_fns): Register core sniffer.
(nto_initialize_signals): New function.
(_initialize_nto_tdep): Move signal initialization code to above to
avoid initialization race conditions.
(nto_set_target): New function.
* nto-procfs.c: Minor formatting/indenting changes.
(procfs_is_nto_target): New function.
(procfs_open): Set nto_is_nto_target.
(_initialize_procfs): Ditto. Remove notice_signals() call to avoid
initialization race conditions.
(procfs_create_inferior): Resume inferior after creation.
* i386-nto-tdep.c: Declare i386_nto_target.
(init_i386nto_ops): Initialize i386_nto_target instead of
current_nto_target.
(i386nto_init_abi): Initialize signals. Call nto_set_target. Set
TARGET_SO_IN_DYNSYM_RESOLVE_CODE.
(_initialize_i386nto_tdep): Call init_i386nto_ops. Register osabi sniffer.
2004-12-10 13:38:23 +00:00
Mark Kettenis
3cd36e7c72
* hppa-hpux-tdep.c (child_enable_exception_callback): Use XMALLOC.
...
(hppa_hpux_sigtramp_frame_unwind_cache): Use ARRAY_SIZE.
(hppa_hpux_init_abi): Reformat long line.
2004-12-10 10:45:33 +00:00
Mark Kettenis
08d5305588
* hppa-hpux-tdep.c: Include "regset.h".
...
(HPPA_HPUX_SS_WIDEREGS, HPPA_HPUX_SS_FLAGS_OFFSET)
(HPPA_HPUX_SS_NARROW_OFFSET, HPPA_HPUX_SS_FPBLOCK_OFFSET)
(HPPA_HPUX_SS_WIDE_OFFSET, HPPA_HPUX_SAVE_STATE_SIZE)
(HPPA_HPUX_PA89_SAVE_STATE_SIZE): New defines.
(hppa_hpux_supply_ss_narrow, hppa_hpux_supply_ss_fpblock)
(hppa_hpux_supply_ss_wide, hppa_hpux_supply_save_state): New
functions.
(hppa_hpux_regset): New variable.
(hppa_hpux_regset_from_core_section): New function.
(hppa_hpux_init_abi): Set regset_from_core_section.
(hppa_hpux_core_osabi_sniffer): New function.
(_initialize_hppa_hpux_tdep): Register
hppa_hpux_core_osabi_sniffer.
* Makefile.in (hppa-hpux-tdep.o): Update dependencies.
* config/pa/hppahpux.mt (TDEPFILES): Add corelow.o.
2004-12-10 09:42:10 +00:00
gdbadmin
5922e7530e
*** empty log message ***
2004-12-10 00:00:33 +00:00
Randolph Chung
45851e004a
2004-12-09 Randolph Chung <tausq@debian.org>
...
* solib-pa64.c (pa64_relocate_section_addresses): Properly relocate
text and data sections.
(pa64_current_sos): Also include the dld in the list of current shared
objects.
(pa64_solib_get_solib_by_pc): Update comments.
(pa64_solib_get_text_base): New function.
(pa64_solib_select): Set solib_get_text_base method.
2004-12-09 17:58:04 +00:00
gdbadmin
1626ace5e4
*** empty log message ***
2004-12-09 00:00:32 +00:00
Daniel Jacobowitz
434c4c7751
* acinclude.m4 (SRV_CHECK_THREAD_DB): Add ps_get_thread_area. Reset
...
LIBS when finished.
* aclocal.m4: Regenerated.
* configure: Regenerated.
2004-12-08 15:50:29 +00:00
Daniel Jacobowitz
1bac0d4d5f
* linux-thread-db.c (BUILD_THREAD): Delete.
...
(thread_get_info_callback): Include LWP ID in thread ID.
(thread_from_lwp, check_event, find_new_threads_callback): Likewise.
(lwp_from_thread): Use the LWP ID from the thread ID.
2004-12-08 15:10:30 +00:00
Randolph Chung
254ce0a11f
2004-12-07 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa_frame_prev_register_helper): Zero out the entire
register for both 32- and 64-bit targets.
2004-12-08 06:12:40 +00:00
Jim Blandy
e1aac25bcf
* gdb.texinfo (General Query Packets): Specify that thread ID's in
...
the 'qC' and 'qThreadInfo' packets are unsigned hexidecimal
numbers.
2004-12-08 05:28:31 +00:00
Randolph Chung
cc9bed8396
2004-12-07 Randolph Chung <tausq@debian.org>
...
* frame.c (get_prev_frame): Don't terminate unwinding at main if we
are unwinding through a dummy frame.
2004-12-08 01:56:16 +00:00
Randolph Chung
f77a2124d6
2004-12-07 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.h (gdbarch_tdep): Add unwind_adjust_stub method.
* hppa-hpux-tdep.c (hppa_hpux_unwind_adjust_stub): New function.
(hppa_hpux_init_abi) Set unwind_adjust_stub method.
* hppa-tdep.c (hppa_frame_cache): Call unwind_adjust_stub method
if defined.
2004-12-08 01:48:03 +00:00
Randolph Chung
f1b38a5791
2004-12-07 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa_stub_Frame_unwind_cache): Stop unwinding if
unwinding from a frame with pc == 0.
(hppa_stub_frame_this_id): Likewise.
(hppa_stub_frame_prev_register): Only provide real values if the frame
cache is not NULL.
2004-12-08 01:44:02 +00:00
Randolph Chung
419b8bfb23
2004-12-07 Randolph Chung <tausq@debian.org>
...
* solib-som.c: New file.
* solib-som.h: New file.
* solib-pa64.c: New file.
* solib-pa64.h: New file.
2004-12-08 01:36:42 +00:00
gdbadmin
52e8304c2f
*** empty log message ***
2004-12-08 00:00:04 +00:00
Mark Kettenis
6e93c4f78b
* Makefile.in (inf-ttrace.o): Fix typo.
2004-12-07 22:17:59 +00:00
Jim Blandy
c273b20f14
* remote.c (remote_threads_info, remote_current_thread): Use
...
strtoul to parse thread ID numbers.
2004-12-07 20:21:32 +00:00
Mark Kettenis
a7be7fa8ef
* inf-ttrace.c: Include "gdbthread.h".
...
(inf_ttrace_num_lwps): New variable.
(inf_ttrace_num_lwps_in_syscall): Renamed from
inf_ttrace_num_threads_in_syscall.
(inf_ttrace_him): Track TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and
TTEVT_LWP_TERMINATE events.
(inf_ttrace_create_inferior): Assert that INF_TTRACE_NUM_LWPS is
zero.
(inf_ttrace_mourn_inferior): Set INF_TTRACE_NUM_LWPS to zero.
(inf_ttrace_attach): Assert that INF_TTRACE_NUM_LWPS is zero.
Track TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE
events.
(inf_ttrace_wait): Report status as TARGET_WAITKIND_SPURIOUS by
default. Handle TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and
TTEVT_LWP_TERMINATE events.
(inf_ttrace_thread_alive, inf_ttrace_pid_to_str): New functions.
(inf_ttrace_target): Set to_thread_alive and to_pid_to_str.
* Makefile.in (inf-ttrace.o): Update dependencies.
2004-12-07 19:57:21 +00:00
Mark Kettenis
cc72850f95
* hppa-tdep.h (hppa_read_pc, hppa_write_pc, hppa_unwind_pc): New
...
prototypes.
* hppa-tdep.c (hppa_read_pc): Rename from hppa_target_read_pc.
Make global. Remove HP-UX specific code. Use
frame_unwind_register_unsigned instead of
frame_unwind_register_signed.
(hppa_write_pc): Rename from hppa_target_write_pc. Make global.
Remove HP-UX specific code.
(hppa_unwind_pc): Make global. Remove HP-UX specific code.
(hppa_frame_prev_register_helper): Set "flags" register to zero
for all unwound frames.
(hppa_gdbarch_init): Adjust.
* hppa-hpux-tdep.c (HPPA_HPUX_SS_INSYSCALL): New define.
(hppa_hpux_read_pc, hppa_hpux_write_pc)
(hppa_hpux_unwind_pc): New functions.
(hppa_hpux_init_abi): Set read_pc, write_pc and unwind_pc.
2004-12-07 18:04:11 +00:00
Andreas Schwab
f47b15032f
* main.c (long_options): Add entry for "-l".
...
(print_gdb_help): Add line for -l option.
* NEWS: Mention it.
doc/
* gdb.texinfo (Mode Options): Document -l option.
2004-12-07 11:06:04 +00:00
gdbadmin
64f8573442
*** empty log message ***
2004-12-07 00:00:34 +00:00
Randolph Chung
c1299d67f5
2004-12-05 Randolph Chung <tausq@debian.org>
...
* hppah-nat.c (store_inferior_registers): Rewrite logic to not use
DEPRECATED_REGISTER_BYTE.
2004-12-06 03:36:38 +00:00
Randolph Chung
57dac9e17d
2004-12-05 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (unwind_command): Print the stub type for stub unwind
records.
2004-12-06 03:32:26 +00:00
gdbadmin
e940c538cd
*** empty log message ***
2004-12-06 00:00:33 +00:00
Mark Kettenis
a61ce9b40d
Oops.
2004-12-05 20:05:32 +00:00
Mark Kettenis
792432a57f
* somsolib.c [PA_SOM_ONLY] (no_shared_libraries): New function.
...
* config/pa/hppahpux.mt (TDEPFILES): Remove solib.o.
2004-12-05 19:41:37 +00:00