Commit Graph

16902 Commits

Author SHA1 Message Date
Andrew Cagney 1b89295f2f 2004-07-17 Andrew Cagney <cagney@gnu.org>
* hppa-linux-nat.c: Do not include <string.h>.
	(supply_fpregset): Remove "register" attribute.
2004-07-17 13:58:56 +00:00
Andrew Cagney d5c560f7de 2004-07-17 Andrew Cagney <cagney@gnu.org>
* solib-frv.c (fetch_loadmap): Use xfree, not free.
2004-07-17 13:53:48 +00:00
Eli Zaretskii 153872542a (Edit): Fix markup of EDITOR and improve wording.
(Search, Expressions, Arrays, Variables, Data, Machine Code)
(Auto Display): Improve indexing.
2004-07-17 12:25:40 +00:00
Mark Kettenis b1d19a627e * configure.in: Define _MSE_INT_H on Solaris 9 too.
* configure, config.in: Regenerated.
2004-07-17 11:24:26 +00:00
Mark Kettenis 7ddd770914 * vaxbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
"bsd-kvm.h".
(vaxbsd_supply_pcb): New function.
(_initialize_vaxbsd_nat): New prototype and function.
* config/vax/nbsdaout.mh (NATDEPFILES): Add bsd-kvm.o, solib.o and
solib-sunos.o.
(LOADLIBES): New variable.
* config/vax/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/vax/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* Makefile.in (vaxbsd-nat.o): Update dependencies.
2004-07-17 11:03:49 +00:00
Andrew Cagney 2c07db7ac0 Index: ChangeLog
2004-07-16  Andrew Cagney  <cagney@gnu.org>

	* defs.h (event_loop_p): Replace variable declaration with macro,
	always 1.
	* main.c (captured_main): Delete options "-async" and "-noasync".
	(event_loop_p): Delete variable.
	* NEWS: Mention that "-async" and "-noasync" were removed.

Index: doc/ChangeLog
2004-07-16  Andrew Cagney  <cagney@gnu.org>

	* gdb.texinfo (Mode Options): Delete documentation on "-async" and
	"-noasync".
2004-07-17 03:25:11 +00:00
Andrew Cagney 586027e615 2004-07-16 Andrew Cagney <cagney@redhat.com>
* lib/insight-support.exp: Delete file.
	* lib/java.exp (java_init): Fix copyright.
2004-07-17 02:03:00 +00:00
gdbadmin 2f446c6b0e *** empty log message *** 2004-07-17 00:00:03 +00:00
Andrew Cagney 029d220040 2004-07-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/restore.c: Append "prologue" to comments marking the a
	function's prologue.
	* gdb.base/restore.exp: Update copyright, re-indent.
	(restore_tests): Use gdb_test_multiple.  Add "calleeN calls
	callerN" prefix where needed.  Update patterns that match a
	function's prologue.
2004-07-16 22:21:52 +00:00
Michael Chastain 653b62c59c 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/restore.c: Add copyright notice.
2004-07-16 22:02:02 +00:00
Andrew Cagney 717eb1cfd8 2004-07-16 Andrew Cagney <cagney@gnu.org>
* remote-m32r-sdi.c: Re-indent.
2004-07-16 21:16:48 +00:00
Jim Blandy 5109a4386a * ppc-tdep.h (ppc_spr_asr): Add missing OEA SPR.
(ppc_spr_mi_dbcam, ppc_spr_mi_dbram0, ppc_spr_mi_dbram1)
(ppc_spr_md_cam, ppc_spr_md_ram0, ppc_spr_md_ram1): Add
missing MPC823 SPRs.
(ppc_spr_m_twb): Renamed from ppc_spr_md_twb; the old name was
incorrect.  (This was corrected in GDB's register name tables on
2004-07-14.)
2004-07-16 20:54:29 +00:00
Jim Blandy c101bc14b1 * rs6000-tdep.c (registers_602): Correct register name: "esassr"
should be "esasrr" ("ESA Save and Restore Register").
2004-07-16 20:53:06 +00:00
Andrew Cagney 7ce450bd0c 2004-07-16 Andrew Cagney <cagney@gnu.org>
* infrun.c (insert_step_resume_breakpoint): Delete gdb_assert
	calls, no longer applicable.  Update comments and rename parameter
	"step_frame" to "return_frame".
2004-07-16 19:41:48 +00:00
Andrew Cagney f7d690e5af 2004-07-16 Andrew Cagney <cagney@gnu.org>
* gdb.base/logical.exp: Update copyright.
	(evaluate): New procedure.  Use to re-implement tests using
	several tables.
2004-07-16 19:08:42 +00:00
Andrew Cagney ca73dd9dc6 2004-07-16 Andrew Cagney <cagney@gnu.org>
* frame.c (fprint_field): New function.
	(fprint_frame_id): Use fprint_field.
2004-07-16 19:00:12 +00:00
gdbadmin c5e9f1f144 *** empty log message *** 2004-07-16 00:00:03 +00:00
Joel Brobecker 31941f6dc6 * ada-lang.c (ada_language_defn): Remove commented out code. 2004-07-15 23:49:42 +00:00
Paul N. Hilfinger 8a2225b26e Replace entry for 2004-06-02 with more detailed log entries.
Add missing notice that ada-tasks.c has been removed to 2004-07-09 entry.
2004-07-15 22:13:48 +00:00
Jim Blandy f86a7158a9 * ppc-tdep.h (struct gdbarch_tdep): New member: ppc_sr0_regnum.
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize it.
2004-07-15 08:02:36 +00:00
gdbadmin 090e1a9bcf *** empty log message *** 2004-07-15 00:00:33 +00:00
Jim Blandy 29bb1356b5 * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): Delete; unused. 2004-07-14 23:58:04 +00:00
Jim Blandy cc98b5cc8a * ppc-tdep.h (ppc_num_vrs): New enum constant. 2004-07-14 23:18:09 +00:00
Jim Blandy 8f088af792 * ppc-tdep.h (ppc_num_srs): New enum constant. 2004-07-14 23:15:30 +00:00
Jim Blandy 0ea0ec5f1d * ppc-tdep.h (ppc_spr_mq, ppc_spr_xer, ppc_spr_rtcu, ppc_spr_rtcl)
(ppc_spr_lr, ppc_spr_ctr, ppc_spr_cnt, ppc_spr_dsisr, ppc_spr_dar)
(ppc_spr_dec, ppc_spr_sdr1, ppc_spr_srr0, ppc_spr_srr1)
(ppc_spr_eie, ppc_spr_eid, ppc_spr_nri, ppc_spr_sp, ppc_spr_cmpa)
(ppc_spr_cmpb, ppc_spr_cmpc, ppc_spr_cmpd, ppc_spr_icr)
(ppc_spr_der, ppc_spr_counta, ppc_spr_countb, ppc_spr_cmpe)
(ppc_spr_cmpf, ppc_spr_cmpg, ppc_spr_cmph, ppc_spr_lctrl1)
(ppc_spr_lctrl2, ppc_spr_ictrl, ppc_spr_bar, ppc_spr_vrsave)
(ppc_spr_sprg0, ppc_spr_sprg1, ppc_spr_sprg2, ppc_spr_sprg3)
(ppc_spr_ear, ppc_spr_tbl, ppc_spr_tbu, ppc_spr_pvr)
(ppc_spr_spefscr, ppc_spr_ibat0u, ppc_spr_ibat0l, ppc_spr_ibat1u)
(ppc_spr_ibat1l, ppc_spr_ibat2u, ppc_spr_ibat2l, ppc_spr_ibat3u)
(ppc_spr_ibat3l, ppc_spr_dbat0u, ppc_spr_dbat0l, ppc_spr_dbat1u)
(ppc_spr_dbat1l, ppc_spr_dbat2u, ppc_spr_dbat2l, ppc_spr_dbat3u)
(ppc_spr_dbat3l, ppc_spr_ic_cst, ppc_spr_ic_adr, ppc_spr_ic_dat)
(ppc_spr_dc_cst, ppc_spr_dc_adr, ppc_spr_dc_dat, ppc_spr_dpdr)
(ppc_spr_dpir, ppc_spr_immr, ppc_spr_mi_ctr, ppc_spr_mi_ap)
(ppc_spr_mi_epn, ppc_spr_mi_twc, ppc_spr_mi_rpn, ppc_spr_mi_cam)
(ppc_spr_mi_ram0, ppc_spr_mi_ram1, ppc_spr_md_ctr, ppc_spr_m_casid)
(ppc_spr_md_ap, ppc_spr_md_epn, ppc_spr_md_twb, ppc_spr_md_twc)
(ppc_spr_md_rpn, ppc_spr_m_tw, ppc_spr_md_dbcam, ppc_spr_md_dbram0)
(ppc_spr_md_dbram1, ppc_spr_ummcr0, ppc_spr_upmc1, ppc_spr_upmc2)
(ppc_spr_usia, ppc_spr_ummcr1, ppc_spr_upmc3, ppc_spr_upmc4)
(ppc_spr_zpr, ppc_spr_pid, ppc_spr_mmcr0, ppc_spr_pmc1)
(ppc_spr_sgr, ppc_spr_pmc2, ppc_spr_dcwr, ppc_spr_sia)
(ppc_spr_mmcr1, ppc_spr_pmc3, ppc_spr_pmc4, ppc_spr_sda)
(ppc_spr_tbhu, ppc_spr_tblu, ppc_spr_dmiss, ppc_spr_dcmp)
(ppc_spr_hash1, ppc_spr_hash2, ppc_spr_icdbdr, ppc_spr_imiss)
(ppc_spr_esr, ppc_spr_icmp, ppc_spr_dear, ppc_spr_rpa)
(ppc_spr_evpr, ppc_spr_cdbcr, ppc_spr_tsr, ppc_spr_602_tcr)
(ppc_spr_403_tcr, ppc_spr_ibr, ppc_spr_pit, ppc_spr_esasrr)
(ppc_spr_tbhi, ppc_spr_tblo, ppc_spr_srr2, ppc_spr_sebr)
(ppc_spr_srr3, ppc_spr_ser, ppc_spr_hid0, ppc_spr_dbsr)
(ppc_spr_hid1, ppc_spr_iabr, ppc_spr_dbcr, ppc_spr_iac1)
(ppc_spr_dabr, ppc_spr_iac2, ppc_spr_dac1, ppc_spr_dac2)
(ppc_spr_l2cr, ppc_spr_dccr, ppc_spr_ictc, ppc_spr_iccr)
(ppc_spr_thrm1, ppc_spr_pbl1, ppc_spr_thrm2, ppc_spr_pbu1)
(ppc_spr_thrm3, ppc_spr_pbl2, ppc_spr_fpecr, ppc_spr_lt)
(ppc_spr_pir, ppc_spr_pbu2): New enum constants for PowerPC
special-purpose register numbers.
2004-07-14 23:13:13 +00:00
Jim Blandy c24791eca1 * rs6000-tdep.c (registers_860): Correct register name. (No PPC
manual mentions 'md_twb', but many mention 'm_twb', and at that
point in the register list.)
2004-07-14 23:00:59 +00:00
Martin Hunt d629a7cb0a 2004-07-14 Martin Hunt <hunt@redhat.com>
* lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
	which fixes some problems where init.tcl was not found.
2004-07-14 18:55:22 +00:00
Andrew Cagney d833db3b34 2004-07-14 Andrew Cagney <cagney@gnu.org>
* utils.c (internal_warning_problem): Fix typo, "internal-warning"
	instead of "internal-error".
2004-07-14 16:47:46 +00:00
gdbadmin 78c4c9540c *** empty log message *** 2004-07-14 00:00:32 +00:00
Andrew Cagney 6bf46641b8 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/sizeof.exp: Skip test when no inferior I/O.
	(check_sizeof, check_valueof): Do not include the output in the
	test name.  Use gdb_test.
	(get_valueof): Use gdb_test_multiple.
2004-07-13 17:08:36 +00:00
Andrew Cagney c4ffd4c07c 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/step-test.exp: Update copyright.  Use
	gdb_test_multiple.  Ensure that test names do not include
	architecture dependent output.
2004-07-13 16:25:46 +00:00
Andrew Cagney ab89363a82 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.gdb/observer.exp: Update copyright.
	(setup_test): Use gdb_test_multiple.
	(attach_first_observer, attach_second_observer)
	(attach_third_observer, detach_first_observer)
	(detach_second_observer, detach_third_observer)
	(reset_counters, check_counters): Make $message a prefix.
	(test_normal_stop_notifications): Add "args" parameter - a list of
	init functions to be called.  Make $message a prefix,
	(test_observer_normal_stop): Change the message prefixes so that
	they are unique, pass the attach / detach procedures to
	test_normal_stop_notifications.
2004-07-13 14:36:44 +00:00
Andrew Cagney ec58997a7b 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/signull.exp (test_segv): Prefix all tests with
	"${name}".  Clean up test messages.
2004-07-13 13:44:01 +00:00
Andrew Cagney b475183b5c 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
2004-07-13 13:10:54 +00:00
Andrew Cagney 9c7bb33213 2004-07-13 Andrew Cagney <cagney@gnu.org>
* gdb.base/ena-dis-br.exp: Update copyright.
	(break_at): New function.  Replace send_gdb with gdb_test,
	break_at, and gdb_test_multiple.  Replace XFAIL of "continue with
	ignore count, not stopped at bpt", with KFAIL.
2004-07-13 13:01:04 +00:00
Corinna Vinschen 2dd95497fe * gdb.base/attach.exp: Remove cleanupfile handling. 2004-07-13 11:19:22 +00:00
gdbadmin c21641d3cf *** empty log message *** 2004-07-13 00:00:33 +00:00
Andrew Cagney 419e626baa 2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/annota1.exp: Cleanup corefile test name.
	* gdb.base/annota3.exp: Ditto.
2004-07-12 21:39:35 +00:00
Joel Brobecker 080228b217 * hppa-hpux-tdep.c: Fix a compilation failure due to a comment
that was inserted inside a comment.
2004-07-12 17:09:58 +00:00
Andrew Cagney 7865082976 2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/signals.exp: Clean up copyright, re-indent.
2004-07-12 15:02:52 +00:00
Andrew Cagney 8b1b32286b 2004-07-12 Andrew Cagney <cagney@gnu.org>
* gdb.base/attach.exp: Replace send_gdb and gdb_expect with
	gdb_test and gdb_test_multiple.
2004-07-12 14:25:48 +00:00
gdbadmin 9f37c1d2aa *** empty log message *** 2004-07-12 00:00:31 +00:00
Randolph Chung c268433a1a 2004-07-10 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (hppa_hpux_som_find_global_pointer): New
	function.
	(hppa_hpux_push_dummy_code): New function.
	(hppa_hpux_init_abi): Set push_dummy_code and call_dummy_location.
	Set find_global_pointer method.
2004-07-11 06:51:41 +00:00
gdbadmin baf4e80061 *** empty log message *** 2004-07-11 00:00:32 +00:00
Mark Kettenis 71009278ce * NEWS: Mention BSD libkvm interface. 2004-07-10 21:24:01 +00:00
Michael Snyder b2fa5097bf 2004-07-10 Michael Snyder <msnyder@redhat.com>
* symfile.c (generic_load): Comment typo.
        * stack.c (get_selected_block): Ditto.
        * regcache.c (regcache_cooked_read): Ditto.
        * monitor.c (monitor_debug): Ditto.
        * mips-tdep.c (mips_read_pc): Ditto.
        * i386-linux-nat.c (ps_get_thread_area): Ditto.
        * gdb_mbuild.sh: Ditto.
        * gdbarch.sh: Ditto.
        * gdbarch.h: Ditto.
2004-07-10 01:17:53 +00:00
gdbadmin b12b6290af *** empty log message *** 2004-07-10 00:00:02 +00:00
Paul N. Hilfinger f21a12b657 Removed ada-tasks.c, as ACT plans to rewrite it extensively before
submission.
2004-07-09 19:36:17 +00:00
Paul N. Hilfinger c3e5cd34c6 Remove ARI problems:
* ada-exp.y (write_var_from_sym): Reformat to put operator at
beginning of line.

* ada-lang.c (MAX_OF_SIZE): Rename max_of_size.
Add comment.
Add comment concerning MAX_OF_TYPE and MIN_OF_TYPE.
(MIN_OF_SIZE): Rename min_of_size.  Add comment.
(UMAX_OF_SIZE): Renmae umax_of_size.  Add comment.
(UMIN_OF_SIZE): Remove.
(max_of_type): New function to replace orphan macro in gdbtypes.h
(min_of_type): Ditto.
(discrete_type_high_bound): Use max_of_type.
(discrete_type_low_bound): Use min_of_type.
(possible_user_operator_p): Move operator to beginning of line.
(ada_is_variant_part): Ditto.
(ensure_lval): Rewrite to avoid deprecated operations.
(ada_finish_decode_line_1): Use gdbarch_convert_from_func_ptr_addr
rather than adding DEPRECATED_FUNCTION_START_OFFSET.
(ada_enum_name): Remove assignments in 'if' statements.
(build_ada_types): Add gdbarch parameter.
(_initialize_ada_language): Replace deprecated_register_gdbarch_swap
with gdbarch_data_register_post_init.
Use add_setshow_uinteger_cmd rather than add_set_cmd and
add_show_from_set.

* ada-valprint.c (inspect_it): Remove declaration.
(repeat_count_threshold): Remove declaration.
(ada_print_floating): Remove assignments in 'if' statements.
(print_str): Move operator to beginning of line.
2004-07-09 19:29:56 +00:00
Eli Zaretskii 4644b6e36c Fix @kindex entries so that multiple commands that
have the same prefix have only their prefix in the index.
2004-07-09 18:44:51 +00:00