Jim Blandy
02631ec09e
* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): New
...
function.
(ppc_linux_init_abi): Register it as the
CONVERT_FROM_FUNC_PTR_ADDR method under the PPC64 Linux ABI.
2003-06-24 23:06:04 +00:00
Jim Blandy
e716d87a00
* ppc-linux-tdep.c (ppc64_call_dummy_address): New function.
...
(ppc_linux_init_abi): Set it as the gdbarch's call_dummy_address
method.
2003-06-24 23:03:31 +00:00
Jim Blandy
d64558a59f
* ppc-linux-tdep.c (ppc64_desc_entry_point): New function.
...
(ppc64_standard_linkage_target): Use it.
2003-06-24 23:02:10 +00:00
Joel Brobecker
e766d4d601
* gdb.base/bang.exp: New testcase.
2003-06-24 22:04:06 +00:00
Joel Brobecker
4e562065db
* gdb.texinfo (Unsupported languages): New section.
...
(Languages): Add link to new section.
2003-06-24 21:59:37 +00:00
gdbadmin
f5ee3ffaa6
*** empty log message ***
2003-06-24 00:00:01 +00:00
Joel Brobecker
f125c9a4e9
* gdb.base/langs.exp: Add some tests for the "minimal" language
...
support.
2003-06-23 22:42:50 +00:00
Andrew Cagney
449a5da47c
2003-06-23 Andrew Cagney <cagney@redhat.com>
...
* rs6000-tdep.c (rs6000_register_virtual_type): Add explict cases
for 0 "int0" and 4 "int32" sized registers.
* gdbtypes.c (builtin_type_int0): Define.
(build_gdbtypes): Initialize builtin_type_int0.
* gdbtypes.h (builtin_type_int0): Declare.
2003-06-23 21:05:40 +00:00
Elena Zannoni
6e25beafa9
2003-06-23 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.objc/basicclass.exp: Return -1 if we cannot compile
the testcase.
2003-06-23 20:20:31 +00:00
Stephane Carrez
b2a02dda88
* m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed
...
as characters are unsigned.
2003-06-23 20:06:37 +00:00
Daniel Jacobowitz
fba3138ed5
PR gdb/1179
...
* dwarfread.c (struct_type): Skip static fields without crashing.
2003-06-23 19:51:38 +00:00
Andrew Cagney
f2c06f5281
2003-06-22 Andrew Cagney <cagney@redhat.com>
...
GDB 6.0 branch created.
* README: Update.
* PROBLEMS: Update. Empty.
* NEWS: Update.
Index: doc/ChangeLog
2003-06-22 Andrew Cagney <cagney@redhat.com>
* gdb.texinfo (Contributors): Mention 6.0 release engineer.
2003-06-23 03:28:14 +00:00
Andrew Cagney
f6c8180bdb
2003-06-22 Andrew Cagney <cagney@redhat.com>
...
GDB 6.0 branch created.
2003-06-23 02:55:08 +00:00
gdbadmin
f32cd467a0
*** empty log message ***
2003-06-23 00:00:02 +00:00
Daniel Jacobowitz
ae822768f9
* symfile.c (add_symbol_file_command): Use parse_and_eval_address.
...
Suggested by Nick Hibma <n_hibma@webweaving.org>.
2003-06-22 18:32:49 +00:00
Daniel Jacobowitz
2f816dda05
* gdb.base/relocate.exp: Test add-symbol-file with a variable
...
offset.
2003-06-22 18:32:38 +00:00
Andrew Cagney
261de1663a
2003-06-22 Andrew Cagney <cagney@redhat.com>
...
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle
GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil
Velikov.
2003-06-22 17:42:29 +00:00
Daniel Jacobowitz
96ec9981bb
* tui-hooks.c: Update include order.
...
* tui.c: Likewise.
* tuiCommand.c: Likewise.
* tuiData.c: Likewise.
* tuiDataWin.c: Likewise.
* tuiDisassem.c: Likewise.
* tuiGeneralWin.c: Likewise.
* tuiIO.c: Likewise.
* tuiLayout.c: Likewise.
* tuiRegs.c: Likewise.
* tuiSource.c: Likewise.
* tuiSourceWin.c: Likewise.
* tuiStack.c: Likewise.
* tuiWin.c: Likewise.
2003-06-22 15:21:39 +00:00
Daniel Jacobowitz
db5a5748d7
* gdb.c++/pr-1210.cc: New file.
...
* gdb.c++/pr-1210.exp: New file.
2003-06-22 15:20:13 +00:00
Daniel Jacobowitz
b4177fca13
* gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers.
2003-06-22 04:28:04 +00:00
Daniel Jacobowitz
f418dd93a8
* Makefile.in (SFILES_INCLUDED): Add agentexpr.texi.
...
* agentexpr.texi: Retitle section, and change it to an appendix.
Comment out texinfo initialization. Factor a @var{} into two
pieces to prevent makeinfo warnings.
* gdb.texinfo: Add Agent Expressions appendix.
2003-06-22 04:27:24 +00:00
Daniel Jacobowitz
30e942055c
* cli/cli-cmds.c (shell_escape): Silence warnings from old
...
compilers.
2003-06-22 04:23:52 +00:00
Daniel Jacobowitz
1df0c130e8
* lib/mi-support.exp (mi_run_cmd): Expect an MI response to
...
000-exec-continue.
2003-06-22 00:04:27 +00:00
gdbadmin
eda7bdeb3a
*** empty log message ***
2003-06-22 00:00:31 +00:00
Daniel Jacobowitz
9e14d72114
* c-valprint.c (c_value_print): Add VALUE_OFFSET to the address
...
argument of val_print.
* cp-valprint.c (cp_print_value): Don't add the offset parameter
to the address argument of baseclass_offset or target_read_memory.
Do add it to the argument of cp_print_value_fields.
2003-06-21 23:27:53 +00:00
Andrew Cagney
a4b8ebc89d
2003-06-21 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c: Include "reggroups.h" and "sim-regno.h".
(mips_register_name): Return names for NUM_REGS..2*NUM_REGS
instead of 0..NUM_REGS.
(mips_register_reggroup_p): New function.
(mips_pseudo_register_write): New function.
(mips_pseudo_register_read): New function.
(mips_register_raw_size): For NUM_REGS..2*NUM_REGS return the size
based on the register's type.
(read_next_frame_reg): Simplify. Assert that REGNO is a pseudo /
cooked.
(mips_get_saved_register): Simplify. Assert that REGNO is a
pseudo / cooked.
(mips_register_byte): New function. Use MIPS_REGISTER_BYTE.
(mips_register_type): Replace mips_register_virtual_type. Map
NUM_REGS..2*NUM_REGS onto 0..NUM_REGS. Use MIPS_REGISTER_TYPE
when available.
(read_next_frame_reg): Simplify, but handle SP_REGNUM. Assert
that the register is cooked / virtual.
(mips_frame_saved_pc): Fetch the cooked PC, and not the raw PC.
Only get the extra info when needed.
(set_reg_offset): Save the offset in NUM_REGS..2*NUM_REGS as well.
(mips32_heuristic_proc_desc): Fetch the cooked register.
(heuristic_proc_desc, mips_pop_frame, get_frame_pointer): Ditto.
(mips_init_extra_frame_info, get_frame_pointer): Ditto.
(mips_print_register): Use gdbarch_register_type, instead of
REGISTER_VIRTUAL_TYPE.
(print_gp_register_row): Use gdbarch_register_type, instead of
REGISTER_VIRTUAL_TYPE. Allow for a pseudo / cooked REGNUM.
(mips_print_registers_info): Assert REGNO is pseodo / cooked.
Print the pseudo / cooked registers.
(mips_print_registers_info): Assert REGNO is pseodo / cooked.
Print the pseudo / cooked registers.
(mips_xfer_register): Use regcache_cooked_read_part. Assert that
REG_NUM is pseudo / cooked.
(mips_o32_xfer_return_value): Xfer the pseudo / cooked register.
(mips_n32n64_xfer_return_value): Ditto.
(mips_stab_reg_to_regnum): Map onto NUM_REGS..2*NUM_REGS.
(mips_dwarf_dwarf2_ecoff_reg_to_regnum): Ditto.
(mips_register_sim_regno): New function.
(mips_gdbarch_init): Set deprecated_register_byte,
register_group_p, pseudo_register_write, pseudo_register_read,
register_sim_regno, and num_pseudo_regs. Set register_type,
instead of register_virtual_type.
* Makefile.in (mips-tdep.o): Update dependencies.
* config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Rename
REGISTER_VIRTUAL_TYPE.
* config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Ditto.
* config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Ditto.
* config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Rename REGISTER_BYTE.
* config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Ditto.
* config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Ditto.
2003-06-21 23:14:44 +00:00
Daniel Jacobowitz
325ed08915
* Makefile.in (cli-cmds.o): Depend on $(gdb_vfork_h)
...
* cli/cli-cmds.c: Include "gdb_vfork.h".
(shell_escape): Use vfork.
2003-06-21 18:38:28 +00:00
Andrew Cagney
c57bb9fa3e
2003-06-21 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_find_saved_regs): Rewrite mdebug code handling
32 bit floating-point register saves.
2003-06-21 18:02:54 +00:00
Andrew Cagney
6e51443a2a
2003-06-21 Andrew Cagney <cagney@redhat.com>
...
* frame.h (deprecated_unwind_get_saved_register): Delete.
* frame.c (deprecated_unwind_get_saved_register): Delete function.
* mips-tdep.c (mips_get_saved_register): Use frame_register_unwind
and deprecated_get_next_frame_hack instead of
deprecated_unwind_get_saved_register.
2003-06-21 16:51:47 +00:00
Andrew Cagney
ed183c7cdf
2003-06-21 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_dump_tdep): Do not print
REGISTER_CONVERT_FROM_TYPE or REGISTER_CONVERT_TO_TYPE.
2003-06-21 16:37:33 +00:00
Andrew Cagney
f0e7d0e8f2
2003-06-21 Andrew Cagney <cagney@redhat.com>
...
* frame.c (get_frame_register): New function.
(frame_unwind_register_signed): New function.
(get_frame_register_signed): New function.
(frame_unwind_register_unsigned): New function.
(get_frame_register_unsigned): New function.
* frame.h: Add comments on naming schema.
(get_frame_register, frame_unwind_register_signed): Declare.
(get_frame_register_signed, get_frame_register_signed): Declare.
(frame_unwind_register_unsigned): Declare.
(get_frame_register_unsigned): Declare.
2003-06-21 16:26:02 +00:00
gdbadmin
09b06af3d4
*** empty log message ***
2003-06-21 00:00:33 +00:00
Theodore A. Roth
2224d941fd
* avr-tdep.c (avr_gdbarch_init): Don't call set_gdbarch_bfd_vma_bit.
2003-06-20 17:55:54 +00:00
Theodore A. Roth
8619218dfc
* avr-tdep.c (avr_read_pc): Use regcache instead of read_register.
...
(avr_read_sp): Ditto.
2003-06-20 16:55:51 +00:00
Daniel Jacobowitz
73d37363f3
* Makefile.in (SFILES): Update.
...
* low-hppabsd.c, low-lynx.c, low-nbsd.c, low-sim.c, low-sparc.c,
low-sun3.c: Remove files.
2003-06-20 14:08:16 +00:00
Daniel Jacobowitz
0b1b50c059
* config/arm/linux.mt: Remove code protected by GDBSERVER define.
...
* config/arm/nm-linux.h: Likewise.
* config/arm/tm-linux.h: Likewise.
* config/ia64/nm-linux.h: Likewise.
* config/ia64/tm-ia64.h: Likewise.
* config/s390/tm-linux.h: Likewise.
* config/s390/tm-s390.h: Likewise.
* s390-nat.c: Likewise.
* s390-tdep.c: Likewise.
* config/i386/linux.mt: Don't set GDBSERVER_DEPFILES.
* config/ia64/linux.mt: Likewise.
* config/m68k/linux.mh: Likewise.
* config/mips/linux.mt: Likewise.
* config/powerpc/linux.mh: Likewise.
* config/sh/linux.mt: Likewise.
2003-06-20 13:57:30 +00:00
Kris Warkentin
c8c18e652e
2003-06-19 Kris Warkentin <kewarken@qnx.com>
...
* solib.c (solib_open): Change tests for whether to search
LD_LIBRARY_PATH and PATH to better deal with remotes. Update
comments.
2003-06-20 12:23:18 +00:00
Theodore A. Roth
dcccef2efb
* avr-tdep.c (avr_frame_address): Delete function.
...
(avr_gdbarch_init): Don't call set_gdbarch_frame_args_address,
set_gdbarch_frame_args_address.
2003-06-20 05:53:42 +00:00
Andrew Cagney
5861a190a8
2003-06-19 Andrew Cagney <cagney@redhat.com>
...
* config/mips/tm-mips.h (REGISTER_CONVERT_TO_TYPE): Delete.
(REGISTER_CONVERT_FROM_TYPE): Delete.
(mips_register_convert_to_type): Delete declaration.
(mips_register_convert_from_type): Delete declaration.
* linux-nat.h (struct target_ops): Declare opaque. s/Linux/Linux
kernel/.
2003-06-20 04:04:44 +00:00
gdbadmin
cd0f588e19
*** empty log message ***
2003-06-20 00:00:32 +00:00
Michael Snyder
0274a8cedb
2003-06-19 Michael Snyder <msnyder@redhat.com>
...
* linux-nat.h: New file.
* linux-nat.c: Include linux-nat.h.
* lin-lwp.c: Include linux-nat.h.
Move struct lwp_info def to linux-nat.h.
* linux-proc.c: Include linux-nat.h.
(linux_make_note_section): Iterate over lwps instead of threads.
(linux_do_thread_registers): Use lwp instead of merged pid.
* config/nm-linux.h: Move miscelaneous def'ns to linux-nat.h.
* Makefile.in (lin-lwp.o, linux-proc.o, linux-nat.o):
Add dependency on linux_nat_h.
2003-06-19 22:52:04 +00:00
Theodore A. Roth
adf5f719da
* avr-tdep.c (avr_extract_return_value): Delete debugging fprintf.
2003-06-19 21:14:59 +00:00
Daniel Jacobowitz
6766a268ba
* varobj.c (get_type, get_target_type): Use check_typedef.
2003-06-19 20:40:40 +00:00
Daniel Jacobowitz
1171114a94
* breakpoint.c (insert_catchpoint): Call internal_error.
2003-06-19 20:02:41 +00:00
Theodore A. Roth
adcf68a2d6
* avr-tdep.c (avr_push_dummy_code): Delete function.
...
(avr_gdbarch_init): Don't call set_gdbarch_push_dummy_code.
2003-06-19 19:29:09 +00:00
Daniel Jacobowitz
ea67f13b68
* arch-utils.c (default_prepare_to_proceed): Remove.
...
(generic_prepare_to_proceed): Remove.
* arch-utils.h (default_prepare_to_proceed): Remove prototype.
(generic_prepare_to_proceed): Remove prototype.
* gdbarch.sh (PREPARE_TO_PROCEED): Remove.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* hppa-tdep.c (hppa_prepare_to_proceed): Remove dangling prototype.
* hppah-nat.c (hppa_switched_threads): Remove.
* infrun.c (prepare_to_proceed): New static function, copied from
generic_prepare_to_proceed. Remove select_it argument.
(proceed): Call prepare_to_proceed.
* infttrace.c (old_gdb_pid, reported_pid, reported_bpt): Remove
variables.
(ptrace_wait): Don't set the removed variables.
(hppa_switched_threads): Remove.
* lin-lwp.c (lin_lwp_prepare_to_proceed): Remove.
* config/nm-linux.h (PREPARE_TO_PROCEED): Don't define.
(lin_lwp_prepare_to_proceed): Remove prototype.
* config/i386/nm-x86-64linux.h (PREPARE_TO_PROCEED): Don't undefine.
* config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Don't define.
2003-06-19 15:04:58 +00:00
Daniel Jacobowitz
4ca6138816
* gdbint.texinfo (Native Conditionals): Remove PREPARE_TO_PROCEED.
2003-06-19 15:04:05 +00:00
Theodore A. Roth
4add863361
* avr-tdep.c: Include frame.h, frame-unwind.h, frame-base.h, and
...
trad-frame.h.
(AVR_MAX_PROLOGUE_SIZE): Increase from 56 to 64.
(AVR_ARG1_REGNUM, AVR_ARGN_REGNUM): Define.
(AVR_RET1_REGNUM, AVR_RETN_REGNUM): Define.
(AVR_PROLOGUE_*): Enumerate prologue types.
(struct frame_extra_info): Remove.
(struct avr_unwind_cache): Define.
(avr_write_sp): Delete function.
(avr_read_fp): Ditto.
(avr_init_extra_frame_info): Ditto.
(avr_pop_frame): Ditto.
(avr_frame_saved_pc): Ditto.
(avr_saved_pc_after_call): Ditto.
(avr_push_return_address): Ditto.
(avr_frame_chain): Ditto.
(avr_store_struct_return): Ditto.
(avr_push_arguments): Ditto.
(avr_scan_prologue): Update comments. Changed to set up the info for
cache unwinding. Now returns end of prologue PC.
(avr_skip_prologue): Better handling of functions lacking a prologue
by using avr_scan_prologue.
(avr_scan_arg_moves): New function.
(avr_saved_regs_unwinder): Ditto.
(avr_frame_unwind_cache): Ditto.
(avr_unwind_pc): Ditto.
(avr_frame_this_id): Ditto.
(avr_frame_prev_register): Ditto.
(avr_frame_p): Ditto.
(avr_frame_base_address ): Ditto.
(avr_unwind_dummy_id): Ditto.
(avr_push_dummy_code): Ditto.
(push_stack_item): Ditto.
(pop_stack_item): Ditto.
(avr_push_dummy_call): Ditto.
(struct stack_item): Define.
(avr_frame_unwind): Declare structure.
(avr_frame_base): Ditto.
(avr_gdbarch_init): Remove calls to
set_gdbarch_deprecated_init_frame_pc,
set_gdbarch_deprecated_target_read_fp,
set_gdbarch_deprecated_dummy_write_sp,
set_gdbarch_deprecated_fp_regnum,
set_gdbarch_deprecated_push_arguments,
set_gdbarch_deprecated_push_return_address,
set_gdbarch_deprecated_pop_frame,
set_gdbarch_deprecated_store_struct_return,
set_gdbarch_deprecated_frame_init_saved_regs,
set_gdbarch_deprecated_init_extra_frame_info,
set_gdbarch_deprecated_frame_chain,
set_gdbarch_deprecated_frame_saved_pc,
set_gdbarch_deprecated_saved_pc_after_call.
Add calls to set_gdbarch_push_dummy_call,
set_gdbarch_push_dummy_code,
frame_unwind_append_predicate,
frame_base_set_default,
set_gdbarch_unwind_dummy_id,
set_gdbarch_unwind_pc.
Wrap a long line.
2003-06-19 08:09:54 +00:00
Michael Snyder
7be04a682f
2003-06-18 Corinna Vinschen <vinschen@redhat.com>
...
* h8300-tdep.c (h8300s_register_name): Enable MACH and MACL
registers for H8/300S.
(h8300_print_registers_info): Ditto.
(h8300_gdbarch_init): Accommodate register count for H8/300S.
2003-06-19 03:18:49 +00:00
Daniel Jacobowitz
07f31aa6dc
* gdb.texinfo (Remote Debugging): New section "Connecting to a
...
remote target". Document the "detach" and "disconnect" commands.
(Server, Netware, Debug Session): Reference "Connecting to a
remote target".
(GDB/MI Target Manipulation): Document "-target-disconnect".
2003-06-19 01:31:47 +00:00