Andrew Cagney
54a5b07d66
2004-07-28 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.c (lookup_primitive_typename): Delete function.
* gdbtypes.h (lookup_primitive_typename): Delete declaration.
* ada-lex.l: Use language_lookup_primitive_type_by_name.
* gdbtypes.c (lookup_typename): Ditto.
* f-exp.y (yylex): Ditto.
* c-exp.y (yylex): Ditto, eliminate assignment in "if".
2004-07-28 15:49:04 +00:00
Andrew Cagney
e9667a656b
2004-07-28 Andrew Cagney <cagney@gnu.org>
...
* scm-lang.c (c_builtin_types): Delete extern declaration.
(scm_language_defn): Replace
string_char_type and primitive_type_vector with
la_language_arch_info.
* jv-lang.c (java_language_defn): Replace
string_char_type and primitive_type_vector with
la_language_arch_info.
* config/i386/i386sco4.mh (NATDEPFILES): Remove reference to
c_builtin_types in comment.
* c-lang.h (struct language_arch_info): Declare opaque.
(c_language_arch_info): Declare.
(c_builtin_types): Delete declaration.
* c-lang.c (c_language_arch_info): Set string_char_type to
builtin_char, not builtin_true_char. Make global.
(c_builtin_types): Delete array.
(asm_language_defn, minimal_language_defn): Replace
string_char_type and primitive_type_vector with
la_language_arch_info.
2004-07-28 15:18:08 +00:00
Andrew Cagney
685419e2ae
2004-07-28 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.h (struct builtin_type): Rename true_char to
builtin_true_char.
* gdbtypes.c (gdbtypes_post_init): Update.
* c-lang.c (arch_info): New function.
(enum c_primitive_types): New enum.
(c_language_defn): Instead of string_char_type and
primitive_type_vector set la_language_arch_info.
2004-07-28 14:32:19 +00:00
Andrew Cagney
5a44ea29ae
2004-07-28 Andrew Cagney <cagney@gnu.org>
...
* language.h (struct language_arch_info): Fix typo
s/primative/primitive/.
* gdbtypes.c (lookup_primitive_typename): Ditto.
* language.c (language_lookup_primitive_type_by_name)
(unknown_language_arch_info): Ditto.
2004-07-28 04:33:49 +00:00
Andrew Cagney
f290d38e06
2004-07-27 Andrew Cagney <cagney@gnu.org>
...
* defs.h (enum language): Add nr_languages.
* language.h (struct language_arch_info): Define.
(struct language_defn): Add la_language_arch_info.
(language_lookup_primative_type_by_name): Declare.
(language_string_char_type): Declare.
* language.c (_initialize_language, language_gdbarch_post_init)
(struct language_gdbarch, language_gdbarch_data): Implement
per-architecture language information.
(unknown_language_arch_info, language_string_char_type)
(language_lookup_primative_type_by_name): New functions.
(unknown_language_defn, auto_language_defn)
(local_language_defn): Set la_language_arch_info to
unknown_language_arch_info.
(unknown_builtin_types): Delete.
* gdbtypes.c (lookup_primitive_typename): Use
language_lookup_primative_type_by_name.
(create_string_type): Use language_string_char_type.
* values.c (value_from_string): Use language_string_char_type.
* scm-lang.c (scm_language_defn): Add NULL la_language_arch_info.
* p-lang.c (pascal_language_defn): Ditto.
* m2-lang.c (m2_language_defn): Ditto.
* jv-lang.c (java_language_defn): Ditto.
* objc-lang.c (objc_language_defn): Ditto.
* f-lang.c (f_language_defn): Ditto.
* c-lang.c (c_language_defn, cplus_language_defn)
(asm_language_defn, minimal_language_defn): Ditto.
2004-07-28 02:46:24 +00:00
Andrew Cagney
000177f0ad
2004-07-27 Andrew Cagney <cagney@gnu.org>
...
* gdbtypes.h (struct builtin_type): Declare.
(builtin_type): Declare.
* d10v-tdep.c (d10v_register_type): Use builtin_type.
* gdbtypes.c (_initialize_gdbtypes): Register gdbtypes_post_init.
(gdbtypes_post_init): New function.
(builtin_type): New function.
2004-07-28 02:03:52 +00:00
gdbadmin
a2250d5ae7
*** empty log message ***
2004-07-28 00:00:03 +00:00
Jeff Johnston
5633ea5c9f
2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
...
* gdb.threads/watchthreads.exp: New test for threaded watchpoints.
2004-07-27 23:40:49 +00:00
Nick Clifton
575eebb19f
Use -gdwarf2 in preference to -gstabs for Sparc64.
2004-07-27 09:28:42 +00:00
Kazuhiro Inaoka
e22f895c47
2004-07-27 Kei Sakamoto <sakamoto.kei@renesas.com>
...
* remote-m32r-sdi.c: Fix breakpoint bug.
(send_cmd, send_one_arg_cmd, send_two_arg_cmd, send_three_arg_cmd,
recv_char_data, recv_long_data): New functions to replace communication
sequences.
2004-07-27 01:00:42 +00:00
Michael Chastain
536517dd94
2004-07-26 Michael Chastain <mec.gnu@mindspring.com>
...
Document PR threads/1650.
* PROBLEMS (Threads): Document problem with many threads
2004-07-27 00:01:17 +00:00
gdbadmin
96e4e6b477
*** empty log message ***
2004-07-27 00:00:02 +00:00
Andrew Cagney
a0a44d18ab
Index: ChangeLog
...
2004-07-26 Andrew Cagney <cagney@gnu.org>
* gdb-mi.el: Move from here ...
* mi/gdb-mi.el: ... to here.
2004-07-26 21:52:34 +00:00
Andrew Cagney
7ac4ac0619
2004-07-26 Andrew Cagney <cagney@gnu.org>
...
Problem reported by Ashley Pittman <ashley@quadrics.com>.
* main.c (captured_main): When in batch mode always detach.
2004-07-26 19:01:51 +00:00
Andrew Cagney
a1b461bf40
2004-07-26 Andrew Cagney <cagney@gnu.org>
...
* MAINTAINERS: Mark the xstormy16, sh64, ns32k, mn10300, mcore,
and h8300 as broken.
* NEWS: END-OF-LIFE frame compatibility module.
* PROBLEMS: For "Stack backtraces", remove powerpc, hppa and mips
specific comments.
2004-07-26 18:30:19 +00:00
Andrew Cagney
cb1a6d5f51
2004-07-26 Andrew Cagney <cagney@gnu.org>
...
* cli/cli-decode.c (deprecated_add_show_from_set): Deprecate.
* xcoffsolib.c (_initialize_xcoffsolib): Update.
* wince.c (_initialize_wince): Update.
* win32-nat.c (_initialize_win32_nat): Update.
* varobj.c (_initialize_varobj): Update.
* valops.c (_initialize_valops): Update.
* utils.c (initialize_utils, initialize_utils): Update.
* tui/tui-win.c (_initialize_tui_win): Update.
* top.c (init_main): Update.
* symfile.c (_initialize_symfile): Update.
* source.c (_initialize_source): Update.
* somsolib.c (_initialize_som_solib): Update.
* solib.c (_initialize_solib): Update.
* solib-frv.c (_initialize_frv_solib): Update.
* serial.c (_initialize_serial): Update.
* ser-go32.c (_initialize_ser_dos, _initialize_ser_dos): Update.
* remote.c (_initialize_remote, _initialize_remote): Update.
* remote-vx.c (_initialize_vx): Update.
* remote-utils.c (_initialize_sr_support): Update.
* remote-sds.c (_initialize_remote_sds): Update.
* remote-mips.c (_initialize_remote_mips): Update.
* remote-e7000.c (_initialize_remote_e7000): Update.
* proc-api.c (_initialize_proc_api): Update.
* printcmd.c: Update.
* parse.c (_initialize_parse): Update.
* pa64solib.c (_initialize_pa64_solib): Update.
* p-valprint.c (_initialize_pascal_valprint): Update.
* monitor.c (_initialize_remote_monitors): Update.
* mips-tdep.c (_initialize_mips_tdep): Update.
* mcore-tdep.c (_initialize_mcore_tdep): Update.
* maint.c (_initialize_maint_cmds): Update.
* lin-lwp.c (_initialize_lin_lwp): Update.
* language.c (_initialize_language): Update.
* kod.c (_initialize_kod): Update.
* infrun.c (set_schedlock_func, _initialize_infrun): Update.
* i386-tdep.c (_initialize_i386_tdep): Update.
* gdbtypes.c (build_gdbtypes, _initialize_gdbtypes): Update.
* gdbarch.sh: Update.
* gdbarch.c: Re-generate.
* gdb-events.sh: Update.
* gdb-events.c: Re-generate.
* frame.c (_initialize_frame): Update.
* exec.c: Update.
* demangle.c (_initialize_demangler): Update.
* dcache.c (_initialize_dcache): Update.
* cris-tdep.c (_initialize_cris_tdep, cris_version_update): Update.
* cp-valprint.c (_initialize_cp_valprint): Update.
* corefile.c (_initialize_core): Update.
* command.h: Update.
* cli/cli-decode.h: Update.
* cli/cli-cmds.c (init_cli_cmds): Update.
* charset.c (_initialize_charset): Update.
* breakpoint.c (_initialize_breakpoint): Update.
* arm-tdep.c (_initialize_arm_tdep_initialize_arm_tdep): Update.
* alpha-tdep.c (_initialize_alpha_tdep): Update.
* aix-thread.c (_initialize_aix_thread): Update.
2004-07-26 14:53:06 +00:00
gdbadmin
f3f0e6de72
*** empty log message ***
2004-07-26 00:00:33 +00:00
gdbadmin
480e9c657a
*** empty log message ***
2004-07-25 00:00:33 +00:00
Mark Kettenis
b463213160
Partial fix for PR backtrace/1718.
...
* i386-tdep.c (i386_analyze_frame_setup): Handle more instructions
that GCC migrates into the prolugue. Don't handle any
instructions that clobber %ebx.
2004-07-24 12:59:52 +00:00
Andrew Cagney
822c97322c
2004-07-23 Andrew Cagney <cagney@gnu.org>
...
Use regcache_raw_collect instead of regcache_collect.
* regcache.h (regcache_collect): Delete declaration.
* regcache.c (regcache_colect): Delete function.
* win32-nat.c (do_child_store_inferior_registers): Update.
* sol-thread.c (sol_thread_store_registers): Update.
* shnbsd-tdep.c (shnbsd_fill_reg): Update.
* rs6000-nat.c (store_register): Update.
* remote.c (store_register_using_P, remote_store_registers): Update.
* ppcnbsd-tdep.c (ppcnbsd_fill_reg): Update.
* ppc-linux-nat.c (store_altivec_register, store_spe_register)
(fill_vrregset, store_spe_registers, fill_gregset)
(fill_gregset): Update.
* nto-procfs.c (procfs_store_registers): Update.
* mipsnbsd-tdep.c (mipsnbsd_fill_reg): Update.
* mips-linux-tdep.c (fill_gregset, mips64_fill_gregset): Update.
* m68klinux-nat.c (store_register, fill_gregset): Update.
* m68k-tdep.c (fill_gregset): Update.
* infptrace.c (store_register): Update.
* i386-nto-tdep.c (i386nto_regset_fill): Update.
* i386-linux-nat.c (store_register, fill_gregset): Update.
* hppa-linux-nat.c (fill_gregset): Update.
* go32-nat.c (store_register): Update.
* armnbsd-nat.c (store_register, store_regs, store_fp_register)
(store_fp_regs): Update.
* arm-linux-nat.c (store_nwfpe_single, store_nwfpe_double)
(store_nwfpe_extended, store_fpregister, store_fpregs)
(store_register, store_regs, fill_gregset, fill_fpregset): Update.
* alpha-tdep.c (alpha_fill_int_regs, alpha_fill_fp_regs): Update.
* aix-thread.c (fill_gprs64, fill_fprs, fill_sprs64, fill_sprs32)
(store_regs_user_thread, store_regs_kernel_thread): Update.
2004-07-24 01:00:21 +00:00
gdbadmin
49a13555d6
*** empty log message ***
2004-07-24 00:00:33 +00:00
Mark Kettenis
621046191f
* gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
...
* gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
(main): Call new function.
2004-07-23 22:08:39 +00:00
Mark Kettenis
32b05c072b
* dwarf2-frame.c (struct dwarf2_cie): Delete `addr_size' member.
...
(decode_frame_entry_1): Use DW_EH_PE_absptr as default for CIE
encoding.
(dwarf2_build_frame_info): Adjust for removal of `addr_size'
member of `struct comp_unit'.
2004-07-23 22:05:20 +00:00
Andrew Cagney
8567c30fd0
2004-07-23 Andrew Cagney <cagney@gnu.org>
...
* infrun.c (handle_inferior_event): Separate the STEP_OVER_ALL and
DEPRECATED_IGNORE_HELPER_CALL cases, only #ifdef the latter.
2004-07-23 19:37:21 +00:00
Martin Hunt
f6da8dd80e
2004-07-23 Martin Hunt <hunt@redhat.com>
...
Kevin Buettner <kevinb@redhat.com>
* dwarf2-frame.c (execute_cfa_program): Fix typo in which the
alignment was being added to the offset instead of multiplied.
2004-07-23 17:46:03 +00:00
Mark Kettenis
24f033e800
* sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Adjust for
...
changed signal trampoline in OpenBSD 3.5-current.
2004-07-23 13:43:36 +00:00
Mark Kettenis
90f3cecd6a
* sparc64nbsd-nat.c: Include "regcache.h", <sys/types.h>,
...
<machine/pcb.h> and "bsd-kvm.h".
(sparc64nbsd_supply_pcb): New function.
(_initialize_sparc64nbsd_nat): Renamed from
_initialize_sparcnbsd_nat. Enable libkvm interface.
* Makefile.in (sparc64nbsd-nat.o): Update dependencies.
* config/sparc/nbsd64.mh (NATDEPFILES): Add bsd-kvm.o
(LOADLIBES): New variable.
2004-07-23 10:33:37 +00:00
Mark Kettenis
a4954a62fc
* config/sparc/obsd64.mt (TDEPFILES): Add sparcobsd-tdep.o.
2004-07-23 00:15:11 +00:00
gdbadmin
796d3503cd
*** empty log message ***
2004-07-23 00:00:03 +00:00
Mark Kettenis
bd921882b7
* sparcnbsd-nat.c (sparc32nbsd_supply_pcb): Fix typo in comment.
2004-07-22 23:07:37 +00:00
Michael Chastain
4a1135b808
2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
...
Test for PR exp/1715.
* gdb.base/radix.exp: Refactor common procedures. Make all
test names unique. Change XFAIL to KFAIL.
2004-07-22 09:56:42 +00:00
Andrew Cagney
23a6d36940
2004-07-21 Andrew Cagney <cagney@gnu.org>
...
Use regcache_raw_supply instead of supply_register.
* regcache.h (supply_register): Delete declaration.
* regcache.c (supply_register): Delete function.
* wince.c (do_child_fetch_inferior_registers): Update.
* win32-nat.c (do_child_fetch_inferior_registers)
(fetch_elf_core_registers): Update.
* v850ice.c (v850ice_fetch_registers): Update.
* thread-db.c (thread_db_store_registers): Update.
* sol-thread.c (sol_thread_store_registers): Update.
* shnbsd-tdep.c (shnbsd_supply_reg): Update.
* rs6000-nat.c (fetch_register): Update.
* rom68k-rom.c (rom68k_supply_one_register): Update.
* remote.c (remote_wait, remote_async_wait): Update.
* remote-st.c (get_hex_regs): Update.
* remote-sim.c (gdbsim_fetch_register): Update.
* remote-sds.c (sds_fetch_registers): Update.
* remote-rdp.c (remote_rdp_fetch_register): Update.
* remote-rdi.c (arm_rdi_fetch_registers): Update.
* remote-mips.c (mips_wait, mips_fetch_registers): Update.
* remote-m32r-sdi.c (m32r_fetch_register): Update.
* remote-hms.c (init_hms_cmds): Update.
* remote-est.c (init_est_cmds): Update.
* remote-e7000.c (get_hex_regs, fetch_regs_from_dump)
(e7000_fetch_registers, sub2_from_pc, e7000_wait): Update.
* ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_supply_fpreg): Update.
* ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register)
(fetch_register, supply_vrregset, supply_vrregset)
(fetch_spe_registers): Update.
* ppc-bdm.c (bdm_ppc_fetch_registers): Update.
* monitor.c (monitor_supply_register): Update.
* mipsv4-nat.c (supply_gregset, supply_fpregset): Update.
* mipsnbsd-tdep.c (mipsnbsd_supply_reg)
(mipsnbsd_supply_fpreg): Update.
* mips-nat.c (fetch_inferior_registers)
(fetch_core_registers): Update.
* mips-linux-tdep.c (supply_32bit_reg, supply_gregset)
(supply_fpregset, mips64_supply_gregset)
(mips64_supply_fpregset): Update.
* m68klinux-nat.c (fetch_register, supply_gregset)
(supply_fpregset): Update.
* m68k-tdep.c (supply_gregset, supply_fpregset): Update.
* m32r-rom.c (init_m32r_cmds, init_mon2000_cmds): Update.
* lynx-nat.c (fetch_inferior_registers, fetch_core_registers): Update.
* irix5-nat.c (supply_gregset, supply_fpregset): Update.
* infptrace.c (fetch_register): Update.
* ia64-linux-nat.c (supply_gregset, supply_fpregset): Update.
* ia64-aix-nat.c (supply_gregset, supply_fpregset): Update.
* i386gnu-nat.c (fetch_fpregs, supply_gregset)
(gnu_fetch_registers, gnu_store_registers): Update.
* i386-nto-tdep.c (i386nto_supply_gregset): Update.
* i386-linux-nat.c (fetch_register, supply_gregset)
(dummy_sse_values): Update.
* hpux-thread.c (hpux_thread_fetch_registers): Update.
* hppah-nat.c (fetch_register): Update.
* hppa-linux-nat.c (fetch_register, supply_gregset)
(supply_fpregset): Update.
* go32-nat.c (fetch_register): Update.
* dve3900-rom.c (fetch_bitmapped_register)
(_initialize_r3900_rom): Update.
* cris-tdep.c (supply_gregset): Update.
* abug-rom.c (init_abug_cmds): Update.
* core-aout.c (fetch_core_registers): Update.
* armnbsd-nat.c (supply_gregset, supply_fparegset)
(fetch_register, fetch_fp_register): Update.
* arm-linux-nat.c (fetch_nwfpe_single, fetch_nwfpe_none)
(fetch_nwfpe_extended, fetch_fpregister, fetch_fpregs)
(fetch_register, fetch_regs, supply_gregset, supply_fpregset): Update.
* alphanbsd-tdep.c (fetch_core_registers): Update.
* alpha-tdep.c (alpha_supply_int_regs, alpha_supply_fp_regs): Update.
* alpha-nat.c (fetch_osf_core_registers)
(fetch_osf_core_registers, fetch_osf_core_registers): Update.
* aix-thread.c (supply_gprs64, supply_reg32, supply_fprs)
(supply_sprs64, supply_sprs32, fetch_regs_kernel_thread): Update.
2004-07-22 01:31:49 +00:00
gdbadmin
5c32809d84
*** empty log message ***
2004-07-22 00:00:02 +00:00
Andrew Cagney
73cc75f3b2
2004-07-21 Andrew Cagney <cagney@gnu.org>
...
* PROBLEMS: Mention breakpoints/1702.
* NEWS: For signal trampolines, cite s390 GNU/Linux as a system
that is known to work.
2004-07-21 16:17:56 +00:00
Andrew Cagney
a53c66de31
2004-07-21 Andrew Cagney <cagney@gnu.org>
...
* config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Deprecate.
* mips-tdep.c (mips_dump_tdep, mips_ignore_helper): Update.
* infrun.c (DEPRECATED_IGNORE_HELPER_CALL): Delete macro.
(handle_inferior_event): Wrap call to deprecated
IGNORE_HELPER_CALL in #ifdef.
* config/mips/tm-nbsd.h: Update.
2004-07-21 14:23:37 +00:00
gdbadmin
f6d87cd6b1
*** empty log message ***
2004-07-21 00:00:02 +00:00
Michael Chastain
8a12c1f0c4
2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.ada/gnat_ada.gpr.in: Rename from here ...
* gdb.ada/gnat_ada.gin: ... to here.
* configure.in: Use gnat_ada.gin.
* configure: Regenerate.
2004-07-20 23:11:21 +00:00
Jim Blandy
412b306056
* rs6000-tdep.c (rs6000_gdbarch_init): The register set used for
...
bfd_mach_ppc has no segment registers.
2004-07-20 22:09:53 +00:00
Jim Blandy
13ac140c31
Include PowerPC SPR numbers for special-purpose registers.
...
* rs6000-tdep.c (struct reg): Add new member, 'spr_num'.
(R, R4, R8, R16, F, P, R32, R64, R0): Include value for
new member in initializer.
(S, S4, SN4, S64): New macros for defining special-purpose
registers.
(PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS, PPC_OEA_SPRS, registers_power,
registers_403, registers_403GC, registers_505, registers_860,
registers_601, registers_602, registers_603, registers_604,
registers_750, registers_e500): Use them.
2004-07-20 22:08:37 +00:00
Jim Blandy
708ff41185
* rs6000-tdep.c (rs6000_gdbarch_init): Delete variable 'power';
...
replace references with expression used to initialize variable.
2004-07-20 22:06:05 +00:00
Andrew Cagney
23b451cfe2
2004-07-20 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/signals.exp: Replace send_gdb and gdb_expect with
gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
XFAILs. Clean up test messages and comments. Check backtraces.
Delete re-sync code.
2004-07-20 19:59:26 +00:00
Andrew Cagney
1f602b35ff
2004-07-20 Andrew Cagney <cagney@gnu.org>
...
* breakpoint.c (deprecated_read_memory_nobpt): Rename
read_memory_nobpt.
* sparc-linux-tdep.c (sparc_linux_sigtramp_start): Update.
* s390-tdep.c (s390_readinstruction, s390_in_function_epilogue_p)
(s390_sigtramp_frame_sniffer): Update.
* mn10300-tdep.c (mn10300_analyze_prologue): Update.
* mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Update.
* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
(mips32_fetch_instruction): Update.
* mcore-tdep.c (get_insn): Update.
* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Update.
* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Update.
* i386ly-tdep.c (i386lynx_saved_pc_after_call): Update.
* i386-linux-tdep.c (i386_linux_sigtramp_start)
(i386_linux_rt_sigtramp_start): Update.
* i386-linux-nat.c (child_resume): Update.
* hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Update.
* hppa-linux-tdep.c (insns_match_pattern): Update.
* gdbcore.h: Update.
* frv-tdep.c (frv_gdbarch_adjust_breakpoint_address): Update.
* frame.c (safe_frame_unwind_memory): Update.
* amd64-linux-tdep.c (amd64_linux_sigtramp_start): Update.
* alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Update.
* alpha-tdep.c (alpha_read_insn): Update.
2004-07-20 19:45:07 +00:00
Andrew Cagney
2cd8546d13
2004-07-20 Andrew Cagney <cagney@gnu.org>
...
* tramp-frame.h (struct tramp_frame): Change "insn" to a struct
containing both bytes and mask. Add "frame_type".
* tramp-frame.c (tramp_frame_start): Update.
(tramp_frame_prepend_unwinder): Update.
* mips-linux-tdep.c (mips_linux_o32_sigframe)
(mips_linux_o32_rt_sigframe, mips_linux_n32_rt_sigframe)
(mips_linux_n64_rt_sigframe): Update. Make "static const".
* ppcnbsd-tdep.c (tramp_frame ppcnbsd_sigtramp): Update.
2004-07-20 15:11:37 +00:00
Michael Chastain
83938a4eb9
Argh, I screwed up and committed a ChangeLog entry for a patch
...
that is still in the comment period. Sorry!
2004-07-20 00:26:35 +00:00
Michael Chastain
ab618a0235
2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
...
Fix PR cli/740.
* gdb.base/annota1.exp: Honor gdb,nosignals.
* gdb.base/annota3.exp: Likewise.
2004-07-20 00:24:41 +00:00
gdbadmin
3628158c3e
*** empty log message ***
2004-07-20 00:00:02 +00:00
Michael Chastain
46dad34018
2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/java.exp: Update copyright notice.
2004-07-19 21:33:53 +00:00
Eli Zaretskii
f928dd6282
Add remapping for bfd/elf32-cr*.c,
...
bfd/elf32-sh-symbian.c, bfd/elf32-sh64-com.c,
sim/testsuite/sim/mips/hilo-hazard-[123].s, and
sim/testsuite/sim/mips/fpu64-ps-sb1.s.
2004-07-19 18:42:39 +00:00
Andrew Cagney
756d8c7093
2004-07-19 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/selftest.exp: Copy file from here ...
* gdb.gdb/selftest.exp: ... to here.
2004-07-19 13:58:21 +00:00
gdbadmin
db28a2ca38
*** empty log message ***
2004-07-19 00:00:04 +00:00
Andrew Cagney
860660cb5b
GRR, commit was lost.
2004-07-18 22:29:40 +00:00
gdbadmin
f8470a04c2
*** empty log message ***
2004-07-18 00:00:02 +00:00
Andrew Cagney
8c266f54ea
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* README: Update to 6.2.
2004-07-17 14:46:39 +00:00
Andrew Cagney
a552edd94e
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* utils.c (xvasprintf): Call xstrvprintf.
2004-07-17 14:42:01 +00:00
Andrew Cagney
c4a172b506
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* parse.c: Update copyright.
(null_post_parser): Eliminate ARGSUSED.
2004-07-17 14:27:55 +00:00
Andrew Cagney
da745b36fd
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* ppc-linux-nat.c (store_spe_registers): Eliminate K&R C.
* tui/tui-win.c (tui_get_cmd_list): Ditto.
* symfile-mem.c (_initialize_symfile_mem): Ditto.
2004-07-17 14:24:07 +00:00
Andrew Cagney
9cbc6ef04e
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* ppc-linux-tdep.c (ppc_linux_init_abi): Add [sic] to Linux.
* ppc-linux-nat.c: Use "Linux kernel".
* hppa-linux-tdep.c: Use GNU/Linux.
* hppa-linux-nat.c: Use GNU/Linux.
* dwarfread.c: Add [sic] to use of Linux.
2004-07-17 14:15:30 +00:00
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
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