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
gdbadmin
c32688fb1a
*** empty log message ***
2004-07-09 00:00:02 +00:00
Jim Blandy
61ce229a50
* rs6000-tdep.c (registers_powerpc_nofp): Unused; deleted.
2004-07-08 23:43:47 +00:00
Jeff Johnston
935c276026
2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.java/jmain.exp: Fix expected line number for main to
break at. Set XFAIL for break at main test since gcj does not
provide line number info for first statement in main.
2004-07-08 21:00:45 +00:00
Andrew Cagney
1279f4ffe5
2004-07-08 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/attach.exp: Cleanup copyright. Re-indent.
2004-07-08 20:04:47 +00:00
Andrew Cagney
1544280f1d
2004-07-08 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/sigbpt.exp: Make the common part of each test name a
prefix instead of suffix.
2004-07-08 14:19:21 +00:00
Bob Rossi
09bcec8017
Fix crash in symtab.c.
2004-07-08 11:18:27 +00:00
Bob Rossi
bcc82369d2
I added the testcase for -file-list-exec-source-files to mi2-file.exp.
...
It should have been added to mi-file.exp. So, here it is.
2004-07-08 01:57:51 +00:00
gdbadmin
b0e0c09da0
*** empty log message ***
2004-07-08 00:00:32 +00:00
Jeff Johnston
23f4b0aa1b
2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.java/jmisc.exp: Fix expected output of ptype to look for
the jmisc() constructor instead of <init>.
* gdb.java/jmisc1.exp: Ditto.
2004-07-07 20:08:03 +00:00
Andrew Cagney
56401cd585
2004-07-07 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/sigbpt.exp (stepi_out): Check for a single step
corrupting the PC.
2004-07-07 17:30:10 +00:00
gdbadmin
5c02dc5924
*** empty log message ***
2004-07-07 00:00:32 +00:00
Michael Chastain
44ae2f6a11
2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/templates.exp: Accept whitespace change in demangler
output.
2004-07-06 19:36:10 +00:00
Jeff Johnston
31c27f7773
2004-07-06 Jeff Johnston <jjohnstn@redhat.com>
...
* language.h (struct_language_defn): Add new function pointer:
la_class_name_from_physname. Also add new prototype for
language_class_name_from_physname.
* language.c (language_class_name_from_physname): New function.
(unk_lang_class_name): Ditto.
(unknown_language_defn, auto_language_defn): Change
to add unk_lang_class_name function pointer for
la_class_name_from_physname.
(local_language_defn): Ditto.
* dwarf2read.c (guess_structure_name): Change to call
language_class_name_from_physname.
(determine_class_name): Ditto.
* cp-support.c (class_name_from_physname): Renamed.
(cp_class_name_from_physname): New name of function.
* cp-support.h: Ditto.
* c-lang.c (c_language_defn): Change to add NULL
for class_name_from_physname function pointer.
(cplus_language_defn): Change to add cp_class_name_from_physname.
* jv-lang.c (java_class_name_physname): New function.
(java_find_last_component): New static routine.
(java_language_defn): Add java_class_name_from_physname pointer.
* ada-lang.c (ada_language_defn): Change to add NULL
for class_name_from_physname function pointer.
* f-lang.c (f_language_defn): Ditto.
* m2-lang.c (m2_language_defn): Ditto.
* objc-lang.c (objc_language_defn): Ditto.
* p-lang.c (pascal_language_defn): Ditto.
* scm-lang.c (scm_language_defn): Ditto.
2004-07-06 19:29:31 +00:00
Andrew Cagney
45a83408cd
2004-07-06 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
2004-07-06 15:08:54 +00:00
Andrew Cagney
ee28ca0fd6
2004-07-06 Andrew Cagney <cagney@gnu.org>
...
Patch from Bart Robinson.
* corelow.c (core_open): Add variable "flags", or in O_LARGEFILE.
(O_LARGEFILE): Define to 0, if not defined.
2004-07-06 14:24:06 +00:00
gdbadmin
b8b50ea9bd
*** empty log message ***
2004-07-06 00:00:33 +00:00
Mark Kettenis
7561d4504f
* gdb.texinfo (BSD libkvm Interface): New node (section)
...
(Native): Add it to the menu.
2004-07-05 15:31:35 +00:00
gdbadmin
cd65252a6c
*** empty log message ***
2004-07-05 00:00:32 +00:00
gdbadmin
2405c5d661
*** empty log message ***
2004-07-04 00:00:33 +00:00
Mark Kettenis
cb162ff6d2
* m68kbsd-nat.c: Include "gdbcore.h", <sys/types.h>,
...
<machine/pcb.h> and "bsd-kvm.h".
(PCB_REGS_FP, PCB_REGS_SP): Define if not already defined.
(m68kbsd_supply_pcb): New function.
(_initialize_m68kbsd_nat): New prototype and function.
* Makefile.in (m68kbsd-nat.o): Update dependencies.
* config/m68k/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/m68k/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
2004-07-03 15:14:48 +00:00
Mark Kettenis
fdb1bf9d27
* bsd-kvm.c (bsd_kvm_cmdlist): Remove unecessary initialization.
2004-07-03 13:17:33 +00:00
Mark Kettenis
963c417494
* bsd-kvm.c: Include "cli/cli-cmds.h", "command.h", "value.h" and
...
<sys/proc.h>.
(bsd_kvm_cmdlist): New variable.
(bsd_kvm_cmd, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): New functions.
(bsd_kvm_add_target): Register "kvm" command prefix, "kvm pcb"
command and "kvm proc" command.
* Makefile.in (bsd-kvm.o): Update dependencies.
2004-07-03 13:11:39 +00:00
gdbadmin
9dab8cf230
*** empty log message ***
2004-07-03 00:00:04 +00:00
Mark Kettenis
533f1d8fc5
* osabi.c: Update copyright year.
...
(generic_elf_osabi_sniffer): Tweak comment. Look for OS-specific
notes if EI_OSABI is set to ELFOSABI_HPUX.
2004-07-02 21:27:17 +00:00
Joel Brobecker
6e0cdd28ec
Fix ChangeLog entry for the last change to i386-cygwin-tdep.c.
2004-07-02 21:09:45 +00:00
Michael Chastain
d205ad70f2
2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
* lib/compiler.cc: Likewise.
2004-07-02 04:18:17 +00:00
gdbadmin
c721be7224
*** empty log message ***
2004-07-02 00:00:02 +00:00
Michael Snyder
6780dcde86
2004-07-01 Michael Snyder <msnyder@redhat.com>
...
* win32-nat.c (core_dll_symbols_add): Re-indent a small section
that seems to have gotten whacked out of line.
2004-07-01 21:34:02 +00:00
Mark Kettenis
67bebe794b
* dbxread.c (process_one_symbol) [PCC_SOL_BROKEN]: Remove dead
...
code.
2004-07-01 20:25:54 +00:00
Paul N. Hilfinger
0b5d887791
* ada-lang.c (decode_packed_array): Minor change to comment.
...
(ada_value_slice_ptr): New function.
(ada_value_slice): New function.
(ada_evaluate_subexp): Remove XVS-suffix code from subscripting
test. Don't know why it is there.
Change slice code to use ada_value_slice_ptr and ada_value_slice, and
to avoid dereferencing huge arrays from which one is slicing.
(empty_array): Correct to return an array rather than
a subrange value.
* ada-valprint.c (print_optional_low_bound): Don't print lower bound
on empty arrays (let'em use 'FIRST instead).
2004-07-01 10:30:57 +00:00
Paul N. Hilfinger
19c1ef65d7
Address complaints from gdb_ari.sh:
...
* ada-exp.y: Include gdb_string.h rather than string.h.
(convert_char_literal): Reformat declaration.
* ada-lang.h: Include opaque struct declaration for struct frame_info.
* ada-lex.l: Change use of free to xfree (the macro would do so
anyway, but this is harmless).
Include gdb_string.h rather than string.h.
* ada-valprint.c (ada_val_print_stub): Change PTR => void*.
* ada-lang.c (parse): Remove K&Rism in parameter list.
(is_name_suffix): Correct Linux => GNU/Linux in comment.
2004-07-01 10:11:11 +00:00
gdbadmin
cc83d33996
*** empty log message ***
2004-07-01 00:00:33 +00:00
Mark Kettenis
1a6923e031
* gdbint.texinfo (Target Architecture Definition): Remove
...
SUN_FIXED_LBRAC_BUG.
2004-06-30 20:01:23 +00:00
Mark Kettenis
d81cbc94d2
* dbxread.c (process_one_symbol) [SUN_FIXED_LBRAC_BUG]: Remove
...
dead code.
2004-06-30 19:44:22 +00:00
Mark Kettenis
076817596d
* alphabsd-nat.c: Update copyright year.
...
(getregs_supplies): Use ALPHA_PC_REGNUM instead of PC_REGNUM.
2004-06-30 19:23:21 +00:00
Michael Chastain
06ea1a610f
2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/compiler.cc: Work around string preprocessing problem
with old hp c++ compiler.
* lib/compiler.c: Likewise.
2004-06-30 08:01:33 +00:00
gdbadmin
2a79e10f2b
*** empty log message ***
2004-06-30 00:00:33 +00:00
Joel Brobecker
f7948b5f30
* i386-cygwin-tdep.c (i386-cygwin-tdep.c): New function.
...
(i386_cygwin_in_solib_call_trampoline): New function.
(i386_cygwin_init_abi): Initialize the in_solib_call_trampoline
and skip_trampoline_code gdbarch methods.
2004-06-29 18:17:41 +00:00
Corinna Vinschen
daab125139
* gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
...
directives to conditionalize symbol prefixing.
* gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
additional_flags handling. Add underscore prefix for Cygwin.
* gdb.arch/i386-unwind.c: Use preprocessor directives to
conditionalize symbol prefixing.
* gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
additional_flags handling. Add underscore prefix for Cygwin.
2004-06-29 17:52:49 +00:00
Jim Blandy
8f113c9aba
* Makefile.in (gdb_callback_h): Renamed from callback_h to the
...
name actually used in the dependency lists.
2004-06-29 17:19:47 +00:00
Randolph Chung
97dc871c11
2004-06-29 Randolph Chung <tausq@debian.org>
...
* NEWS (New native configurations): Mention GNU/Linux/hppa.
2004-06-29 16:13:07 +00:00
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
Michael Chastain
aef68c4869
2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/pr-1553.cc: Remove.
* gdb.cp/pr-1553.exp: Disable this test.
2004-06-22 18:17:54 +00:00
Jim Blandy
226f5cf47a
* gdbarch.sh: Doc fix.
2004-06-22 17:47:59 +00:00
Martin Hunt
f10683bb26
2004-06-21 Martin Hunt <hunt@redhat.com>
...
Kevin Buettner <kevinb@redhat.com>
* config/mips/tm-mips.h (SP_REGNUM): Delete define.
* mips-tdep.h (MIPS_SP_REGNUM): Define.
* mips-tdep.c (mips_gdbarch_init): Set SP_REGNUM via call
to set_gdbarch_sp_regnum(). Use cooked register number.
(SP_REGNUM): Replace all occurrences with MIPS_SP_REGNUM.
2004-06-22 00:01:04 +00:00
gdbadmin
797456b66f
*** empty log message ***
2004-06-22 00:00:02 +00:00
Andrew Cagney
412d5987a7
2004-06-21 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: When the macro field is empty, do not generate a
macro definition. When the macro field is "=", generate the macro
name from the upper-case function name.
(NUM_REGS, NUM_PSEUDO_REGS, SP_REGNUM, PC_REGNUM, PS_REGNUM)
(FP0_REGNUM, STAB_REG_TO_REGNUM, ECOFF_REG_TO_REGNUM)
(DWARF_REG_TO_REGNUM, SDB_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM)
(REGISTER_NAME, DEPRECATED_REGISTER_VIRTUAL_TYPE)
(DEPRECATED_REGISTER_BYTES, DEPRECATED_REGISTER_BYTE)
(DEPRECATED_REGISTER_RAW_SIZE, DEPRECATED_REGISTER_VIRTUAL_SIZE)
(DEPRECATED_SAVE_DUMMY_FRAME_TOS, DEPRECATED_FP_REGNUM)
(DEPRECATED_TARGET_READ_FP, DEPRECATED_PUSH_ARGUMENTS)
(DEPRECATED_PUSH_RETURN_ADDRESS, DEPRECATED_DUMMY_WRITE_SP)
(DEPRECATED_REGISTER_SIZE, CALL_DUMMY_LOCATION)
(DEPRECATED_DO_REGISTERS_INFO, REGISTER_SIM_REGNO)
(REGISTER_BYTES_OK, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER)
(GET_LONGJMP_TARGET, DEPRECATED_INIT_FRAME_PC)
(BELIEVE_PCC_PROMOTION, DEPRECATED_GET_SAVED_REGISTER)
(CONVERT_REGISTER_P, REGISTER_TO_VALUE, VALUE_TO_REGISTER)
(POINTER_TO_ADDRESS, ADDRESS_TO_POINTER, INTEGER_TO_ADDRESS)
(DEPRECATED_POP_FRAME, DEPRECATED_STORE_STRUCT_RETURN)
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE)
(DEPRECATED_EXTRACT_RETURN_VALUE, DEPRECATED_STORE_RETURN_VALUE)
(DEPRECATED_USE_STRUCT_CONVENTION)
(DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS)
(DEPRECATED_FRAME_INIT_SAVED_REGS)
(DEPRECATED_INIT_EXTRA_FRAME_INFO, SKIP_PROLOGUE, INNER_THAN)
(BREAKPOINT_FROM_PC, MEMORY_INSERT_BREAKPOINT)
(MEMORY_REMOVE_BREAKPOINT, DECR_PC_AFTER_BREAK)
(DEPRECATED_FUNCTION_START_OFFSET, FRAME_ARGS_SKIP)
(DEPRECATED_FRAMELESS_FUNCTION_INVOCATION, DEPRECATED_FRAME_CHAIN)
(DEPRECATED_FRAME_CHAIN_VALID, DEPRECATED_FRAME_SAVED_PC)
(DEPRECATED_FRAME_ARGS_ADDRESS, DEPRECATED_FRAME_LOCALS_ADDRESS)
(DEPRECATED_SAVED_PC_AFTER_CALL, FRAME_NUM_ARGS)
(DEPRECATED_STACK_ALIGN, DEPRECATED_REG_STRUCT_HAS_ADDR)
(FRAME_RED_ZONE_SIZE, ADDR_BITS_REMOVE, SMASH_TEXT_ADDRESS)
(SOFTWARE_SINGLE_STEP, SKIP_TRAMPOLINE_CODE)
(IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE)
(ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL)
(NAME_OF_MALLOC, CANNOT_STEP_BREAKPOINT)
(HAVE_NONSTEPPABLE_WATCHPOINT, ADDRESS_CLASS_TYPE_FLAGS)
(FETCH_POINTER_ARGUMENT): Replace the macro name with "=".
2004-06-21 19:54:50 +00:00
Andrew Cagney
48f7351b33
2004-06-21 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: For gdbarch_dump, print the "function" rather than
macro name, and the function rather than macro value. Only wrap
macro print statements in #ifdef. Move format logic to where it
is needed.
* gdbarch.c: Re-generate.
2004-06-21 17:54:57 +00:00
Andrew Cagney
283354d860
2004-06-21 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (read): Delete "print_p" and "description", add
"garbage_at_eol". Check for non-empty garbage at end-of-line.
Delete references to print_p.
(TARGET_ARCHITECTURE): Delete print predicate.
* gdbarch.c: Re-generate.
2004-06-21 15:01:04 +00:00
Andrew Cagney
68908a3e59
2004-06-21 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: Check that multi-arch methods do not provide a
macro.
(register_type, unwind_dummy_id, push_dummy_call, push_dummy_code)
(print_registers_info, print_float_info, print_vector_info)
(adjust_breakpoint_address, remote_translate_xfer_address)
(construct_inferior_arguments, skip_solib_resolver, unwind_pc)
(address_class_type_flags_to_name, unwind_sp): Remove the macro
name from the multi-arch definition.
2004-06-21 13:46:17 +00:00
Jim Blandy
8d5df71af0
Fix PR testsuite/1680.
...
* gdb.arch/i386-sse.exp: Properly quote curly braces in
regular expressions.
2004-06-21 05:00:37 +00:00
Andrew Cagney
a2428dbe34
2004-06-20 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: Sort by the function, instead of macro name.
* gdbarch.c: Re-generate.
2004-06-21 00:17:02 +00:00
gdbadmin
4d81a5407c
*** empty log message ***
2004-06-21 00:00:02 +00:00
Andrew Cagney
66d659b12a
2004-06-20 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: Use the function, instead of macro name in
errors and the log file.
(return_value): Remove stray ":" in spec.
2004-06-20 19:17:17 +00:00
Andrew Cagney
750eb019f1
2004-06-20 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (RETURN_VALUE): Default to legacy_return_value.
* gdbarch.h, gdbarch.c: Re-generate.
* Makefile.in (arch-utils.o): Update dependencies.
* values.c (using_struct_return): Move code calling
USE_STRUCT_CONVENTION to legacy_return_value, simplify.
* stack.c (return_command): Move code calling STORE_RETURN_VALUE
to legacy_return_value, simplify.
* infcmd.c (print_return_value): Move code calling
DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS and EXTRACT_RETURN_VALUE
to legacy_return_value, simplify.
* infcall.c (call_function_by_hand): Move code calling
EXTRACT_RETURN_VALUE to legacy_return_value, simplify.
* arch-utils.c: Update copyright. Include "gdbcore.h".
(legacy_return_value): New function.
* arch-utils.h: Update copyright.
(legacy_return_value): Declare.
2004-06-20 18:10:14 +00:00
Andrew Cagney
b5622e8d3c
2004-06-20 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Deprecated.
* gdbarch.h, gdbarch.c: Re-generate.
* values.c (using_struct_return): Update call.
* mcore-tdep.c: Update comment.
* infcall.c (call_function_by_hand): Update comment.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* arch-utils.h (always_use_struct_convention): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sh64-tdep.c (sh64_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m32r-tdep.c (m32r_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
Index: doc/ChangeLog
2004-06-20 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Deprecate
USE_STRUCT_CONVENTION.
2004-06-20 17:18:07 +00:00
gdbadmin
d6483b92f1
*** empty log message ***
2004-06-20 00:00:02 +00:00
Michael Chastain
4ac6f39dda
2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
...
Fix PR testsuite/1679.
* gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
Issue an UNSUPPORTED result instead.
2004-06-19 18:58:42 +00:00
Michael Chastain
5191de3730
2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
...
* PROBLEMS: Add more specific information, and a work-around,
for PR gdb/1458.
2004-06-19 17:41:03 +00:00
Michael Chastain
e0c07bf008
2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
...
gdb.texinfo (Bug Reporting): Mention session recording,
with the script command or Emacs.
2004-06-19 17:33:44 +00:00
gdbadmin
45153f5a69
*** empty log message ***
2004-06-19 00:00:35 +00:00
Jim Blandy
1b413552e1
* gdb.base/charset.exp: Only send a control-C if we see a new
...
prompt and incomplete command.
2004-06-18 23:12:54 +00:00
Andrew Cagney
782263ab3a
2004-06-18 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Deprecated.
* gdbarch.h, gdbarch.c: Re-generate.
* ada-lang.c (ada_finish_decode_line_1): Update.
* infrun.c (handle_inferior_event): Update.
* infcall.c (find_function_addr): Update.
* linespec.c (minsym_found): Update.
* symtab.c (find_function_start_sal, skip_prologue_using_sal):
Update.
* blockframe.c (legacy_frameless_look_for_prologue): Update.
* cli/cli-cmds.c (disassemble_command): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
Index: doc/ChangeLog
2004-06-18 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Deprecate
FUNCTION_START_OFFSET.
2004-06-18 21:36:16 +00:00
Mark Kettenis
2f305df11e
* i386-tdep.c (i386_collect_fpregset): Fix comment.
2004-06-18 16:06:24 +00:00
Michael Chastain
6daa6ebd43
2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/pr-574.cc: Add copyright notice.
2004-06-18 14:24:54 +00:00
gdbadmin
a8b292e316
*** empty log message ***
2004-06-18 00:00:03 +00:00
Jim Blandy
51fa4ae02d
* gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
...
cases where the regexp has no groups; this grabs random text from
the previous test suite, whatever that was.
2004-06-17 21:07:42 +00:00
Michael Chastain
8fea26c5a5
2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/printmethod.cc: Add copyright notice.
2004-06-17 18:30:18 +00:00
Andrew Cagney
e5fe55f7e7
2004-06-17 Andrew Cagney <cagney@gnu.org>
...
GDB 6.1.1 released from the GDB 6.1 branch.
* NEWS: Merge in 6.1.1 NEWS from 6.1 branch.
* PROBLEMS: Ditto.
2004-06-17 17:30:30 +00:00
Michael Chastain
1e3aeb41f2
2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
2004-06-17 04:28:22 +00:00
gdbadmin
a8fc9bf447
*** empty log message ***
2004-06-17 00:00:32 +00:00
Daniel Jacobowitz
473b7be660
PR gdb/1658
...
* dwarf2read.c (dwarf_decode_lines): Read the length of the extended
operation as a uleb128. Found by Michael Coulter.
2004-06-16 17:16:15 +00:00
Andrew Cagney
9d9030bc8f
2004-06-16 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/signull.c: Update copyright. Include <string.h>.
(bowler): Replace data_pointer with data_read
and data_write cases. Add code_descriptor case.
(zero, desc): New array and pointer.
(data, code): Change to simple pointers.
* gdb.base/signull.exp: Fix probe pattern matching a function
descriptor SIGSEGV. Replace data_pointer with data_read and
data_write tests.
2004-06-16 16:40:51 +00:00
Andrew Cagney
acd4ad442c
2004-06-16 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
2004-06-16 15:19:41 +00:00
Paul N. Hilfinger
96d887e830
* ada-tasks.c: Rename build_task_list to ada_build_task_list, and
...
make it non-static.
* ada-lang.h (task_control_block): declaration moved from ada-task.c
to ada-lang.h; this is needed to be able to implement the kill command
in multi-task mode.
(task_ptid): Ditto.
(task_entry): Ditto.
(task_list): Ditto.
(ada_build_task_list): Ditto.
* ada-lang.c: Conditionalize routines and data structures related
to breakpoints, exceptions, completion, and symbol caching on
GNAT_GDB, since these are not yet used in the submitted public sources.
(ada_main_name): Editorial: Move definition out of exception-related
code.
2004-06-16 08:18:06 +00:00
Michael Chastain
08fd625c2e
2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/long_long.c: Add copyright notice.
2004-06-16 04:27:30 +00:00
Michael Chastain
1903502c83
2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/long_long.exp: Remove reference to
bug-gdb@prep.ai.mit.edu . Change line-number-specific breakpoint
to gdb_breakpoint and gdb_continue_to_breakpoint.
2004-06-16 02:15:36 +00:00
gdbadmin
f5ba702215
*** empty log message ***
2004-06-16 00:00:33 +00:00
Jim Blandy
83313cb156
* gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
...
endian case.
2004-06-15 18:12:04 +00:00
Andrew Cagney
31eef181bb
2004-06-15 Andrew Cagney <cagney@gnu.org>
...
* mips-tdep.c (non_heuristic_proc_desc): Delete call to
deprecated_pc_in_call_dummy.
2004-06-15 15:06:57 +00:00
Alan Modra
2c500098f2
* dsrec.c (load_srec, make_srec): Use bfd_get_section_size instead of
...
bfd_get_section_size_before_reloc or _raw_size.
* dwarf2-frame.c (dwarf2_build_frame_info): Likewise.
* dwarf2read.c (dwarf2_locate_sections): Likewise.
(dwarf2_read_section): Likewise.
* elfread.c (elf_locate_sections): Likewise.
* gcore.c (derive_heap_segment): Likewise.
* mipsread.c (read_alphacoff_dynamic_symtab): Likewise.
* remote-e7000.c (e7000_load): Likewise.
* remote-m32r-sdi.c (m32r_load): Likewise.
* remote-mips.c (mips_load_srec): Likewise.
(pmon_load_fast): Likewise.
* remote.c (compare_sections_command): Likewise.
* symfile.c (add_section_size_callback): Likewise.
(load_section_callback): Likewise.
(pc_in_unmapped_range): Likewise.
(pc_in_mapped_range): Likewise.
(sections_overlap): Likewise.
(list_overlays_command): Likewise.
(simple_overlay_update_1): Likewise.
(simple_overlay_update): Likewise.
* tracepoint.c (remote_set_transparent_ranges): Likewise.
* win32-nat.c (core_section_load_dll_symbols): Likewise.
2004-06-15 01:04:20 +00:00
Andrew Cagney
1bf404efc4
2004-06-14 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/gcore.exp (capture_command_output): Delete the always
passing tests containing inferior values.
* gdb.base/ending-run.exp: Do not include the breakpoint address
in the test message. Update copyright.
* gdb.base/sizeof.exp (check_sizeof): Do not include the type's
size in the test name, use gdb_test_multiple. Update copyright.
2004-06-15 00:16:42 +00:00
gdbadmin
aa97803648
*** empty log message ***
2004-06-15 00:00:04 +00:00
Andrew Cagney
3973a7d36d
ChangeLog editorial fixes.
2004-06-14 22:52:52 +00:00
Andrew Cagney
03727ca61a
2004-06-14 Andrew Cagney <cagney@gnu.org>
...
Based on changes from Karl Berry.
* gdb.texinfo: Do not use @sc in a direntry.
* stabs.texinfo: Change @dircateogry to "Software development".
* gdbint.texinfo, gdb.texinfo, annotate.texinfo: Ditto.
2004-06-14 22:26:34 +00:00
Randolph Chung
90f943f11a
2004-06-14 Randolph Chung <tausq@debian.org>
...
* Makefile.in (hppa-hpux-tdep.o): Update dependency.
* hppa-hpux-tdep.c (hp_cxx_exception_support_initialized): Make
static.
(hppa_hpux_inferior_created): New function.
(hppa_hpux_init_abi): Register observer.
* symfile.c (hp_cxx_exception_support_initialized)
(RESET_HP_UX_GLOBALS): Remove HPUXHPPA specific hacks.
(symbol_file_add_main_1, symbol_file_clear): Likewise.
2004-06-14 20:40:40 +00:00
Randolph Chung
700c15aa2a
2004-06-14 Randolph Chung <tausq@debian.org>
...
* MAINTAINERS (Write After Approval): Alphabetize my entry correctly.
2004-06-14 17:35:07 +00:00
Michael Chastain
ef220b3362
2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/ref-types.cc: Add copyright notice.
2004-06-14 16:30:16 +00:00
Michael Chastain
4f70a4c95a
2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
hp_aCC_compiler.
* lib/compiler.cc: Likewise.
* lib/gdb.exp (get_compiler_info): Eval lines only if they are
'set' commands. Log diagnostics for other lines. Set
gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
2004-06-14 15:29:30 +00:00
Andrew Cagney
cea4838c90
Index: ChangeLog
...
2004-06-14 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS (testsuite): List Michael Chastain as the lead
testsuite maintainer.
2004-06-14 13:40:34 +00:00
gdbadmin
699a6c011b
*** empty log message ***
2004-06-14 00:00:32 +00:00
Andrew Cagney
e8c3165b25
2004-06-13 Andrew Cagney <cagney@gnu.org>
...
* infcmd.c (print_return_value): Fix logic, allow
DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS when struct_return.
2004-06-13 17:05:55 +00:00
Andrew Cagney
bceabdd859
2004-06-13 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: For predicates, do not check GDB_MULTI_ARCH when
defining any macros.
* gdbarch.h: Re-generate.
2004-06-13 17:04:49 +00:00
Andrew Cagney
57010b1c8d
2004-06-13 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh: Delete "level" attribute. Only check for a macro
redefinition when multi-arch greater than GDB_MULTI_ARCH_PARTIAL.
* gdbarch.h: Re-generate.
2004-06-13 16:43:58 +00:00
Michael Chastain
335928accd
2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/try_catch.cc: Add copyright notice.
2004-06-13 16:07:02 +00:00
Andrew Cagney
bc87dfa03b
2004-06-13 Andrew Cagney <cagney@gnu.org>
...
* values.c (generic_use_struct_convention): Don't check gcc_p.
2004-06-13 15:15:59 +00:00
Andrew Cagney
15ac804d2f
2004-06-13 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (DEPRECATED_MAX_REGISTER_RAW_SIZE)
(DEPRECATED_MAX_REGISTER_VIRTUAL_SIZE): Delete.
* gdbarch.h, gdbarch.c: Regenerate.
* ns32k-tdep.h (NS32K_MAX_REGISTER_RAW_SIZE)
(NS32K_MAX_REGISTER_VIRTUAL_SIZE): Delete macros.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set
deprecated_max_register_raw_size and
deprecated_max_register_virtual_size.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
2004-06-13 13:49:53 +00:00
Andrew Cagney
9709241559
Index: ChangeLog
...
2004-06-13 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (RETURN_VALUE_ON_STACK): Delete method.
* gdbarch.h, gdbarch.c: Re-generate.
* m68hc11-tdep.c (m68hc11_return_value_on_stack): Delete function.
(m68hc11_use_struct_convention): Delete function.
(m68hc11_extract_struct_value_address): Delete function.
(m68hc11_return_value): New function.
(m68hc11_gdbarch_init): Instead of store_return_value,
extract_return_value, return_value_on_stack,
deprecated_extract_struct_value_address and use_struct_convention,
set return_value.
* values.c (using_struct_return): Do not call
RETURN_VALUE_ON_STACK.
* arch-utils.h (generic_return_value_on_stack_not): Delete
declaration.
* arch-utils.c (generic_return_value_on_stack_not): Delete
function.
Index: doc/ChangeLog
2004-06-13 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Delete
description of RETURN_VALUE_ON_STACK.
2004-06-13 13:42:33 +00:00
gdbadmin
789cdc3a47
*** empty log message ***
2004-06-13 00:00:33 +00:00
Andrew Cagney
44e5158b45
2004-06-12 Andrew Cagney <cagney@gnu.org>
...
* values.c (register_value_being_returned): Delete function.
* infcmd.c (legacy_return_value): Delete function.
* infcall.c (call_function_by_hand): Inline
"register_value_being_returned", simplify.
* values.c (using_struct_return): Update comment, refer to
print_return_value instead of register_value_being_returned.
* infcmd.c (print_return_value): Inline calls to
register_value_being_returned and legacy_return_value. Simplify.
2004-06-12 18:02:30 +00:00
Michael Chastain
2efb12e85b
2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/userdef.cc: Add copyright notice.
2004-06-12 16:45:49 +00:00
Michael Chastain
0bbed51abe
2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.cp/virtfunc.cc: Add copyright notice.
2004-06-12 01:20:50 +00:00
gdbadmin
239b822e57
*** empty log message ***
2004-06-12 00:00:03 +00:00
Randolph Chung
b887c273ae
2004-06-11 Randolph Chung <tausq@debian.org>
...
* somread.c (som_symtab_read): Exclude gcc local symbols.
2004-06-11 23:44:24 +00:00
Randolph Chung
e12a46c96a
2004-06-11 Randolph Chung <tausq@debian.org>
...
* gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
problem.
2004-06-11 23:42:49 +00:00
Randolph Chung
1b2bfbb999
2004-06-11 Randolph Chung <tausq@debian.org>
...
* infrun.c (handle_inferior_event): Handle the case when a trampoline
ends up in the runtime resolver, and if the trampoline has no name.
Rearrange the code so that all the trampoline processing happens before
other step-out-of-range handling.
2004-06-11 23:39:51 +00:00
Martin Hunt
a9d61c8600
2004-06-11 Martin Hunt <hunt@redhat.com>
...
* mips-tdep.c (mips_gdbarch_init): Recognize vr4120
has no fpu.
2004-06-11 19:34:29 +00:00
Andrew Cagney
2c87cf5acf
2004-06-10 Andrew Cagney <cagney@gnu.org>
...
* blockframe.c (legacy_inside_entry_func): Delete.
(legacy_frame_chain_valid): Inline call to
legacy_inside_entry_func, simplify.
2004-06-11 00:41:56 +00:00
gdbadmin
6ecd046ef9
*** empty log message ***
2004-06-11 00:00:03 +00:00
Andrew Cagney
338e05af82
2004-06-10 Andrew Cagney <cagney@gnu.org>
...
* lib/compiler.cc, lib/compiler.c: Append either
__GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
* gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
instead of gcc-3-3.
2004-06-10 21:38:03 +00:00
Bob Rossi
0b67b46832
Sorry, date was wrong.
2004-06-10 20:08:22 +00:00
Bob Rossi
57c22c6ce1
Add the -file-list-exec-source-files command to MI.
2004-06-10 20:05:45 +00:00
Andrew Cagney
239ae8c755
2004-06-10 Andrew Cagney <cagney@gnu.org>
...
* avr-tdep.c (avr_gdbarch_init): Do not set use_struct_convention
to generic_use_struct_convention, the default value.
2004-06-10 18:25:49 +00:00
Andrew Cagney
fc720350ee
2004-06-10 Andrew Cagney <cagney@gnu.org>
...
* mn10300-tdep.c (mn10300_type_align): Call internal_error instead
of abort.
2004-06-10 17:49:50 +00:00
Andrew Cagney
9a1dd1ad41
2004-06-10 Andrew Cagney <cagney@gnu.org>
...
* ns32k-tdep.c (ns32k_push_arguments): New function.
(ns32k_gdbarch_init): Set deprecated_push_arguments.
* infcall.c (call_function_by_hand): Call error instead of
legacy_push_arguments.
* value.h (legacy_push_arguments): Delete declaration.
* valops.c (legacy_push_arguments): Delete function.
(value_push): Delete function.
2004-06-10 17:39:28 +00:00
Brian Ford
fea251526d
* coffread.c (coff_symfile_read): Prevent mixed debugging formats
...
from corrupting/reinitializing the psymtab. Support DWARF 2 frame
info.
* dbxread.c (elfstab_build_psymtabs): Remove bogus comment.
2004-06-10 15:52:04 +00:00
Andrew Cagney
30a4a8e027
2004-06-10 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (DEPRECATED_PC_IN_CALL_DUMMY): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h (deprecated_pc_in_call_dummy): Delete "sp" and "fp"
parameters.
* dummy-frame.c (deprecated_pc_in_call_dummy): Update.
* arm-tdep.c (arm_pc_is_thumb_dummy): Call
deprecated_pc_in_call_dummy instead of
DEPRECATED_PC_IN_CALL_DUMMY.
(arm_skip_prologue): Ditto.
* xstormy16-tdep.c (xstormy16_pop_frame, xstormy16_scan_prologue)
(xstormy16_frame_saved_pc, xstormy16_frame_chain): Ditto.
* v850-tdep.c (v850_find_callers_reg, v850_frame_chain)
(v850_pop_frame, v850_frame_saved_pc, v850_frame_init_saved_regs):
Ditto.
* sh64-tdep.c (sh64_frame_chain, sh64_get_saved_pr)
(sh64_init_extra_frame_info, sh64_get_saved_register)
(sh64_pop_frame): Ditto.
* mips-tdep.c (non_heuristic_proc_desc): Ditto.
* mcore-tdep.c (mcore_find_callers_reg, mcore_frame_saved_pc)
(mcore_pop_frame, mcore_init_extra_frame_info): Ditto.
* h8300-tdep.c (h8300_frame_chain, h8300_frame_saved_pc)
(h8300_pop_frame): Ditto.
* blockframe.c (legacy_inside_entry_func)
(legacy_frame_chain_valid): Ditto.
* frame.c (frame_type_from_pc, legacy_get_prev_frame): Update call
to deprecated_pc_in_call_dummy.
2004-06-10 13:22:07 +00:00
gdbadmin
888fea3c76
*** empty log message ***
2004-06-10 00:00:33 +00:00
Andrew Cagney
a1f4a1b6f2
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (:REGISTER_TO_VALUE, VALUE_TO_REGISTER): Do not
provide a default value.
(CONVERT_REGISTER_P): Default to generic_convert_register_p.
* gdbarch.h, gdbarch.c: Re-generate.
* arch-utils.c (generic_convert_register_p): Rename
legacy_convert_register_p
(legacy_register_to_value, legacy_value_to_register): Delete
functions.
* arch-utils.h (generic_convert_register_p): Rename
legacy_convert_register_p.
(legacy_register_to_value, legacy_value_to_register): Delete
declarations.
2004-06-09 21:26:48 +00:00
Andrew Cagney
9730f24123
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* gdbarch.sh (DEPRECATED_REGISTER_CONVERT_TO_RAW)
(DEPRECATED_REGISTER_CONVERT_TO_VIRTUAL)
(DEPRECATED_REGISTER_CONVERTIBLE): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* infcmd.c (default_print_registers_info): Simplify.
* findvar.c (value_of_register): Simplify.
* mi/mi-main.c (get_register): Simplify.
* arch-utils.c (legacy_convert_register_p): Always return 0.
(legacy_register_to_value, legacy_value_to_register): Always call
internal_error.
2004-06-09 20:42:29 +00:00
Andrew Cagney
8a1bf479ce
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* infptrace.c (child_xfer_memory) [CLEAR_INSN_CACHE]: Delete
#ifdef CLEAR_INSN_CACHE code.
* target.c (generic_mourn_inferior) [CLEAR_DEFERRED_STORES]:
Delete #ifdef CLEAR_DEFERRED_STORES code.
2004-06-09 20:09:42 +00:00
Andrew Cagney
4b38d6f1a4
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* solib-svr4.c [HANDLE_SVR4_EXEC_EMULATORS]: Delete #ifdef code.
2004-06-09 20:03:33 +00:00
Andrew Cagney
2d62ecc7b6
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* config/ia64/tm-linux.h (TARGET_ELF64): Delete macro, Update
copyright.
* config/ia64/tm-aix.h (TARGET_ELF64): Ditto.
2004-06-09 19:54:13 +00:00
Andrew Cagney
be4f746994
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* config/mips/mipsv4.mh: Delete file.
2004-06-09 19:46:22 +00:00
Andrew Cagney
81cfbe54ba
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* config/pa/tm-hppa64.h (HPREAD_ADJUST_STACK_ADDRESS): Delete
unreferenced macro.
(hpread_adjust_stack_address): Delete declaration.
2004-06-09 19:39:17 +00:00
Andrew Cagney
b4d946af3a
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
gdb/1455, bug is specific to "long long" and "double".
2004-06-09 17:27:57 +00:00
Andrew Cagney
dc3f10cb1a
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/structs.exp (test_struct_returns, test_struct_returns)
(test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
fixed.
2004-06-09 14:19:51 +00:00
Andrew Cagney
b5c0bfa20e
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/structs.exp (test_struct_returns): Replace
"return_value_unknown" and "finish_value_unknown" by
"return_value_known" and "finish_value_known". Instead of
"return_value_unknown" iff "finish_value_unknown", check
"return_value_known" implies "finish_value_known".
2004-06-09 13:41:06 +00:00
Andrew Cagney
1f6d4158cc
2004-06-09 Andrew Cagney <cagney@gnu.org>
...
* gdbint.texinfo (Native Debugging): Restore "@table @code"
deleted by previous patch.
2004-06-09 13:33:54 +00:00
gdbadmin
651c27e6db
*** empty log message ***
2004-06-09 00:00:03 +00:00
Andrew Cagney
d966f0cbf5
2004-06-08 Andrew Cagney <cagney@gnu.org>
...
* infptrace.c [ATTACH_DETACH]: Remove #ifdef wrappers.
(attach, detach): When neither PT_ATTACH / PT_DETACH nor
PTRACE_ATTACH / PTRACE_DETACH available call error.
(PT_ATTACH, PT_DETACH): Move definition to attach / detach.
* infttrace.c (update_thread_state_after_attach, attach, detach):
Remove #ifdef wrappers.
* inftarg.c (child_attach, child_detach): Remove #ifdef wrappers.
* gnu-nat.c [ATTACH_DETACH]: Remove #ifdef wrappers.
* config/nm-bsd.h (ATTACH_DETACH): Delete.
* config/nm-sysv4.h (ATTACH_DETACH): Delete.
* config/nm-nbsd.h (ATTACH_DETACH): Delete.
* config/nm-linux.h (ATTACH_DETACH): Delete.
* config/rs6000/nm-rs6000.h (ATTACH_DETACH): Delete.
* config/pa/nm-hppah.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386sco5.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386sco4.h (ATTACH_DETACH): Delete.
* config/i386/nm-i386gnu.h (ATTACH_DETACH): Delete.
Index: doc/ChangeLog
2004-06-08 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Native Debugging): Delete documentation on
ATTACH_DETACH.
2004-06-08 19:58:15 +00:00
Corinna Vinschen
d91670b90d
* configure.in: Set $configdir to the right OS specific value.
...
Use value when setting $tcldir and $tkdir.
* configure: Regenerate.
2004-06-08 16:29:30 +00:00
Martin Hunt
caeb605f5f
2004-06-08 Martin Hunt <hunt@redhat.com>
...
* gdb.base/float.exp: Add pattern for mips targets.
2004-06-08 15:50:59 +00:00
Paul Brook
28ba0b33be
* gdb/dwarf2-frame.c (decode_frame_entry_1): Decode version 3 CIE
...
records.
2004-06-08 13:34:56 +00:00
Paul N. Hilfinger
f26caa1115
2004-06-08 Paul N. Hilfinger <Hilfinger@gnat.com>
...
* ada-lang.c (lookup_symbol_in_language): New function to allow
re-use of another language's symbol lookup code. (Placed here
temporarily while Ada support is being integrated into the public
tree).
(restore_language): New auxiliary function for
lookup_symbol_in_language.
* ada-lang.h (lookup_symbol_in_language): Declare (Placed here
temporarily while Ada support is being integrated into the public
tree).
2004-06-08 08:42:04 +00:00
Alexandre Oliva
e75d110c68
* Makefile.in (check//%): New.
2004-06-08 05:32:51 +00:00
Alexandre Oliva
d560a54bf5
* mn10300-tdep.c (mn10300_extract_return_value): Rewrite.
...
(mn10300_store_return_value): Rewrite.
(mn10300_type_align): New.
(mn10300_use_struct_convention): Rewrite.
(mn10300_return_value): New, using all of the above.
(mn10300_pop_frame_regular): Add saved_regs_size.
(mn10300_gdbarch_init): Remove deprecated rewritten entry points.
2004-06-08 05:29:10 +00:00
Alexandre Oliva
a72fbdb7d4
* mn10300-tdep.c (mn10300_analyze_prologue): Don't compute saved
...
regs if PC is on movm.
2004-06-08 05:27:32 +00:00
Randolph Chung
c892bb6494
2004-06-08 Randolph Chung <tausq@debian.org>
...
* gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
message for unknown architectures more clear.
2004-06-08 05:15:19 +00:00
Joel Brobecker
48306d3ed7
* gdb.ada/null_record.exp: Use "start" instead of "begin" to
...
start the execution of the program.
2004-06-08 05:05:34 +00:00
gdbadmin
c9024bd5d7
*** empty log message ***
2004-06-08 00:00:02 +00:00
Jim Blandy
019048261d
Add native Linux support for the PowerPC E500.
...
* ppc-tdep.h (struct gdbarch_tdep): New member: 'ppc_gprs_pseudo_p'.
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize it to false on
all architectures except the E500.
* ppc-linux-nat.c: (PTRACE_GETEVRREGS, PTRACE_SETEVRREGS): New
#definitions.
(struct gdb_evrregset_t): New type.
(have_ptrace_getsetevrregs): New variable.
(get_spe_registers, read_spliced_spe_reg, fetch_spe_register,
fetch_spe_registers): New functions.
(fetch_register): Call fetch_spe_register as appropriate.
Assert that we're only passed raw register numbers.
(fetch_ppc_registers): Call fetch_spe_registers as appropriate.
Don't fetch gprs if they're pseudoregisters.
(set_spe_registers, write_spliced_spe_reg, store_spe_register,
store_spe_registers): New functions.
(store_register): Call store_spe_register as appropriate.
Assert that we're only passed raw register numbers.
(store_ppc_registers): Call store_spe_registers as appropriate.
Don't store gprs if they're pseudoregisters.
2004-06-07 23:37:20 +00:00
Jeff Johnston
f90ef76436
2004-06-07 Jeff Johnston <jjohnstn@redhat.com>
...
* thread-db.c (thread_get_info_callback): Fill in the thread_info
struct if one exists, even if we are dealing with a zombie thread.
2004-06-07 22:35:55 +00:00
Andrew Cagney
45b7523071
2004-06-07 Andrew Cagney <cagney@gnu.org>
...
* target.h (PC_REQUIRES_RUN_BEFORE_USE): Delete definition.
* config/pa/tm-hppa.h (DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE):
Rename PC_REQUIRES_RUN_BEFORE_USE.
* breakpoint.c (breakpoint_sals_to_pc): Update. Wrap reference in
#ifdef.
2004-06-07 17:58:33 +00:00
Jim Blandy
83ecb59f2d
* gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
...
* gdb.arch/i386-cpuid.h: New helper file.
2004-06-07 15:38:52 +00:00
Randolph Chung
1658da4930
2004-06-07 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa_frame_cache): Handle the cases when we start
unwinding after sp has been saved to the stack but before the end
of the prologue, and after the fp has been modified but before it has
been saved to the stack.
(hppa_frame_base_address, hppa_frame_base, hppa_frame_base_sniffer):
Remove superfluous definitions.
(hppa_gdbarch_init): Remove superfluous frame base sniffer.
2004-06-07 15:28:47 +00:00
Randolph Chung
55264cb45f
2004-06-07 Randolph Chung <tausq@debian.org>
...
* gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
has started.
2004-06-07 15:24:44 +00:00
Randolph Chung
9a727a3c4f
2004-06-07 Guy Martin <gmsoft@gentoo.org>
...
Committed by Randolph Chung.
* hppa-linux-nat.c: Include the correct version of the header file
depending on the kernel version.
2004-06-07 15:19:08 +00:00
Randolph Chung
86fe4aaa40
2004-06-06 Randolph Chung <tausq@debian.org>
...
* gdb.texinfo (push_dummy_call): Use @code{struct value}.
2004-06-07 04:31:11 +00:00
Randolph Chung
9e50001290
2004-06-06 Randolph Chung <tausq@debian.org>
...
* infrun.c (trap_expected_after_continue): Remove HP_OS_BUG workaround.
(proceed, init_wait_for_inferior, handle_inferior_event): Likewise.
2004-06-07 02:19:07 +00:00
Randolph Chung
3388d7ff41
2004-06-06 Randolph Chung <tausq@debian.org>
...
* hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline)
(hppa_hpux_skip_trampoline_code): Don't cache symbol values.
* hppa-linux-tdep.c (hppa_linux_in_dyncall): Likewise.
* hppa-tdep.c (hppa_symbol_address): New function definition.
* hppa-tdep.h (hppa_symbol_address): New function declaration.
2004-06-07 02:17:29 +00:00
Randolph Chung
d4b6d57569
2004-06-06 Randolph Chung <tausq@debian.org>
...
* gdb.texinfo (push_dummy_call): Update argument list to match
the new push_dummy_call method signature. Describe the function
argument.
2004-06-07 02:12:59 +00:00
Randolph Chung
d49771efb5
2004-06-06 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.h (struct value): Forward declaration.
(gdbarch_tdep): Define tdep find_global_pointer method.
* hppa-tdep.c (hppa32_push_dummy_call): Find the global pointer
associated with the function we are trying to call, and write it
to the gp register.
(hppa32_convert_from_funct_ptr_addr): New function.
(hppa_find_global_pointer): New function.
(hppa_gdbarch_init): Set default find_global_pointer method; set
convert_from_func_ptr_addr method.
* hppa-linux-tdep.c (hppa_linux_find_global_pointer): New function.
(hppa_linux_init_abi): Set find_global_pointer method.
* Makefile.in (hppa-linux-tdep.o): Add value.h dependency.
2004-06-07 02:08:07 +00:00
Randolph Chung
7d9b040b53
2004-06-06 Randolph Chung <tausq@debian.org>
...
* gdbarch.sh (PUSH_DUMMY_CALL): Change CORE_ADDR func_addr argument
to struct value *function.
* gdbarch.c: Regenerate.
* gdbarch.h: Likewise.
* infcall.c (call_function_by_hand): Pass entire function value
to push_dummy_call.
* Makefile.in (alpha-tdep.o, frv-tdep.o, ia64-tdep.o, mips-tdep.o)
(ppc-sysv-tdep.o, rs6000-tdep.o): Update dependencies.
* alpha-tdep.c (alpha_push_dummy_call): Update call signature.
* amd64-tdep.c (amd64_push_dummy_call): Likewise.
* arm-tdep.c (arm_push_dummy_call): Likewise.
* avr-tdep.c (avr_push_dummy_call): Likewise.
* cris-tdep.c (cris_push_dummy_call): Likewise.
* d10v-tdep.c (d10v_push_dummy_call): Likewise.
* frv-tdep.c (frv_push_dummy_call): Likewise.
* h8300-tdep.c (h8300_push_dummy_call): Likewise.
* hppa-tdep.c (hppa32_push_dummy_call)
(hppa64_push_dummy_call): Likewise.
* i386-tdep.c (i386_push_dummy_call): Likewise.
* ia64-tdep.c (ia64_push_dummy_call): Likewise.
* m32r-tdep.c (m32r_push_dummy_call): Likewise.
* m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise.
* m68k-tdep.c (m68k_push_dummy_call): Likewise.
* m88k-tdep.c (m88k_push_dummy_call): Likewise.
* mips-tdep.c (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
(mips_o32_push_dummy_call, mips_o64_push_dummy_call): Likewise.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
(ppc64_sysv_abi_push_dummy_call): Likewise.
* ppc-tdep.h (ppc_sysv_abi_push_dummy_call)
(ppc64_sysv_abi_push_dummy_call): Likewise.
* rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
* s390-tdep.c (s390_push_dummy_call): Likewise.
* sh-tdep.c (sh_push_dummy_call_fpu)
(sh_push_dummy_call_nofpu): Likewise.
* sparc-tdep.c (sparc32_push_dummy_call): Likewise.
* sparc64-tdep.c (sparc64_push_dummy_call): Likewise.
* vax-tdep.c (vax_push_dummy_call): Likewise.
2004-06-07 02:02:55 +00:00
gdbadmin
0985fe3f1c
*** empty log message ***
2004-06-07 00:00:32 +00:00
gdbadmin
88506212ce
*** empty log message ***
2004-06-06 00:00:32 +00:00
Jim Blandy
8327ccee5c
* ppc-linux-nat.c (fetch_register): Don't forget to pass the
...
gdbarch argument to register_size.
2004-06-05 03:25:22 +00:00
Jim Blandy
a3c001cee0
* rs6000-tdep.c (rs6000_store_return_value): Use
...
regcache_cooked_write_part instead of
deprecated_write_register_bytes.
(rs6000_gdbarch_init): Register it for gdbarch_store_return_value,
not gdbarch_deprecated_store_return_value.
2004-06-05 00:11:49 +00:00
Roland McGrath
23cadb2867
.
2004-06-05 00:11:06 +00:00
Roland McGrath
c1b5970d70
2004-06-04 Roland McGrath <roland@redhat.com>
...
* gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
differently to be robust to output buffering differences.
2004-06-05 00:09:26 +00:00
gdbadmin
e303426700
*** empty log message ***
2004-06-05 00:00:04 +00:00
Michael Chastain
51d01eda1d
2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.threads/pthreads.exp: Update copyright years.
(check_control_c): Change asynchronous 'after' to synchronous.
2004-06-04 23:27:50 +00:00
Jim Blandy
4a19ea356e
* ppc-linux-nat.c (store_register, fetch_register): Remove
...
incorrect assertions. Simplify and generalize handling of
transfers whose sizes are not multiples of, or less than, sizeof
(PTRACE_XFER_TYPE).
2004-06-04 23:07:28 +00:00
Roland McGrath
f4fc3b93e2
.
2004-06-04 21:36:23 +00:00
Roland McGrath
f1ed375c85
2004-06-04 Roland McGrath <roland@redhat.com>
...
* gdb.base/auxv.exp (fetch_auxv): Consume output fully through
next gdb prompt.
2004-06-04 21:36:06 +00:00
Jeff Johnston
b9b5d7ea4d
2004-06-04 Jeff Johnston <jjohnstn@redhat.com>
...
* infrun.c (handle_inferior_event): Don't treat an invalid ptid
as a new thread event.
* thread_db.c (thread_get_info_callback): If the thread is a
zombie, return TD_THR_ZOMBIE.
* (thread_from_lwp): If thread_get_info_callback returns
TD_THR_ZOMBIE, check if the thread is still on the thread list
and return a -1 ptid if not found.
(thread_db_wait): If thread_from_lwp returns a -1 ptid, then
change the status to TARGET_WAITKIND_SPURIOUS.
2004-06-04 21:28:15 +00:00
gdbadmin
62fd1fc14d
*** empty log message ***
2004-06-04 00:00:03 +00:00
Michael Chastain
4013522b5c
2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
...
Fix PR gdb/1636.
* gdb.threads/manythreads.exp: Change asynchronous 'after'
calls to synchronous.
2004-06-03 22:10:56 +00:00
Corinna Vinschen
c8a3b559eb
* sh-tdep.c (sh3e_sh4_store_return_value): Correctly store
...
double values in little endian mode.
2004-06-03 11:46:34 +00:00
gdbadmin
b7e784a7f2
*** empty log message ***
2004-06-03 00:00:32 +00:00
Andrew Cagney
2060536186
2004-06-02 Albert Chin-A-Young <china@thewrittenword.com>
...
Committed by Andrew Cagney.
* gdb/dictionary.c, gdb/gdbtypes.h: Remove trailing comma
after last enum constant to avoid error from IBM C
compiler.
2004-06-02 21:01:55 +00:00
Jim Blandy
1da28ab05f
* ppc-linux-nat.c (store_register): Remove unused local 'offset'.
2004-06-02 18:24:35 +00:00
Jim Blandy
bc97b3ba79
* ppc-linux-nat.c (store_register, fetch_register): Rename 'mess'
...
to 'message', and make it local to the lone block that uses it.
2004-06-02 18:17:05 +00:00