Corinna Vinschen
47216e5118
* win32-nat.c (child_pid_to_exec_file): New function.
...
(init_child_ops): Add child_pid_to_exec_file as to_pid_to_exec_file
functionality.
2004-06-29 15:37:31 +00:00
Andrew Cagney
f03b584349
fix scrambled changelog
2004-06-29 15:22:28 +00:00
Andrew Cagney
e623b5041f
2004-06-28 Andrew Cagney <cagney@gnu.org>
...
* defs.h (xstrvprintf): Declare.
* utils.c (xstrvprintf): New function.
(internal_vproblem, xstrprintf, xasprintf)
(vfprintf_maybe_filtered, vfprintf_unfiltered): Use xstrvprintf.
* serial.c (serial_printf): Ditto.
* complaints.c (vcomplaint): Ditto.
2004-06-29 14:57:39 +00:00
Corinna Vinschen
79acc9b3cc
* infcmd.c (attach_command): Move call to target_terminal_inferior
...
behind loading symbol table.
2004-06-29 06:39:06 +00:00
Corinna Vinschen
cc98411666
* gdb.base/bigcore.exp: Skip test on Cygwin.
2004-06-29 06:34:50 +00:00
Andrew Cagney
1daf35d984
2004-06-28 Andrew Cagney <cagney@gnu.org>
...
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Revert 2004-06-24
change - add back extern deprecated_ui_loop_hook declaration.
2004-06-29 01:01:32 +00:00
gdbadmin
37ab888827
*** empty log message ***
2004-06-29 00:00:03 +00:00
Andrew Cagney
b435e160dd
2004-06-26 Andrew Cagney <cagney@gnu.org>
...
* xcoffsolib.c (xcoff_solib_address): Replace xasprintf with
xstrprintf.
* varobj.c (varobj_gen_name, create_child, c_name_of_child)
(c_value_of_variable): Ditto.
* utils.c (internal_vproblem): Ditto.
* solib-aix5.c (build_so_list_from_mapfile): Ditto.
* remote.c (add_packet_config_cmd): Ditto.
* remote-rdp.c (rdp_set_command_line): Ditto.
* regcache.c (regcache_dump): Ditto.
* frv-tdep.c (new_variant, new_variant): Ditto.
* fbsd-proc.c (child_pid_to_exec_file): Ditto.
(fbsd_find_memory_regions): Ditto.
* breakpoint.c (create_thread_event_breakpoint)
(create_breakpoints): Ditto.
* aix-thread.c (aix_thread_pid_to_str): Ditto.
* ada-lang.c (is_package_name): Ditto. Also delete xmalloc call.
Index: doc/ChangeLog
2004-06-26 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Coding): Replace xasprintf with xstrprintf.
2004-06-28 23:59:29 +00:00
Joel Brobecker
06d5cf63af
* ada-lang.c: Re-indent file, with some massaging to help indent
...
a bit when the result is otherwise really too ugly.
2004-06-28 18:59:14 +00:00
Michael Chastain
c279b077e0
2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
formats for "info register". Use gdb_test_multiple. Fix
the "invalid register" test.
2004-06-28 18:19:47 +00:00
Corinna Vinschen
0e9157473d
* gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
...
PID for Cygwin. Add Cygwin specific strings to check for in some
tests.
(do_attach_tests): Add a test for user interaction when attaching
to a process with no matching symbol table already loaded.
2004-06-28 11:15:31 +00:00
gdbadmin
b2cc3700eb
*** empty log message ***
2004-06-28 00:00:02 +00:00
Ulrich Weigand
35809fad09
* frame.h (struct frame_id): Change bit field type of stack_addr_p,
...
code_addr_p and special_addr_p to 'unsigned int'.
2004-06-27 22:26:34 +00:00
Mark Kettenis
40e2047218
* i386v4-nat.c: Update copyright year and tweak comment.
...
(regmap): Remove trailing comma.
(supply_gregset): Rename local variable i to regnum. Call
regcache_raw_supply instead of supply_register.
(fill_gregset): Rename argument regno to regnum. Call
regcache_raw_collect instead of regcache_collect.
2004-06-27 21:52:21 +00:00
Ulrich Weigand
12b0b6deed
* frame.h (struct frame_id): New fields stack_addr_p, code_addr_p
...
and special_addr_p.
(frame_id_build, frame_id_build_special): Update comments.
(frame_id_build_wild): New prototype.
* frame.c (frame_id_build, frame_id_build_special): Fill in new
struct frame_id fields.
(frame_id_build_wild): New function.
(frame_id_eq, frame_id_inner): Use new struct frame_id fields.
2004-06-27 20:45:05 +00:00
Mark Kettenis
47b42a3eac
* config/djgpp/fnchange.lst: Add entries for hppabsd-nat.c and
...
hppabsd-tdep.c.
2004-06-27 20:37:36 +00:00
Joel Brobecker
1265e4aaa2
* ada-lang.c: Minor reformatting to conform to GNU coding standards.
2004-06-27 19:28:20 +00:00
Joel Brobecker
76a01679f8
* ada-lang.c: Re-indent file.
2004-06-27 19:06:23 +00:00
Joel Brobecker
7aca490a78
* ada-lang.c (symtab_symbol_info): Remove unused declaration.
...
(no_symtab_msg): Likewise.
2004-06-27 18:55:48 +00:00
Andreas Schwab
5e9879684c
* source.c: Fix whitespace.
2004-06-27 18:36:15 +00:00
Mark Kettenis
d15be92637
* configure.in: Include <sys/param.h> for td_pcb test.
...
* configure: Regenerated.
2004-06-27 16:41:21 +00:00
Mark Kettenis
9062529b14
* i386nbsd-nat.c: New file.
...
* Makefile.in (ALLDEPFILES): Add i386nbsd-nat.c, i386nbsd-tdep.c,
i386obsd-nat.c and i386obsd-tdep.c.
(i386nbsd-nat.o): New dependency.
* config/i386/obsd.mh (NATDEPFILES): Add i386nbsd-nat.o and
bsd-kvm.o.
(LOADLIBES): New variable.
* config/i386/nbsdelf.mh (NATDEPFILES): Add i386nbsd-nat.o and
bsd-kvm.o.
(LOADLIBES): New variable.
2004-06-27 16:22:43 +00:00
Mark Kettenis
8010310edb
* config/i386/fbsd64.mh (NATDEPFILES): Add bsd-kvm.o.
...
(LOADLIBES): New variable.
2004-06-27 15:59:25 +00:00
Mark Kettenis
efe1d7b9b0
* bsd-kvm.c (bsd_kvm_fetch_registers): Directly return after
...
fetching from BSD_KVM_PADDR. Correctly lookup address for
"_thread0".
2004-06-27 15:56:20 +00:00
Mark Kettenis
315c4276b1
* amd64fbsd-nat.c: Include <sys/types.h, <machine/pcb.h> and
...
"bsd-kvm.h".
(amd64fbsd_supply_pcb): New funcion.
(_initialize_amd64fbsd_nat): Enable libkvm interface.
2004-06-27 15:44:22 +00:00
David Lecomber
399cfac618
2004-06-27 <david@streamline-computing.com>
...
Partial fix for PR cli/1056.
* valarith.c (value_binop): Check for zero in division and
remainder evaluation.
2004-06-27 07:57:15 +00:00
Andrew Cagney
11422c8666
2004-06-26 Andrew Cagney <cagney@gnu.org>
...
Test PR java/1567 and PR java/1565.
* gdb.java/jmain.exp, gdb.java/jmain.java: New files.
* gdb.java/jmisc2.exp: Delete file.
2004-06-27 00:41:39 +00:00
gdbadmin
10415c8572
*** empty log message ***
2004-06-27 00:00:04 +00:00
Mark Kettenis
6235f9c8f2
* i387-tdep.c: Remove excessive whitespace.
2004-06-26 23:20:30 +00:00
Michael Chastain
cefbce265a
2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
2004-06-26 22:20:50 +00:00
Andrew Cagney
2726dafcc9
2004-06-26 Andrew Cagney <cagney@gnu.org>
...
* gdb-events.sh (deprecated_set_gdb_event_hooks): Deprecated.
* gdb-events.h, gdb-events.c: Re-generate.
* tui/tui-hooks.c (tui_install_hooks): Update.
(tui_remove_hooks): Update.
* mi/mi-cmd-break.c (mi_cmd_break_insert): Update.
2004-06-26 20:37:13 +00:00
Mark Kettenis
35819f5e08
Remove stray CVS conflict marker.
2004-06-26 11:49:19 +00:00
Mark Kettenis
cb4610693d
* amd64fbsd-nat.c: Don't include <sys/procfs.h> and "gregset.h".
...
(gregset_t, fpregset_t): Remove typedefs.
(REG_OFFSET): Rename argument.
(amd64bsd_r_reg_offset): Rename from reg_offset.
(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset):
Remove functions.
(_initialize_amd64fbsd_nat): Use amd64fbsd64_r_reg_offset instead
of reg_offset.
* Makefile.in (amd64fbsd-nat.o): Update dependencies.
2004-06-26 11:47:53 +00:00
Mark Kettenis
ecba89de44
* amd64-nat.c (amd64_supply_native_gregset): Fix comment.
2004-06-26 10:38:50 +00:00
Mark Kettenis
4cd804765d
* vax-tdep.c: Tweak comment.
2004-06-26 10:25:20 +00:00
Mark Kettenis
0e56aeafa8
Add OpenBSD/hppa support.
...
* NEWS (New native configurations): Mention OpenBSD/hppa.
* hppabsd-nat.c, hppabsd-tdep.c, config/pa/obsd.mh,
config/pa/obsd.mt, config/pa/nm-obsd.h, config/pa/tm-bsd.h: New
files.
* Makefile.in (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
(hppabsd-nat.o, hppabsd-tdep.c): New dependencies.
* configure.host: Add hppa*-*-openbsd*.
* configure.tgt: Add hppa*-*-openbsd*.
2004-06-26 10:06:35 +00:00
gdbadmin
b4607cf896
*** empty log message ***
2004-06-26 00:00:08 +00:00
Andrew Cagney
98bbd631cc
2004-06-25 Andrew Cagney <cagney@gnu.org>
...
* defs.h (deprecated_ui_loop_hook): Deprecated.
* wince.c (child_wait): Update.
* win32-nat.c (child_wait): Update.
* v850ice.c (v850ice_wait): Update.
* top.c (deprecated_ui_loop_hook): Update.
* serial.h: Update.
* ser-unix.c (do_hardwire_readchar, do_hardwire_readchar)
(do_unix_readchar): Update.
* ser-tcp.c (net_open): Update.
* remote-sim.c (gdb_os_poll_quit): Update.
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Update.
2004-06-25 19:46:08 +00:00
Corinna Vinschen
e19f872c5b
* gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
...
attach process.
2004-06-25 13:52:20 +00:00
gdbadmin
c05cbf1a71
*** empty log message ***
2004-06-25 00:00:35 +00:00
Andrew Cagney
769d7dc4f1
2004-06-24 Andrew Cagney <cagney@gnu.org>
...
* defs.h (deprecated_pre_add_symbol_hook)
(deprecated_post_add_symbol_hook): Deprecated.
* symfile.c (symbol_file_add_with_addrs_or_offsets)
(symbol_file_add_with_addrs_or_offsets): Update references.
2004-06-24 22:09:34 +00:00
Andrew Cagney
11c949aaae
2004-06-24 Andrew Cagney <cagney@gnu.org>
...
* defs.h (post_add_symbol_hook, pre_add_symbol_hook)
(ui_loop_hook, selected_frame_level_changed_hook): Declare.
* wince.c (ui_loop_hook): Delete extern declaration.
* win32-nat.c (ui_loop_hook): Delete extern declaration..
* v850ice.c (ui_loop_hook): Delete extern declaration..
* ser-unix.c (ui_loop_hook): Delete extern declaration..
* ser-tcp.c (ui_loop_hook): Delete extern declaration..
* remote-sim.c (ui_loop_hook): Delete extern declaration..
* rdi-share/ardi.c (angel_RDI_ExecuteOrStep): Delete extern.
ui_loop_hook declaration.
2004-06-24 21:51:49 +00:00
Andrew Cagney
eedc19af03
2004-06-24 Andrew Cagney <cagney@gnu.org>
...
* objfiles.h (struct entry_info): Delete entry_func_lowpc and
entry_func_highpc fields.
* objfiles.c (init_entry_point_info): Do not clear
entry_func_lowpc and entry_func_highpc.
(objfile_relocate): Do not relocate entry_func_lowpc and
entry_func_highpc.
* dwarfread.c (read_func_scope): Do not set entry_func_lowpc and
entry_func_highpc.
* dwarf2read.c (read_func_scope): Do not set entry_func_lowpc and
entry_func_highpc.
* blockframe.c (legacy_frame_chain_valid): Replace tests against
entry_func_lowpc and entry_func_highpc with call to
inside_entry_func.
2004-06-24 20:42:42 +00:00
Mark Kettenis
d47079be51
* sparc64-tdep.c (sparc64_store_arguments): Fix passing
...
quad-precision floating point arguments in registers.
2004-06-24 19:36:41 +00:00
Mark Kettenis
2107e348e6
From Michael Mueller <m.mueller99@kay-mueller.de>:
...
* sparc64-tdep.c (sparc64_frame_base_address): Take BIAS into
account.
2004-06-24 19:32:37 +00:00
gdbadmin
32e40bc404
*** empty log message ***
2004-06-24 00:00:03 +00:00
Michael Chastain
d931ba3b35
2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/pr-1553.exp: Remove.
2004-06-23 18:36:51 +00:00
Andreas Schwab
720c7d64d6
Fix file name.
2004-06-23 15:44:43 +00:00
gdbadmin
e37eacc1b6
*** empty log message ***
2004-06-23 00:00:03 +00:00
Jeff Johnston
46587c4207
2004-06-22 Jeff Johnston <jjohnstn@redhat.com>
...
* infrun.c (handle_inferior_event): Initialize stopped_by_watchpoint
to -1.
* breakpoint.c (bpstat_stop_status): Move check for ignoring
untriggered watchpoints to a separate if clause. Update function
comment regarding STOPPED_BY_WATCHPOINT argument.
2004-06-22 19:46:40 +00:00