Michael Chastain
a2379359b4
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
...
* hppa-tdep.c (hppa_gdbarch_init): Set long double floating
point type to floatformat_ia64_quad_big.
2003-12-19 06:45:03 +00:00
Kevin Buettner
d40fcd7bc1
* frv-tdep.c (skip_prologue_using_sal): New function. Taken verbatim
...
from mips-tdep.c.
(frv_analyze_prologue): Rework to account for intermixed prologue /
body instructions.
2003-12-19 00:34:26 +00:00
Michael Chastain
8e8b2dbaae
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
...
* hppa-tdep.c (hppa_gdbarch_init): Set sizeof(long_double) to 128.
Document type sizes for hppa*-*-hpux* compilers available to me.
2003-12-18 22:13:48 +00:00
Michael Chastain
e584bbaf70
2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
...
* hppam3-nat.c: Delete obsolete file.
* hppab-nat.c: Delete obsolete file.
* Makefile.in: Remove references.
2003-12-18 18:22:35 +00:00
Jeff Johnston
bffe1ece0e
2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* symtab.c (decode_line_spec): Change call to decode_line_1.
2003-12-17 22:21:02 +00:00
Jeff Johnston
68219205a7
2003-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* linespec.h (decode_line_1): Add new not_found_ptr parameter.
* linespec.c (decode_line_1): Add new parameter. Pass on
new parameter to decode_variable and symtab_from_filename
functions.
(decode_variable): Add new not_found_ptr parameter. Throw exception
rather than failing if the not_found_ptr is non-null and the
function is not found.
(symtab_from_filename): Add new not_found_ptr parametr. Throw
exception rather than failing if the not_found_ptr is non-null and
the source file is not found.
* breakpoint.c: Change all callers of decode_line_1 to add default
extra parameter for decode_line_1 calls.
* tracepoint.c: Ditto.
* cli/cli-cmds.c: Ditto.
2003-12-17 21:47:47 +00:00
Joel Brobecker
b639a77072
* irix5-nat.c: Include mips-tdep.h.
2003-12-17 06:19:29 +00:00
Mark Kettenis
729b7ed750
* solib.h (SOLIB_CREATE_CATCH_LOAD_HOOK)
...
(SOLIB_CREATE_CATCH_UNLOAD_HOOK, SOLIB_LOADED_LIBRARY_PATHNAME)
(SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_HAVE_LOAD_EVENT)
(SOLIB_HAVE_UNLOAD_EVENT): Remove defines.
2003-12-16 21:46:10 +00:00
Mark Kettenis
c683153733
* blockframe.c (inside_main_func): Don't treat a zero PC specially.
...
Needed to fix PR backtrace/1476.
2003-12-16 21:23:50 +00:00
David Carlton
5d09de9d6b
2003-12-16 David Carlton <carlton@kealia.com>
...
* cp-support.c (class_name_from_physname): Add DMGL_PARAMS.
(method_name_from_physname): Ditto.
2003-12-16 19:27:11 +00:00
Mark Kettenis
6a9756ed29
* i386-sol2-tdep.c (i386_sol2_gregset_reg_offset): New variable.
...
(i386_sol2_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs, TDEP->sizeof_gregset and
TDEP->sizeof_fpregset.
* config/i386/i386sol2.mh (XM_FILE): Set to xm-i386.h.
(XM_CLIBS): Remove.
(NATDEPFILES): Remove core-regset.o and corelow.o.
* config/i386/i386sol2.mt (TDEPFILES): Add corelow.o.
2003-12-15 21:54:30 +00:00
Mark Kettenis
e34e1a8519
* proc-api.c (procfs_note): Add format string to fprintf call.
2003-12-14 13:40:19 +00:00
Mark Kettenis
5daa5b4ecc
* i386-tdep.c (i386_analyze_frame_setup): Add missing encodings
...
for `subl' and `xorl' instructions.
2003-12-14 10:59:08 +00:00
Jim Blandy
27bfe10e37
* dwarf2read.c (dwarf2_add_member_fn, read_structure_scope):
...
Replace uses of DEPRECATED_STREQ and DEPRECATED_STREQN with calls
to strcmp and strncmp.
2003-12-13 22:29:06 +00:00
Jim Blandy
e481341f06
* osabi.c (gdbarch_init_osabi): Reformat error message with better
...
line breaks.
2003-12-13 21:41:10 +00:00
Mark Kettenis
f614e9d90b
* blockframe.c (inside_main_func): Reformat. Introduce new local
...
variables to prevent long lines. Update comments to reflect
reality.
2003-12-13 13:16:52 +00:00
Kevin Buettner
503ff15d38
From David Mosberger <davidm@hpl.hp.com>:
...
* libunwind-frame.c (unw_find_dyn_list_p): Replace most arguments
with a single unw_dyn_info_t pointer.
(libunwind_find_dyn_list): Likewise.
* libunwind-frame.h: Likewise.
* ia64-tdep.c (ia64_find_unwind_table): Switch to using
UNW_INFO_FORMAT_REMOTE_TABLE so we can avoid having to read in the
entire unwind-table at once. Support for this table format has
been added to libunwind v0.95.
(ia64_find_proc_info_x): Adjust for remote-unwind-table changes.
(ia64_get_dyn_info_list): Adjust for interface change for
libunwind_find_dyn_list().
2003-12-13 03:51:56 +00:00
Jeff Johnston
468d015dea
2003-12-12 Jeff Johnston <jjohnstn@redhat.com>
...
* breakpoint.c (breakpoint_enabled): New function to test whether
breakpoint is active and enabled.
(insert_bp_location, insert_breakpoints): Call new function to test
for enabled breakpoint.
(remove_breakpoint, breakpoint_here_p, breakpoint_thread_match)
(bpstat_should_step, bpstat_have_active_hw_watchpoints)
(disable_breakpoints_in_shlibs, hw_watchpoint_used_count)
(disable_watchpoints_before_interactive_call_start)
(breakpoint_re_set_one): Ditto.
(bpstat_stop_status): Use new function and simplify test.
2003-12-12 19:04:46 +00:00
Mark Kettenis
f82de61cdc
* observer.c (observer_test_first_observer)
...
(observer_test_second_observer, observer_test_third_observer):
Don't define as `static'.
(observer_test_first_notification_function)
(observer_test_second_notification_function)
(observer_test_third_notification_function): Likewise.
2003-12-12 16:14:26 +00:00
Mark Kettenis
9db7c108d9
* solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "" instead
...
of (0).
2003-12-11 13:45:12 +00:00
Dhananjay Deshpande
8bfdb6721b
* MAINTAINERS (write after approval): Add myself
2003-12-11 06:30:10 +00:00
Dhananjay Deshpande
454d05118b
Fix GDB crash problem when object file of different H8 cpu is loaded
2003-12-11 06:21:12 +00:00
Joel Brobecker
7ae4c3a566
* frame.c (select_frame): Get the current frame PC using
...
get_frame_address_in_block() instead of get_frame_pc().
* stack.c (get_frame_language): Likewise.
2003-12-10 17:40:43 +00:00
Kevin Buettner
9b74d5d385
* remote.c (remote_open_1, remote_cisco_open): Avoid closing
...
remote_desc more than once.
2003-12-08 17:00:06 +00:00
Andrew Cagney
e7ebf6d61f
2003-12-07 Andrew Cagney <cagney@redhat.com>
...
* defs.h (DEPRECATED_STREQN, DEPRECATED_STREQ): Simplify by
directly calling strcmp equivalents. Add disclaimer.
2003-12-07 17:22:29 +00:00
Andrew Cagney
8ccc128739
2003-12-06 Andrew Cagney <cagney@redhat.com>
...
* remote.c (remote_fetch_registers): For short packets, explicitly
supply a zero value. Use regcache_raw_supply. Fix suggested by
Jonathan Larmour.
2003-12-06 22:58:27 +00:00
Jeff Johnston
32edc941e1
2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
...
* ia64-tdep.c (ia64_gdbarch_init): Set up the gdbarch long double
format to be the i387 extended float format which is used for
long doubles stored in memory.
2003-12-06 00:17:04 +00:00
Mark Kettenis
2af2aeb01d
From Ulrich Weigand <weigand@informatik.uni-erlangen.de>:
...
* dwarf2-frame.c (dwarf2_frame_cache): Use the untranslated RA
column instead of translating it.
2003-12-05 21:14:49 +00:00
Michael Chastain
362ff85603
2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
...
Partial fix for PR c++/1465.
Fix for PR c++/1377.
* cp-support.h (cp_lookup_rtti_type): New function.
* cp-support.c (cp_lookup_rtti_type): New function.
* gnu-v2-abi.c: Update copyright years.
(gnuv2_rtti_type): Call cp_lookup_rtti_type.
* gnu-v3-abi.c: Update copyright years.
(gnuv3_rtti_type): Call cp_lookup_rtti_type.
2003-12-05 04:25:09 +00:00
Joel Brobecker
149d821b1e
* stabsread.c (read_type): Save a reference to types that are defined
...
as cross references to other types.
2003-12-05 00:45:39 +00:00
Roland McGrath
77f091ddb5
.
2003-12-04 00:20:51 +00:00
Ian Lance Taylor
59659be2f6
* NEWS: Mention new C++ demangler code.
2003-12-03 19:53:11 +00:00
Andrew Cagney
56d0d96a62
2003-12-03 Andrew Cagney <cagney@redhat.com>
...
* ppc-linux-nat.c (store_register, fetch_register): Convert
between ptrace and regcache's wordsize.
(ppc_register_u_addr): Use the ptrace wordsize.
2003-12-03 19:37:03 +00:00
Kevin Buettner
251a3ae3a6
* frv-tdep.c (frv_gdbarch_init): Add case for fr550.
2003-12-03 04:50:33 +00:00
Daniel Jacobowitz
188dd5d64f
* dwarf2read.c (dwarf_info_offset, dwarf_abbrev_offset)
...
(dwarf_line_offset, dwarf_pubnames_offset, dwarf_aranges_offset)
(dwarf_loc_offset, dwarf_macinfo_offset, dwarf_str_offset)
(dwarf_ranges_offset, dwarf_frame_offset, dwarf_eh_frame_offset):
Delete.
(dwarf2_read_section): Remove offset and size arguments. Use
bfd_get_section_size_before_reloc and sectp->filepos.
(dwarf2_has_info): Clear section variables instead of offsets.
(dwarf2_locate_sections): Don't initialize the deleted variables.
(dwarf2_build_psymtabs): Update calls to dwarf2_read_section.
(dwarf2_build_psymtabs_easy): Likewise.
* dwarf2-frame.c (dwarf_frame_offset, dwarf_frame_size)
(dwarf_eh_frame_offset, dwarf_eh_frame_size): Remove extern
declarations.
(dwarf2_read_section): Update prototype.
(dwarf2_build_frame_info): Update calls to dwarf2_read_section.
Use bfd_get_section_size_before_reloc instead of global size
variables.
2003-12-02 16:41:39 +00:00
Michael Chastain
013be87271
2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
...
* dwarfread.c: Update documentation on the state of dwarf-1.
2003-12-01 22:03:12 +00:00
Andrew Cagney
0748d941c8
2003-12-01 Andrew Cagney <cagney@redhat.com>
...
Obsolete old MIPS SVr3 and SVr4 systems.
* NEWS: Mention obsoleted systems.
* configure.tgt: Mark mips*-*-sysv4* as obsolete.
* configure.host: Mark mips-dec-*, mips-little-*, mips-sony-*,
mips-*-sysv4*, mips-*-sysv*, mips-*-riscos* and mips-*-mach3* as
obsolete.
* config/mips/decstation.mh: Mark as obsolete.
* config/mips/littlemips.mh: Mark as obsolete.
* config/mips/nm-mips.h: Mark as obsolete.
* config/mips/xm-mips.h: Mark as obsolete.
* config/mips/news-mips.mh: Mark as obsolete.
* config/mips/nm-news-mips.h: Mark as obsolete.
* config/mips/riscos.mh: Mark as obsolete.
* config/mips/nm-riscos.h: Mark as obsolete.
* config/mips/xm-riscos.h: Mark as obsolete.
* config/mips/mipsv4.mt: Mark as obsolete.
* config/mips/tm-mipsv4.h: Mark as obsolete.
* config/mips/xm-mipsv4.h: Mark as obsolete.
2003-12-01 21:10:46 +00:00
Andrew Cagney
5994185b33
2003-12-01 Andrew Cagney <cagney@redhat.com>
...
Obsolete old m68k systems.
* configure.host: Mark m68*-sun-*, m68*-sun-sunos4*,
m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*,
m68*-bull*-sysv*, m68*-att-*, m680[01]0-sun-sunos4*, and
m680[01]0-sun-sunos3* as obsolete.
* configure.tgt: Mark m68*-*-lynxos*, m68*-*-sunos3*,
m68*-*-sunos4*, m68*-*-sysv4*, m68000-*-sunos3*, m68000-*-sunos4*,
m68*-bull-sysv*, m68*-att-*, and m68*-motorola-*, as obsolete.
* config/m68k/sun3os4.mh: Mark file obsolete.
* config/m68k/xm-sun3os4.h: Mark file obsolete.
* config/m68k/sun3os3.mh: Mark file obsolete.
* config/m68k/nm-sun3.h: Mark file obsolete.
* config/m68k/xm-sun3.h: Mark file obsolete.
* config/m68k/sun2os4.mh: Mark file obsolete.
* config/m68k/sun2os3.mh: Mark file obsolete.
* config/m68k/nm-sun2.h: Mark file obsolete.
* config/m68k/xm-sun2.h: Mark file obsolete.
* config/m68k/m68kv4.mh: Mark file obsolete.
* config/m68k/nm-sysv4.h: Mark file obsolete.
* config/m68k/xm-m68kv4.h: Mark file obsolete.
* config/m68k/m68klynx.mh: Mark file obsolete.
* config/m68k/nm-m68klynx.h: Mark file obsolete.
* config/m68k/dpx2.mh: Mark file obsolete.
* config/m68k/xm-dpx2.h: Mark file obsolete.
* config/m68k/nm-dpx2.h: Mark file obsolete.
* config/m68k/delta68.mh: Mark file obsolete.
* config/m68k/xm-delta68.h: Mark file obsolete.
* config/m68k/nm-delta68.h: Mark file obsolete.
* config/m68k/3b1.mh: Mark file obsolete.
* config/m68k/xm-3b1.h: Mark file obsolete.
* config/m68k/sun3os4.mt: Mark file obsolete.
* config/m68k/tm-sun3os4.h: Mark file obsolete.
* config/m68k/sun3os3.mt: Mark file obsolete.
* config/m68k/tm-sun3.h: Mark file obsolete.
* config/m68k/sun2os4.mt: Mark file obsolete.
* config/m68k/tm-sun2os4.h: Mark file obsolete.
* config/m68k/sun2os3.mt: Mark file obsolete.
* config/m68k/tm-sun2.h: Mark file obsolete.
* config/m68k/m68kv4.mt: Mark file obsolete.
* config/m68k/tm-m68kv4.h: Mark file obsolete.
* config/m68k/m68klynx.mt: Mark file obsolete.
* config/m68k/tm-m68klynx.h: Mark file obsolete.
* config/m68k/dpx2.mt: Mark file obsolete.
* config/m68k/tm-dpx2.h: Mark file obsolete.
* config/m68k/delta68.mt: Mark file obsolete.
* config/m68k/tm-delta68.h: Mark file obsolete.
* config/m68k/3b1.mt: Mark file obsolete.
* config/m68k/tm-3b1.h: Mark file obsolete.
2003-12-01 14:53:42 +00:00
Mark Kettenis
720aa42891
* x86-64-tdep.c (MAX_CLASSES): Remove macro.
...
(x86_64_reg_class): Remove enum.
(merge_classes, classify_argument, examine_argument): Remove
functions.
(INT_REGS, SSE_REGS): Remove macros.
(x86_64_push_arguments): Remove function.
(amd64_push_arguments): New function.
(x86_64_push_dummy_call): Call amd64_push_arguments instead of
x86_64_push_arguments.
2003-11-29 00:54:41 +00:00
Mark Kettenis
35883a3f2f
* x86-64-tdep.c (x86_64_frame_cache): Don't bail out if %rbp is
...
zero. Reorganize code a bit.
2003-11-27 23:33:07 +00:00
Mark Kettenis
3e74aeeda6
* dwarf2-frame.c: Fix another comment.
2003-11-27 20:50:43 +00:00
Mark Kettenis
efb1c01c42
* x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
...
(x86_64_use_struct_convention, x86_64_extract_return_value,
x86_64_store_return_value): Remove.
(amd64_reg_class): New enum.
(amd64_merge_classes, amd64_classify_aggregate, amd64_classify,
amd64_return_value): New functions.
(x86_64_init_abi): Don't set extract_return_value,
store_return_value and use_struct_convention. Set return_value to
amd64_return_value.
* i387-tdep.h (i387_return_value): New prototype.
* i387-tdep.c (i387_return_value): New function.
2003-11-27 20:35:38 +00:00
Mark Kettenis
e4e9607c60
* dwarf2-frame.c: Fix some comments and whitespace problems.
2003-11-27 17:17:04 +00:00
Mark Kettenis
13739f4d37
* i386nbsd-tdep.c: Don't include "gdbtypes.h". Include
...
"gdb_assert.h" and "gdb_string.h".
(i386nbsd_r_reg_offset): Rename from regmap.
(SIZEOF_STRUCT_REG): Remove.
(i386nbsd_supply_reg, fetch_core_registers,
fetch_elfcore_registers, i386nbsd_core_fns, i386nbsd_elfcore_fns):
Remove.
(i386nbsd_aout_supply_regset,
i386nbsd_aout_regset_from_core_section): New functions.
(i386nbsd_sc_reg_offset): Don't explicitly specify size of array.
(i386nbsd_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs amd sizeof_gregset. Use ARRAY_SIZE to
initialize TDEP->sc_num_regs.
(i386nbsdaout_init_abi): New function.
(i386nbsdelf_init_abi): Remove initialization of
TDEP->num_xmm_regs. Don't set num_regs here.
(_initialize_i386nbsd_tdep): Don't call add_core_fns. Use
i386nbsd_aout_init to register NetBSD a.out OS/ABI.
2003-11-27 13:28:50 +00:00
Mark Kettenis
597684c51b
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Use
...
.note.netbsdcore.procinfo section to recognize NetBSD core files.
2003-11-27 12:43:36 +00:00
Michael Chastain
37e79b6be7
2003-11-26 Michael Chastain <mec.gnu@mindspring.com>
...
* cp-abi.c: Update copyright years.
2003-11-26 22:04:00 +00:00
Andrew Cagney
24557e30a9
2003-11-25 Andrew Cagney <cagney@redhat.com>
...
* thread-db.c (enable_thread_event): New function. Ensure that BP
is a code address.
(enable_thread_event_reporting): Use enable_thread_event.
2003-11-25 23:31:40 +00:00
Michael Snyder
78c63a3b6f
2003-11-25 Michael Snyder <msnyder@redhat.com>
...
* mips-tdep.c (mips_o64_extract_return_value): Correct for
NUM_REGS (see changes 2003-06-21).
(mips_eabi_extract_return_value): Ditto.
2003-11-25 22:15:24 +00:00
Andrew Cagney
aff6338aa9
2003-11-25 Andrew Cagney <cagney@redhat.com>
...
* infrun.c: Don't include "exec.h".
(handle_inferior_event): Pass current_target, instead of exec_ops,
to SOLIB_ADD. Add comments.
* Makefile.in (infrun.o): Update dependencies.
2003-11-25 16:01:36 +00:00
Daniel Jacobowitz
9e08b29bd1
* NEWS: Mention improved location expression support.
2003-11-24 17:02:34 +00:00
Andrew Cagney
603942cc64
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in (infrun.o): Update dependencies.
* infrun.c: Include "exec.h".
(handle_inferior_event): Pass exec_ops to SOLIB_ADD.
2003-11-23 23:13:00 +00:00
Andrew Cagney
dd3ecc148c
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* frame.c (frame_unwind_signed_register): Delete function.
* frame.h (frame_unwind_register_signed): Delete declaration.
* mips-tdep.c (mips_frame_saved_pc): Use frame_unwind_register_signed.
2003-11-23 21:49:12 +00:00
Andrew Cagney
eec1a5606c
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* arch-utils.h (generic_cannot_extract_struct_value_address):
Delete declaration.
2003-11-23 21:32:42 +00:00
Andrew Cagney
cb137aa501
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* symfile.c (symbol_file_command): Replace STREQ with strcmp.
* defs.h (DEPRECATED_STREQN): Rename STREQN.
(DEPRECATED_STREQ): Rename STREQ.
* ada-exp.y, ada-lang.c, ada-lex.l, coffread.c: Update.
* config/mips/tm-irix5.h, config/mips/tm-irix6.h: Update.
* config/mips/tm-mipsv4.h, config/sparc/tm-sun4sol2.h: Update.
* dbxread.c, dwarf2read.c, dwarfread.c, environ.c: Update.
* eval.c, exec.c, f-lang.c, hppa-tdep.c, hpread.c: Update.
* jv-exp.y, language.c, m2-exp.y, mcore-rom.c: Update.
* mdebugread.c, mipsread.c, objc-exp.y, objfiles.c: Update.
* p-exp.y, p-typeprint.c, p-valprint.c, rs6000-nat.c: Update.
* source.c, sparc-tdep.c, stack.c, target.c: Update.
2003-11-23 20:41:17 +00:00
Andrew Cagney
66c5728963
2003-11-23 Andrew Cagney <cagney@redhat.com>
...
* symfile.c (symbol_file_command): Replace STREQ with strcmp.
* elfread.c (elf_symtab_read): Delete STREQ from comment.
2003-11-23 19:24:05 +00:00
Andrew Cagney
213cc0adce
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* frame.c (deprecated_frame_xmalloc): Delete function.
(deprecated_set_frame_extra_info_hack): Delete function.
(deprecated_set_frame_saved_regs_hack): Delete function.
* frame.h (deprecated_frame_xmalloc): Delete declaration.
(deprecated_set_frame_extra_info_hack): Delete declaration.
(deprecated_set_frame_saved_regs_hack): Delete declaration.
* mcore-tdep.c (analyze_dummy_frame): Instead of
deprecated_frame_xmalloc, deprecated_set_frame_saved_regs_hack,
and deprecated_set_frame_extra_info_hack use
deprecated_frame_xmalloc_with_cleanup.
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
* mips-tdep.c (mips_init_extra_frame_info): Delete call to
deprecated_set_frame_saved_regs_hack.
2003-11-23 02:48:40 +00:00
Andrew Cagney
35bb18ac33
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_frame_chain): Delete call to
deprecated_inside_entry_file.
2003-11-23 01:25:39 +00:00
Andrew Cagney
38a7ce4b44
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* frame.h (deprecated_set_frame_next_hack): Delete declaration.
(deprecated_set_frame_prev_hack): Delete declaration.
* frame.c (deprecated_set_frame_next_hack): Delete function.
(deprecated_set_frame_prev_hack): Delete function.
* mcore-tdep.c (analyze_dummy_frame): Delete calls to
"deprecated_set_frame_next_hack" and
"deprecated_set_frame_prev_hack".
* mn10300-tdep.c (analyze_dummy_frame): Ditto.
2003-11-23 00:27:54 +00:00
Andrew Cagney
47ebcfbef9
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_register_convertible): Delete function.
(mips_register_convert_to_virtual): Delete function.
(mips_register_convert_to_raw): Delete function.
(mips_gdbarch_init): Do not set "deprecated_register_convertible",
"deprecated_register_convert_to_virtual", or
"deprecated_register_convert_to_raw".
(mips_pseudo_register_write, mips_pseudo_register_read): Handle
32/64 cooked to raw register conversions.
2003-11-22 23:24:16 +00:00
Andrew Cagney
2a9264f126
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* frame.c (deprecated_get_frame_context): Delete function.
(deprecated_set_frame_prev_hack): Delete function.
(struct frame_info): Delete member "context".
* frame.h (deprecated_get_frame_context): Delete declaration.
(deprecated_set_frame_context): Delete declaration.
2003-11-22 23:00:37 +00:00
Andrew Cagney
7af6341f3b
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment.
* config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro.
* config/alpha/nm-osf2.h (FAULTED_USE_SIGINFO): Delete macro.
2003-11-22 22:43:05 +00:00
Andrew Cagney
10a08821d3
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (SIGFRAME_REG_SIZE): Delete macro.
(mips_find_saved_regs): Replace SIGFRAME_REG_SIZE with
mips_regsize.
(mips_dump_tdep): Do not print SIGFRAME_REG_SIZE.
* config/mips/tm-irix6.h (SIGFRAME_REG_SIZE): Delete macro.
* config/mips/tm-irix5.h: Update copyright.
(SIGFRAME_REG_SIZE): Delete macro.
2003-11-22 22:32:28 +00:00
Andrew Cagney
00d3340373
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* hppa-tdep.c (hppa_value_returned_from_stack): Delete function.
* config/pa/tm-hppa.h (hppa_value_returned_from_stack): Delete
declaration.
(DEPRECATED_VALUE_RETURNED_FROM_STACK): Delete macro.
* infcall.c (call_function_by_hand): Delete #ifdef
DEPRECATED_VALUE_RETURNED_FROM_STACK code.
* infcmd.c (print_return_value): Ditto.
2003-11-22 22:15:23 +00:00
Andrew Cagney
74da7425d5
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (skip_prologue_using_sal): New function.
(mips32_skip_prologue, mips16_skip_prologue): Use
skip_prologue_using_sal to get an upper bound on the search.
2003-11-22 21:12:24 +00:00
Andrew Cagney
369864a44d
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* config/powerpc/tm-linux.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete
#if 0'ed macro.
* infrun.c (step_into_function): Delete #ifdef
PROLOGUE_FIRSTLINE_OVERLAP code.
* symtab.c (find_function_start_sal): Ditto.
2003-11-22 16:01:03 +00:00
Andrew Cagney
a5a12285cc
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* remote-rdp.c: Update copyright.
(rdp_init): #if 0 references to "target_byte_order".
2003-11-22 15:48:30 +00:00
Andrew Cagney
29dfb2ac4c
2003-11-22 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_o32_store_return_value): Delete function.
(mips_o32_return_value): Replace mips_o32_xfer_return_value.
(mips_o32_extract_return_value): Delete function.
(mips_n32n64_return_value): Replace mips_n32n64_xfer_return_value.
(mips_n32n64_extract_return_value): Delete function.
(mips_n32n64_store_return_value): Delete function.
(mips_gdbarch_init): For o32 and n32n64, set "return_value"
instead of "store_return_value", "extract_return_value", and
"use_struct_convention".
(mips_n32n64_use_struct_convention): Delete function.
2003-11-22 14:04:39 +00:00
Kevin Buettner
3a3da38cb0
* frv-tdep.c (frv_frame_this_id): Eliminate call to
...
inside_entry_func().
2003-11-21 21:36:23 +00:00
Mark Kettenis
c5e656c1c7
* i386-tdep.c (i386_extract_return_value,
...
i386_store_return_value): Add gdbarch argument. Use it instead of
determining it from REGCACHE. Remove recursive call for
structures with a single member.
(i386_use_struct_convention): Remove.
(i386_reg_struct_return_p): New function.
(i386_return_value): New function.
(i386_gdbarch_init): Set return_value, don't set
extract_return_value, store_return_value and
use_struct_convention.
* x86-64-tdep.c (x86_64_init_abi): Set return_value to NULL.
2003-11-20 22:37:50 +00:00
Jim Blandy
515cc92ea5
* osabi.c (_initialize_gdb_osabi): Don't return before registering
...
the 'set osabi' and 'show osabi' commands.
2003-11-20 18:37:20 +00:00
Mark Kettenis
3f1d7f1617
* frame.c (get_prev_frame): Use result from
...
get_frame_address_in_block instead of get_frame_pc as argument to
inside_main_func. Fixes PR backtrace/1435.
2003-11-19 17:35:46 +00:00
Andrew Cagney
667e784fcb
2003-11-19 Andrew Cagney <cagney@redhat.com>
...
* stack.c (return_command): Handle "void", "legacy" and "unknown
location" return values separatly.
* values.c (using_struct_return): Return 0 for a "void" return
type. Mention "register_value_being_returned".
(register_value_being_returned): Mention "using_struct_return".
2003-11-19 16:27:56 +00:00
Daniel Jacobowitz
4cecd73941
* dwarf2read.c (offreg, basereg, isderef, frame_base_reg)
...
(frame_base_offset): Delete.
(read_func_scope): Delete call to decode_locdesc.
(decode_locdesc): Update comments. Don't set the removed variables.
Complain for DW_OP_reg* not at the end. Remove DW_OP_breg* and
DW_OP_fbreg support.
2003-11-19 15:08:01 +00:00
Daniel Jacobowitz
6b992462c7
* dwarf2read.c (optimized_out, islocal): Remove.
...
(decode_locdesc): Update comments. Don't set optimized_out
or islocal.
2003-11-18 21:51:38 +00:00
Jeff Johnston
968d1cb408
2003-11-17 Jeff Johnston <jjohnstn@redhat.com>
...
David Mosberger <davidm@hpl.hp.com>
* ia64-tdep.c: Include elf.h.
[HAVE_LIBUNWIND_IA64_H]: Include libunwind-frame.h and
libunwind-ia64.h.
(ia64_rse_slot_num, ia64_rse_skip_regs): New for libunwind support.
(ia64_gdb2uw_regnum, ia64_uw2gdb_regnum): Ditto.
(ia64_is_fpreg, ia64_access_reg): Ditto.
(ia64_access_fpreg, ia64_access_mem): Ditto.
(get_kernel_table): Ditto.
(ia64_find_unwind_table): Ditto.
(ia64_find_proc_info_x, ia64_put_unwind_info): Ditto.
(ia64_get_dyn_info_list, ia64_libunwind_frame_this_id): Ditto.
(ia64_libunwind_frame_prev_register): Ditto.
(ia64_libunwind_frame_sniffer): Ditto.
(ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Add libunwind frame
sniffer. Register libunwind functions needed by generic
libunwind frame code using libunwind_frame_set_descr().
2003-11-17 21:38:36 +00:00
Daniel Jacobowitz
d29caefc4b
* breakpoint.c (re_enable_breakpoints_in_shlibs): Only re-enable a
...
bp_shlib_disabled breakpoint if there is a shared library mapped
at its expected address.
2003-11-17 00:55:49 +00:00
Andrew Cagney
96cb1c2ff6
2003-11-16 Andrew Cagney <cagney@redhat.com>
...
* configure.tgt: Delete mips*tx39*-elf*.
* config/mips/tm-tx39.h: Delete file.
* config/mips/tx39.mt: Delete file.
* config/mips/tx39.mt: Delete file.
2003-11-16 23:08:36 +00:00
Andrew Cagney
691c0433df
2003-11-16 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.h (deprecated_mips_set_processor_regs_hack): Declare.
* remote-mips.c (common_open): Instead of
"mips_read_register_type" and "mips_set_processor_type_command"
call "deprecated_mips_set_processor_regs_hack".
* config/mips/tm-mips.h (mips_read_processor_type): Delete
declaration.
(mips_set_processor_type_command): Delete declaration.
* mips-tdep.c (mips_gdbarch_init): Update comment.
(mips_dump_tdep): Do not print MIPS_REGISTER_NAMES.
(mips_set_processor_type): Delete function.
(NUM_MIPS_PROCESSOR_REGS): Define.
(mips_show_processor_type_command): Delete function.
(mips_set_processor_type_command): Delete function.
(tmp_mips_processor_type): Delete.
(mips_processor_type): Delete.
(mips_processor_type_table): Delete.
(mips_r3051_reg_names): Delete.
(mips_r3081_reg_names): Delete.
(mips_lsi33k_reg_names): Delete.
(mips_processor_reg_names): Delete.
(mips_read_processor_type): Delete function.
(deprecated_mips_set_processor_regs_hack): New function.
(struct gdbarch_tdep): Add member "mips_processor_reg_names".
(mips_register_name): Get the processor names from the tdep.
(mips_tx39_reg_names): New array.
(mips_generic_reg_names): Wire to a standard set of names.
(mips_gdbarch_init): Set "mips_processor_reg_names".
* config/mips/tm-irix5.h (MIPS_REGISTER_NAMES): Delete macro.
* config/mips/tm-mips.h (MIPS_REGISTER_NAMES): Delete macro.
* config/mips/tm-tx39.h (MIPS_REGISTER_NAMES): Delete macro.
2003-11-16 22:46:49 +00:00
Andrew Cagney
56cea62382
2003-11-16 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (struct gdbarch_tdep): Add field "regnum".
(mips_fpa0_regnum, mips_regnum): New function.
(mips_gdbarch_init): Fill in the "regnum" fields.
* mips-tdep.h (struct mips_regnum): Define.
(mips_regnum): Declare.
* config/mips/tm-mips.h (BADVADDR_REGNUM): Delete macro.
(LO_REGNUM, HI_REGNUM, BADVADDR_REGNUM): Ditto.
(CAUSE_REGNUM, PC_REGNUM, FP0_REGNUM): Ditto.
(FCRCS_REGNUM, FCRIR_REGNUM, FPA0_REGNUM): Ditto.
* config/mips/tm-irix6.h (FP0_REGNUM): Delete macro.
(PC_REGNUM, CAUSE_REGNUM, BADVADDR_REGNUM): Ditto.
(HI_REGNUM, LO_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): Ditto.
* config/mips/tm-irix5.h (FP0_REGNUM): Delete macro.
(PC_REGNUM, CAUSE_REGNUM, BADVADDR_REGNUM): Ditto.
(HI_REGNUM, LO_REGNUM, FCRCS_REGNUM, FCRIR_REGNUM): Ditto.
* remote-mips.c: Include "mips-tdep.h". Update.
* mipsnbsd-tdep.c: Update.
* mipsv4-nat.c: Update.
* mips-tdep.c: Update.
* mips-nat.c: Update.
* mips-linux-tdep.c: Update.
* mips-linux-nat.c: Update.
* irix5-nat.c: Update.
* dve3900-rom.c: Include "mips-tdep.h". Update.
(ignore_packet): Supress GCC warning.
* config/mips/nm-riscos.h: Update.
* Makefile.in (dve3900-rom.o, remote-mips.o): Update dependencies.
2003-11-16 19:24:05 +00:00
Andrew Cagney
719ec22109
2003-11-16 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c: Replace DEPRECATED_REGISTER_RAW_SIZE with
register_size.
(mips_register_raw_size): Delete function.
(mips_register_type): Handle "mips64_transfers_32bit_regs_p".
(mips_gdbarch_init): Do not set "deprecated_register_raw_size".
Check and set "mips64_transfers_32bit_regs_p".
(struct gdbarch_tdep): Add "mips64_transfers_32bit_regs_p".
(mips_register_convertible): Check the architecture's
"mips64_transfers_32bit_regs_p".
(set_mips64_transfers_32bit_regs): New function.
(_initialize_mips_tdep): Use "add_setshow_cmd" when adding the
"set remote-mips64-transfers-32bit-regs" command. Specify
set_mips64_transfers_32bit_regs as the set function.
2003-11-16 16:13:50 +00:00
Mark Kettenis
20187ed5b4
* i386-tdep.h (i386_supply_gregset): Provide prototype.
...
* i386-tdep.c (i386_supply_gregset): Make public.
2003-11-16 15:07:00 +00:00
Andrew Cagney
6771c42750
2003-11-16 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_register_byte): Delete function.
(mips_gdbarch_init): Do not set "deprecated_register_byte".
* config/mips/tm-mips.h (MIPS_REGISTER_BYTE): Delete macro.
* config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Delete macro.
* config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Delete macro.
2003-11-16 14:31:53 +00:00
Mark Kettenis
c8048956e4
* i386-tdep.c (i386_extract_return_value): Don't use bfd_byte.
2003-11-16 10:43:07 +00:00
Andrew Cagney
cc8a868a11
2003-11-16 Andrew Cagney <cagney@redhat.com>
...
* config/mips/linux64.mt: Delete file.
* config/mips/tm-linux64.h: Delete file.
* config/mips/tm-mips64.h: Delete file.
* config/mips/embed64.mt: Delete file.
* config/djgpp/fnchange.lst: Update.
* configure.tgt: Delete explicit patterns for mipsisa64*-*-linux*,
mips64*-*-linux*, mips64*-*-*, and mipsisa64*-*-*.
* config/mips/tm-irix6.h: Update copyright. Include
"mips/tm-mips.h" instead of "mips/tm-mips64.h".
* mips-tdep.c (mips_dump_tdep): Do not print "OP_LDFPR" or
"OP_LDGPR".
2003-11-16 05:57:09 +00:00
Andrew Cagney
5ef80fb0d1
2003-11-15 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_register_type): Simplify. Eliminate reference
to MIPS_REGISTER_TYPE. Make integer registers signed. Make IRIX
n32 registers 64 bit.
(mips_register_raw_size, mips_register_byte): For pseudo
registers, use the register's pseudo size and not the
corresponding raw register's size.
* config/mips/tm-mips64.h (MIPS_REGISTER_TYPE): Delete macro.
* config/mips/tm-mips.h (MIPS_REGISTER_TYPE): Delete macro.
* config/mips/tm-irix6.h: Don't #undef MIPS_REGISTER_TYPE.
* config/mips/tm-irix5.h (MIPS_REGISTER_TYPE): Delete macro.
2003-11-16 04:57:25 +00:00
Andrew Cagney
8fa9cfa1b2
2003-11-15 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (struct gdbarch_tdep): Delete member
gdb_target_is_mips64.
(GDB_TARGET_IS_MIPS64): Delete macro.
(mips_gdbarch_init): Do not set tdep's gdb_target_is_mips64.
(mips_dump_tdep): Do not print GDB_TARGET_IS_MIPS64.
(mips_addr_bits_remove): Simplify.
2003-11-15 23:34:55 +00:00
Andrew Cagney
c73e8f27d7
2003-11-15 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c: Replace DEPRECATED_REGISTER_VIRTUAL_SIZE with
register_size.
2003-11-15 22:35:37 +00:00
Andrew Cagney
4246e332ce
2003-11-15 Andrew Cagney <cagney@redhat.com>
...
Replace MIPS_REGSIZE with mips_regsize.
* mips-tdep.c (mips_regsize): New function.
* mips-tdep.h (mips_regsize): Declare.
* mipsnbsd-tdep.h (SIZEOF_STRUCT_FPREG): Update.
(SIZEOF_STRUCT_REG): Update.
* mipsnbsd-tdep.c (mipsnbsd_supply_reg): Update.
(mipsnbsd_fill_reg): Update.
(mipsnbsd_supply_fpreg): Update.
(mipsnbsd_fill_fpreg): Update.
(NBSD_MIPS_JB_ELEMENT_SIZE): Update.
* mips-tdep.c (mips_register_raw_size): Update.
(mips_register_type): Update.
(SIGFRAME_BASE): Update.
(SIGFRAME_PC_OFF): Update.
(SIGFRAME_REGSAVE_OFF): Update.
(SIGFRAME_FPREGSAVE_OFF): Update.
(SIGFRAME_REG_SIZE): Update.
(mips32_heuristic_proc_desc): Update.
(print_gp_register_row): Update.
(mips_dump_tdep): Do not print MIPS_REGSIZE.
* irix5-nat.c (supply_gregset): Update.
(fetch_core_registers): Update.
* config/mips/tm-mips64.h (MIPS_REGSIZE): Delete macro.
* config/mips/tm-irix6.h (MIPS_REGISTER_BYTE): Update.
* config/mips/tm-mips.h (MIPS_REGSIZE): Delete macro.
(MIPS_REGISTER_BYTE): Update.
* config/mips/tm-irix5.h (MIPS_REGISTER_BYTE): Update.
2003-11-15 22:09:07 +00:00
Andrew Cagney
5e044b1e88
2003-11-15 Andrew Cagney <cagney@redhat.com>
...
* config/sparc/tm-sparc.h (DEPRECATE_USE_REGISTER_NOT_ARG): Rename
USE_REGISTER_NOT_ARG.
* stabsread.c (define_symbol): Update.
2003-11-15 21:49:30 +00:00
Andrew Cagney
3a16a68c4f
2003-11-15 Andrew Cagney <cagney@redhat.com>
...
* bcache.h (deprecated_bcache): Declare.
(bcache): Make returned buffer constant.
* bcache.c (deprecated_bcache): New function.
(bcache_data): New function.
(bcache): Call bcache data.
* symfile.c (add_psymbol_to_list): Use deprecated_bcache.
(add_psymbol_with_dem_name_to_list): Ditto.
2003-11-15 19:39:04 +00:00
Mark Kettenis
bb41a796b6
* glibc-tdep.h (struct gdbarch): Declare opaque.
...
(glibc_skip_solib_resolver): Adjust prototype.
* glibc-tdep.c (glibc_skip_solib_resolver): Adjust.
* arm-linux-tdep.c (arm_linux_skip_solib_resolver): Remove.
(arm_linux_init_abi): Set skip_solib_resolver.
* i386-linux-tdep.c (i386_linux_skip_solib_resolver): Remove.
(i386_linux_init_abi): Set skip_solib_resolver.
* config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove.
(arm_linux_skip_solib_resolver): Remove prototype.
* config/i386/tm-linux.h (SKIP_SOLIB_RESOLVER): Remove.
(i386_linux_skip_solib_resolver): Remove prototype.
2003-11-15 14:02:58 +00:00
Mark Kettenis
4c8c40e6cb
* gdbarch.sh (skip_solib_resolver): Change into a multi-arch
...
function.
* gdbarch.c, gdbarch.h: Regenerate.
* infrun.c (handle_inferior_event): Call
gdbarch_skip_solib_resolver instead of SKIP_SOLIB_RESOLVER.
* arch-utils.c (generic_in_solib_call_trampoline): Adjust function
definition.
* arch-utils.h (generic_in_solib_call_trampoline): Adjust function
prototype.
2003-11-14 21:22:42 +00:00
Jeff Johnston
0e5d83e3b6
2003-11-14 Jeff Johnston <jjohnstn@redhat.com>
...
* libunwind-frame.c: New file.
* libunwind-frame.h: New file.
* acconfig.h (HAVE_LIBUNWIND): #undef reference added.
* configure.in: Add --with-libunwind option support. Define
HAVE_LIBUNWIND if libunwind support selected / defaulted.
Also check for libunwind.h and libunwind-ia64.h headers.
* configure: Regenerated.
* Makefile.in: Add support for libunwind-frame.o.
* config.in: Regenerated.
2003-11-14 21:17:51 +00:00
Jeff Johnston
287a334e72
2003-11-14 Jeff Johnston <jjohnstn@redhat.com>
...
* config/ia64/nm-linux.h (NATIVE_XFER_UNWIND_TABLE): New macro to
set up the ia64 linux native target method for getting the kernel
unwind table.
* ia64-linux-nat.c (ia64_linux_xfer_unwind_table): New function.
* inftarg.c (child_xfer_partial): Enable section of code to
handle TARGET_OBJECT_UNWIND_TABLE.
* target.h (target_object): Add new TARGET_OBJECT_UNWIND_TABLE macro.
2003-11-14 20:49:23 +00:00
Ian Lance Taylor
140be7b810
* config/arm/nbsd.mt (TM_FILE): Define.
...
* config/arm/tm-nbsd.h: New file.
2003-11-14 20:45:12 +00:00
Andrew Cagney
0a90bcdd1e
2003-11-14 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in (ppc-sysv-tdep.o): Update dependencies.
* ppc-sysv-tdep.c: Include "objfiles.h".
(ppc64_sysv_abi_push_dummy_call): Provide the
the FN's objfile when looking for the descriptor.
2003-11-14 14:34:30 +00:00
Andrew Cagney
9ea97f2aa0
2003-11-13 Andrew Cagney <cagney@redhat.com>
...
* ppc-linux-tdep.c (ppc_linux_init_abi): Set PPC64's
"name_of_malloc" to ".malloc".
2003-11-14 14:16:29 +00:00
Mark Kettenis
087f1027e3
* config/i386/x86-64linux.mt (TDEPFILES): Add glibc-tdep.o.
2003-11-13 22:01:01 +00:00
David Carlton
3882f37a75
2003-11-13 David Carlton <carlton@kealia.com>
...
* cp-namespace.c (lookup_namespace_scope): Fix typo in comment.
2003-11-13 19:34:02 +00:00
Andrew Cagney
a8cf2722ea
2003-11-13 Andrew Cagney <cagney@redhat.com>
...
* arch-utils.h (selected_architecture_name): Declare.
(selected_byte_order): Declare.
* arch-utils.c (selected_byte_order): New function.
(selected_architecture_name): New function.
(target_architecture_auto): Make static.
(set_architecture_string): Make static.
(target_byte_order): Make static.
(target_byte_order_auto): Make static.
* gdbarch.sh (TARGET_BYTE_ORDER, TARGET_ARCHITECTURE): Delete
non-multi-arch definition.
(TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_AUTO): Delete.
(target_byte_order, target_architecture): Delete declaration.
(target_byte_order_auto, target_architecture_auto): Ditto.
* gdbarch.h: Re-generate.
* remote-sim.c (gdbsim_open): Use "selected_architecture_name" and
"selected_byte_order".
2003-11-13 19:06:26 +00:00
Andrew Cagney
475b6ddd32
2003-11-13 Andrew Cagney <cagney@redhat.com>
...
* ppc-linux-tdep.c (ppc_linux_return_value): Fix parameter order.
2003-11-13 18:08:57 +00:00
Jim Blandy
a22286a98f
* cp-namespace.c: Doc fix.
2003-11-13 17:28:38 +00:00
Michael Snyder
39add00a8a
2003-11-12 Michael Snyder <msnyder@redhat.com>
...
* sh64_tdep.c: Regularize some names.
(sh_sh64_register_name): Rename to sh64_register_name.
(sh_sh64_breakpoint_from_pc): Rename to sh64_breakpoint_from_pc.
(sh_sh64_register_byte): Rename to sh64_register_byte.
(sh_sh64_build_float_register_type):
Rename to sh64_build_float_register_type.
(sh_sh64_register_convert_to_virtual):
Rename to sh64_register_convert_to_virtual.
(sh_sh64_register_convert_to_raw):
Rename to sh64_register_convert_to_raw.
2003-11-13 00:04:59 +00:00
Michael Snyder
2a314ed58b
2003-11-12 Michael Snyder <msnyder@redhat.com>
...
* sh64-tdep.c (translate_insn_rn, is_media_pseudo,
sh64_media_reg_base_num, sh64_compact_reg_base_num,
sh64_nofp_frame_init_saved_regs, sh64_push_arguments,
sh64_extract_return_value, sh64_show_media_regs,
sh64_show_compact_regs, sh_sh64_register_byte, sh64_register_type,
sh_sh64_register_convert_to_virtual, sh_sh64_register_convert_to_raw,
sh64_pseudo_register_read, sh64_pseudo_register_write,
sh64_do_pseudo_register, sh_compact_print_registers_info):
Delete unused variable 'tdep'.
2003-11-12 22:45:41 +00:00
Michael Snyder
7bb1155820
2003-11-12 Michael Snyder <msnyder@redhat.com>
...
* sh64-tdep.c: Coding standard and spelling comment fixes.
(sh64_extract_return_value): Replace deprecated_store_floating
with store_typed_floating.
(sh_sh64_register_convert_to_raw): Replace
deprecated_store_floating with store_typed_floating.
(sh_sh64_register_virtual_type): Convert to sh64_register_type.
(sh64_frame_chain, sh64_get_saved_pr, sh64_get_saved_register,
sh64_nofp_frame_init_saved_regs, sh64_push_arguments,
sh64_extract_struct_value_address, sh64_pop_frame,
sh64_extract_return_value, sh64_store_return_value,
sh_sh64_register_convert_to_virtual, sh64_pseudo_register_read,
sh_sh64_register_convert_to_raw, sh_pseudo_register_write):
Replace DEPRECATED_REGISTER_RAW_SIZE with register_size.
Replace DEPRECATED_REGISTER_VIRTUAL_TYPE with register_type.
(sh64_gdbarch_init): Don't set deprecated_register_bytes,
deprecated_register_virtual_type, deprecated_register_raw_size,
deprecated_max_register_raw_size, or
deprecated_max_register_virtual_size. Instead, just set
gdbarch_register_type.
2003-11-12 22:12:59 +00:00
Daniel Jacobowitz
e7c27a734d
* dwarf2read.c (struct dwarf2_cu): New type.
...
(dwarf2_build_psymtabs_hard, psymtab_to_symtab_1): Create a
dwarf2_cu structure to pass down.
(scan_partial_symbols, add_partial_symbol, add_partial_namespace)
(add_partial_enumeration, locate_pdi_sibling, process_die)
(read_file_scope, read_func_scope)
(read_lexical_block_scope, dwarf2_get_pc_bounds)
(dwarf2_add_field, dwarf2_attach_fields_to_type)
(dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type)
(read_structure_scope, read_enumeration, read_array_type)
(read_common_block, read_namespace, read_tag_pointer_type)
(read_tag_ptr_to_member_type, read_tag_reference_type)
(read_tag_const_type, read_tag_volatile_type, read_tag_string_type)
(read_subroutine_type, read_typedef, read_base_type, read_comp_unit)
(read_die_and_children, read_die_and_siblings, dwarf2_read_section)
(dwarf2_read_abbrevs, dwarf2_lookup_abbrev, read_partial_die)
(read_full_die. read_attribute_value, read_attribute)
(read_address, dwarf_decode_line_header, dwarf_decode_lines)
(var_decode_location, new_symbol, dwarf2_const_value, die_type)
(die_containing_type, type_at_offset, tag_type_to_type)
(read_type_die, dwarf_base_type, decode_locdesc, dwarf_decode_macros)
(dwarf2_symbol_mark_computed): Accept and use a dwarf2_cu object.
2003-11-12 17:10:55 +00:00
Daniel Jacobowitz
1640b8210d
PR breakpoints/1450
...
* breakpoint.c (insert_bp_location): Fix a logic error by returning
0 after a catchpoint fails.
2003-11-12 17:00:42 +00:00
Michael Chastain
d78915074b
2003-11-11 Michael Chastain <mec.gnu@mindspring.com>
...
* mips-tdep.c (msymbol_size): Delete.
2003-11-11 21:07:52 +00:00
Michael Chastain
f594e5e9c9
2003-11-07 Michael Chastain <mec@shout.net>
...
* symtab.h (struct minimal_symbol): Add size.
* dbxread.c: Use it.
* elfread.c: (record_minimal_symbol_and_info): Do not use info.
Rename to record_minimal_symbol.
(elf_symtab_read): Set MSYMBOL_SIZE explicitly.
* minsyms.c (prim_record_minimal_symbol_and_info): Initialize MSYMBOL_SIZE.
(install_minimal_symbols): Ditto.
* objfiles.c (terminate_minimal_symbol_table): Ditto.
* arm-tdep.c: Delete unused MSYMBOL_SIZE.
* m68hc11-tdep.c: Ditto.
* mips-tdep.c: Ditto.
* sh64-tdep.c: Ditto.
2003-11-11 20:04:52 +00:00
Michael Chastain
68e39e739b
2003-11-10 Michael Chastain <mec.gnu@mindspring.com>
...
* MAINTAINERS: Change my e-mail address.
2003-11-11 14:51:33 +00:00
Andrew Cagney
963e2bb72c
2003-11-10 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (return_value): Replace "inval" and "outval" with
"readbuf" and "writebuf".
* ppcnbsd-tdep.c (ppcnbsd_return_value): Ditto.
* d10v-tdep.c (d10v_return_value): Ditto.
* ppc-tdep.h (ppc_sysv_abi_return_value): Ditto.
(ppc_sysv_abi_broken_return_value): Ditto.
(ppc64_sysv_abi_return_value): Ditto.
* ppc-sysv-tdep.c (do_ppc_sysv_return_value): Ditto.
(ppc_sysv_abi_return_value): Ditto.
(ppc_sysv_abi_broken_return_value): Ditto.
(ppc64_sysv_abi_return_value): Ditto.
* values.c (register_value_being_returned): Update call.
* stack.c (return_command): Update call.
* gdbarch.h, gdbarch.c: Re-generate.
Index: gdb/doc/ChangeLog
2003-11-10 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace the
return_value method's "inval" and "outval" parameters with
"readbuf" and "writebuf".
2003-11-10 22:47:31 +00:00
Andrew Cagney
8aa91c1e23
2003-11-10 Andrew Cagney <cagney@redhat.com>
...
* target.h (struct target_ops): Order xfer buffer parameters "read
write" not "write read".
* bfd-target.c (target_bfd_xfer_partial): Update.
* remote.c (remote_xfer_partial): Update.
* inftarg.c (child_xfer_partial): Update.
* target.c (default_xfer_partial): Update.
(target_read_partial, target_write_partial): Update.
(debug_to_xfer_partial): Update.
2003-11-10 21:20:44 +00:00
Andrew Cagney
100bcc3f4e
2003-11-10 Andrew Cagney <cagney@redhat.com>
...
* arch-utils.h, arch-utils.c: Fix typo in comment.
2003-11-10 16:17:12 +00:00
Andrew Cagney
1b3164d82d
fix changelog tipo.
2003-11-10 16:05:24 +00:00
Andrew Cagney
b60eb90d03
2003-11-10 Andrew Cagney <cagney@redhat.com>
...
* arch-utils.c (deprecated_select_gdbarch_hack): Delete function.
(gdbarch_from_bfd): Call gdbarch_find_by_info.
(set_gdbarch_from_file): Call "deprecated_select_gdbarch_hack".
2003-11-10 16:03:26 +00:00
Andrew Cagney
3f0307932c
Fix changelog tipo.
2003-11-10 04:42:16 +00:00
Andrew Cagney
ebdba546a1
2003-11-09 Andrew Cagney <cagney@redhat.com>
...
* arch-utils.c (gdbarch_update_p): New function.
* gdbarch.sh (gdbarch_update_p): Delete function.
(find_arch_by_info, gdbarch_find_by_info): New functions.
(deprecated_current_gdbarch_set_hack): New function.
* gdbarch.c: Re-generate.
2003-11-10 04:39:17 +00:00
Andrew Cagney
7de2341de5
2003-11-09 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (clear_gdbarch_swap): Delete function.
(swapout_gdbarch_swap): Delete function.
(swapin_gdbarch_swap): Delete function.
(init_gdbarch_swap): Delete function.
(initialize_non_multiarch): Delete function.
(current_gdbarch_swap_in_hack): New function.
(current_gdbarch_swap_out_hack): New function.
(current_gdbarch_swap_init_hack): New function.
* gdbarch.c: Re-generate.
2003-11-10 02:50:04 +00:00
Andrew Cagney
db4469701a
2003-11-09 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (verify_gdbarch, gdbarch_dump): Rename "gdbarch"
parameter to "current_gdbarch". Add comment explaining why.
(TARGET_FLOAT_FORMAT: Pass "current_gdbarch" to default_double_format.
(TARGET_DOUBLE_FORMAT,TARGET_LONG_DOUBLE_FORMAT): Ditto.
* gdbarch.c: Re-generate.
2003-11-10 01:10:55 +00:00
Andrew Cagney
341e3d113e
2003-11-09 Andrew Cagney <cagney@redhat.com>
...
* config/s390/s390.mh (XM_FILE, XM_CLIBS): Delete macros.
* config/s390/nm-linux.h (KERNEL_U_ADDR): Define.
* config/s390/xm-linux.h: Delete file.
* config/m88k/xm-delta88v4.h: Delete stray.
2003-11-10 00:11:12 +00:00
Andrew Cagney
bf922ad9fa
2003-11-09 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in (arch-utils.o): Update dependencies.
* arch-utils.c: Include "osabi.h".
(gdbarch_info_fill): New function.
* arch-utils.h (gdbarch_info_fill): Declare.
* gdbarch.sh (gdbarch_update_p): Call "gdbarch_info_fill".
* gdbarch.c: Re-generate.
2003-11-09 23:52:28 +00:00
Mark Kettenis
a3640c7517
* glibc-tdep.c, glibc-tdep.h: New files.
...
* config/arm/linux.mt (TDEPFILES): Add glibc-tdep.o
* config/i386/linux.mt (TDEPFILES): Likewise.
* i386-linux-tdep.c (glibc-tdep.h): Include.
(find_minsym_and_objfile, skip_hurd_resolver): Delete.
(i386_linux_skip_solib_resolver): Call glibc_skip_solib_resolver.
* arm-linux-tdep.c (glibc-tdep.h): Include.
(find_minsym_and_objfile, skip_hurd_resolver): Delete.
(arm_linux_skip_solib_resolver): Call glibc_skip_solib_resolver.
* Makefile.in (ALLDEPFILES): Add glibc-tdep.c
(glibc_tdep_h): Define.
(glibc-tdep.o): Add dependencies.
(arm-linux-tdep.o): Update dependencies.
(i386-linux-tdep.o): Likewise.
2003-11-09 17:28:08 +00:00
Andrew Cagney
e60e0ab267
2003-11-09 Andrew Cagney <cagney@redhat.com>
...
* config/mips/irix6.mh (NAT_FILE): Set to "nm-irix5.h".
* config/mips/nm-irix6.h: Delete file.
* config/mips/nm-linux.h: Update copyright.
(MIPS_GNULINUX_TARGET): Delete macro.
* config/mips/irix6.mh (XM_FILE): Set to "xm-irix5.h".
* config/mips/xm-irix6.h: Delete file.
* config/mips/linux.mh (XM_FILE): Delete definition.
* config/mips/xm-linux.h: Delete file.
2003-11-09 14:29:26 +00:00
Andrew Cagney
181555e940
2003-11-09 Andrew Cagney <cagney@redhat.com>
...
* d10v-tdep.c (d10v_return_value): New function.
(d10v_use_struct_convention): Delete function.
(d10v_store_return_value): Delete function.
(d10v_extract_struct_value_address): Delete function.
(d10v_gdbarch_init): Set "return_value" instead of
"extract_return_value", "store_return_value",
"extract_struct_value_address", and "use_struct_convention".
(RET1_REGNUM): Delete const.
2003-11-09 14:20:55 +00:00
Mark Kettenis
dea0c52f82
From David S. Miller <davem@redhat.com>:
...
* gdbarch.sh (SKIP_SOLIB_RESOLVER): New method.
* gdbarch.c, gdbarch.h: Regenerated.
* arch-utils.c (generic_skip_solib_resolver): New function.
* arch-utils.h (generic_skip_solib_resolver): New prototype.
* infrun.c (SKIP_SOLIB_RESOLVER): Don't define.
2003-11-09 12:07:16 +00:00
Andrew Cagney
6314a34934
2003-11-07 Andrew Cagney <cagney@redhat.com>
...
* top.c (print_gdb_version): Replace STREQ with strcmp.
* valops.c (value_struct_elt_for_reference): Ditto.
(value_struct_elt_for_reference): Ditto.
* symtab.c (gdb_mangle_name): Ditto.
(find_line_symtab): Ditto.
* symmisc.c (maintenance_print_symbols): Ditto.
* symfile.c (symbol_file_command): Ditto.
* stabsread.c (define_symbol, read_type): Ditto.
(cleanup_undefined_types, scan_file_globals): Ditto.
* solib.c (solib_map_sections): Ditto.
* solib-svr4.c (bfd_lookup_symbol): Ditto.
* rs6000-tdep.c (skip_prologue): Ditto.
* p-valprint.c (pascal_value_print): Ditto.
(pascal_object_is_vtbl_ptr_type): Ditto.
* objfiles.c (in_plt_section): Ditto.
* minsyms.c (lookup_minimal_symbol): Ditto.
(compact_minimal_symbols): Ditto.
(find_solib_trampoline_target): Ditto.
* mdebugread.c (parse_type): Ditto.
* language.c (set_language_command): Ditto.
(set_type_command, set_range_command): Ditto.
* f-lang.c (add_common_block): Ditto.
(add_common_block): Ditto.
(find_first_common_named): Ditto.
(patch_all_commons_by_name): Ditto.
* elfread.c (elf_locate_sections): Ditto.
(elf_locate_sections): Ditto.
(elfstab_offset_sections): Ditto.
* dwarf2read.c (dwarf2_locate_sections): Ditto.
* dbxread.c (add_old_header_file): Ditto.
(find_corresponding_bincl_psymtab): Ditto.
(read_dbx_symtab, process_one_symbol): Ditto.
* coffread.c (patch_opaque_types): Ditto.
* cli/cli-decode.c (delete_cmd): Ditto.
* cli/cli-cmds.c (pwd_command, list_command): Ditto.
* c-typeprint.c (c_type_print_base): Ditto.
* breakpoint.c (bpstat_stop_status): Ditto.
(clear_command, breakpoint_re_set_one): Ditto.
2003-11-08 00:13:03 +00:00
Andrew Cagney
49df298f1f
2003-11-07 Andrew Cagney <cagney@redhat.com>
...
* bcache.h: Update copyright. Add comments on bcache VS hashtab.
* bcache.c (struct bstring): Make "length" an unsigned short, add
"half_hash".
(struct bcache): Add "half_hash_error_count".
(bcache): Compute and save the "half_hash". Compare the
"half_hash" before comparing the length. Update
half_hash_error_count.
2003-11-07 22:04:39 +00:00
Andrew Cagney
f168dd8007
2003-11-07 Andrew Cagney <cagney@redhat.com>
...
* inftarg.c (child_xfer_partial): New function
(init_child_ops): Set "to_xfer_partial".
2003-11-07 21:33:37 +00:00
Andrew Cagney
05580c65ad
2003-11-07 Andrew Cagney <cagney@redhat.com>
...
* ppc-linux-tdep.c (ppc_linux_init_abi): When 32-bit GNU/Linux,
set "return_value" instead of "use_struct_convention".
(ppc_linux_use_struct_convention): Delete function.
(ppc_linux_return_value): New function.
* ppc-sysv-tdep.c (ppc_sysv_abi_return_value): New function.
(ppc_sysv_abi_broken_return_value): New function.
(do_ppc_sysv_return_value): Add "gdbarch" parameter.
(ppc64_sysv_abi_push_dummy_call): Add "gdbarch" parameter, drop
static.
(ppc_sysv_abi_extract_return_value): Delete function.
(ppc_sysv_abi_broken_extract_return_value): Delete function.
(ppc_sysv_abi_store_return_value): Delete function.
(ppc_sysv_abi_broken_store_return_value): Delete function.
(ppc_sysv_abi_use_struct_convention): Delete function.
(ppc64_sysv_abi_use_struct_convention): Delete function.
(ppc64_sysv_abi_extract_return_value): Delete function.
(ppc64_sysv_abi_store_return_value): Delete function.
* ppcnbsd-tdep.c (ppcnbsd_return_value): New function.
(ppcnbsd_init_abi): Set "return_value", instead of
"use_struct_convention", "extract_return_value", and
"store_return_value".
(ppcnbsd_use_struct_convention): Delete function.
* ppc-tdep.h (ppc64_sysv_abi_return_value): Declare.
(ppc_sysv_abi_return_value): Declare.
(ppc_sysv_abi_broken_return_value): Declare.
(ppc_sysv_abi_use_struct_convention): Delete.
(ppc_sysv_abi_store_return_value): Delete.
(ppc_sysv_abi_extract_return_value): Delete.
(ppc_sysv_abi_broken_store_return_value): Delete.
(ppc_sysv_abi_broken_extract_return_value): Delete.
(ppc64_sysv_abi_use_struct_convention): Delete.
(ppc64_sysv_abi_extract_return_value): Delete.
(ppc64_sysv_abi_store_return_value): Delete.
* rs6000-tdep.c (rs6000_gdbarch_init): For 32-bit and 64-bit SYSV,
set "return_value" instead of "extract_return_value",
"store_return_value", and "use_struct_convention".
2003-11-07 20:44:51 +00:00
Mark Kettenis
22c7ba1aba
* dwarf2-frame.c (dwarf2_build_frame_info): Wrap comment.
2003-11-07 20:36:15 +00:00
Mark Kettenis
1763fba4a3
* fbsd-proc.c (read_mapping): Use sscanf and fgets instead of
...
fscanf.
2003-11-07 16:30:26 +00:00
Mark Kettenis
fc07cc2d45
* fbsd-proc.c: Fix formatting.
2003-11-07 15:57:22 +00:00
Kevin Buettner
6a748db690
Handle iacc0 as a pseudo-register.
2003-11-07 05:54:51 +00:00
Andrew Cagney
bf896cb059
2003-11-06 Andrew Cagney <cagney@redhat.com>
...
* valops.c (destructor_name_p): Replace STREQN with strncmp.
* top.c (command_line_input): Ditto.
* objc-exp.y (yylex): Ditto.
* minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
* jv-exp.y (yylex): Ditto.
* f-exp.y (yylex): Ditto.
* event-top.c (command_line_handler): Ditto.
* environ.c (get_in_environ): Ditto.
(set_in_environ): Ditto.
* dwarfread.c (handle_producer): Ditto.
* dbxread.c (process_one_symbol): Ditto.
* c-typeprint.c (c_type_print_base): Ditto.
* c-exp.y (yylex): Ditto.
2003-11-06 Andrew Cagney <cagney@redhat.com>
* mi-cmd-var.c (mi_cmd_var_set_format): Replace STREQN with
strncmp.
2003-11-06 22:54:02 +00:00
Andrew Cagney
0b603eba4e
2003-11-06 Andrew Cagney <cagney@redhat.com>
...
Jeff Johnston <jjohnstn@redhat.com>
* target.c (add_target): Only set "to_xfer_partial" when NULL.
(init_dummy_target): Set "to_xfer_partial".
2003-11-06 19:56:26 +00:00
Andrew Cagney
9cedbfec95
2003-11-06 Andrew Cagney <cagney@redhat.com>
...
* stack.c (return_command): Warn when STRUCT_CONVENTION, and not
REGISTER_CONVENTION.
2003-11-06 19:09:46 +00:00
Daniel Jacobowitz
26bb91f300
* breakpoint.c (insert_bp_location, allocate_bp_location): Make
...
static.
2003-11-06 18:35:05 +00:00
Daniel Jacobowitz
0bde7532f1
* breakpoint.c (remove_breakpoint): Take an bp_location
...
instead of a breakpoint argument. Check the bp_location's type.
Fix a reversed condition for hardware breakpoints.
(insert_bp_location): Update call to remove_breakpoint.
(remove_breakpoints): Likewise. Use ALL_BP_LOCATIONS.
(remove_hw_watchpoints): Likewise.
(reattach_breakpoints): Likewise.
(detach_breakpoints): Likewise.
(delete_breakpoint): Likewise.
2003-11-06 18:28:33 +00:00
Daniel Jacobowitz
075f65829c
* breakpoint.c (mark_breakpoints_out): Use ALL_BP_LOCATIONS.
...
(beakpoint_init_inferior): Likewise.
(breakpoint_here_p): Likewise. Only check addresses for software
or hardware breakpoints.
(breakpoint_inserted_here_p): Likewise.
(breakpoint_thread_match): Likewise. Correct comment.
(bpstat_have_active_hw_watchpoints): Likewise.
(check_duplicates): Likewise.
2003-11-06 18:27:34 +00:00
Daniel Jacobowitz
879bfdc20d
* breakpoints.c (insert_bp_location): New function, broken out
...
from insert_breakpoints. Work on an bp_location instead of a
breakpoint.
(insert_breakpoints): Use it.
2003-11-06 18:26:17 +00:00
Daniel Jacobowitz
cf3a9e5b48
* breakpoint.h (struct bp_location): Add section.
...
(struct breakpoint): Remove section.
* breakpoint.c (insert_breakpoints, remove_breakpoint)
(breakpoint_here_p, breakpoint_inserted_here_p)
(breakpoint_thread_match, bpstat_stop_status, print_one_breakpoint)
(describe_other_breakpoints, check_duplicates, set_raw_breakpoint)
(clear_command, delete_breakpoint, breakpoint_re_set_one): Access
section through loc.
2003-11-06 18:24:55 +00:00
Daniel Jacobowitz
ffce0d52cd
* breakpoint.c (read_memory_nobpt): Use ALL_BP_LOCATIONS
...
instead of ALL_BREAKPOINTS. Check for software breakpoints only.
2003-11-06 18:22:45 +00:00
Daniel Jacobowitz
e049a4b52e
* breakpoint.c (allocate_bp_location): Take bpt and bp_type
...
arguments. Initialize owner and type for the new breakpoint
location item.
(set_raw_breakpoint): Update call to allocate_bp_location.
2003-11-06 18:20:52 +00:00
Daniel Jacobowitz
adeee247f4
Correct typo in previous entry
2003-11-06 17:57:32 +00:00
Daniel Jacobowitz
7cc221efff
* breakpoint.h (struct bp_location): Add a chain pointer.
...
* breakpoint.c (ALL_BP_LOCATIONS, ALL_BP_LOCATIONS_SAFE): New
macros.
(bp_location_chain): New variable.
(allocate_bp_location): New function.
(set_raw_breakpoint): Use it.
(delete_breakpoint): Remove ->loc from the bp_location_chain.
2003-11-06 17:26:18 +00:00
Daniel Jacobowitz
5cab636d14
* breakpoint.h (enum bp_loc_type, struct bp_location): New.
...
(struct breakpoint): Remove address, shadow_contents, inserted,
and duplicate. Add a struct bp_location.
* breakpoint.c (condition_command, read_memory_nobpt)
(insert_breakpoints, remove_breakpoints, remove_hw_watchpoints)
(reattach_breakpoints, update_breakpoints_after_exec)
(detach_breakpoints, remove_breakpoint, mark_breakpoints_out)
(breakpoint_init_inferior, breakpoint_here_p)
(breakpoint_inserted_here_p, deprecated_frame_in_dummy)
(breakpoint_thread_match, bpstat_stop_status)
(bpstat_have_active_hw_watchpoints, print_one_breakpoint)
(describe_other_breakpoints, check_duplicates)
(make_breakpoint_permanent, create_thread_event_breakpoint)
(disable_breakpoints_in_shlibs, re_enable_berakpoints_in_shlibs)
(set_longjmp_resume_breakpoint, mention, create_breakpoints)
(watch_command_1, print_one_exception_catchpoint)
(clear_command, breakpoint_re_set_one): Adjust member accesses to
use the breakpoint's ->loc.
(set_raw_breakpoint): Likewise. Initialize ->loc.
(delete_breakpoint): Likewise. Free ->loc.
2003-11-06 17:24:38 +00:00
Andrew Cagney
4c7d882ea3
2003-11-05 Andrew Cagney <cagney@redhat.com>
...
* config/sparc/tm-sparc.h (FRAME_STRUCT_ARGS_ADDRESS): Delete
macro.
* config/m68k/tm-sun3.h (SIG_PC_FP_OFFSET): Delete macro.
* config/i386/tm-cygwin.h
(LINKER_SYMBOLS_HAVE_WIN32_STDCALL_ARG_SIZES): Delete macro.
* config/powerpc/tm-linux.h
(AT_SUBROUTINE_CALL_INSTRUCTION_TARGET): Delete macro.
(at_subroutine_call_instruction_target): Delete declaration.
* config/sparc/tm-sp64linux.h (GDB_PTRACE_REGS64): Delete macro.
* config/m68k/tm-sun3.h (SIG_SP_FP_OFFSET): Delete macro.
* config/ns32k/tm-ns32k.h (NUM_GENERAL_REGS): Delete macro.
2003-11-06 03:29:49 +00:00
Andrew Cagney
7be0c53637
2003-11-05 Andrew Cagney <cagney@redhat.com>
...
* xcoffread.c (find_linenos): Replace "sec_ptr" and "bfd" with
"struct bfd_section" and "struct bfd".
* target.h (struct section_table): Ditto.
* rs6000-nat.c (xcoff_relocate_core): Ditto.
* solib-svr4.c (elf_locate_base): Ditto.
* pa64solib.c (dld_cache_t): Ditto.
* objfiles.h (struct obj_section): Ditto.
* objfiles.c (add_to_objfile_sections): Ditto.
* exec.c (bfdsec_to_vmap): Ditto.
(add_to_section_table): Ditto.
(build_section_table): Ditto.
* corelow.c (get_core_register_section): Ditto.
* coffread.c (find_linenos): Ditto.
* elfread.c (elf_interpreter): Delete #if0'd function.
* mips-tdep.c (mips_dump_tdep): Delete code prinint VX_NUM_REGS.
* config/sparc/tm-vxsparc.h (VX_NUM_REGS): Delete macro.
* config/mips/tm-vxmips.h (VX_NUM_REGS): Delete macro.
* config/m68k/tm-vx68.h (VX_NUM_REGS): Delete macro.
* arch-utils.h (generic_cannot_extract_struct_value_address):
Delete declaration.
* wince.c (_initialize_wince): Fix multi-line string.
* ia64-tdep.c (floatformat_valid): Convert to ISO C.
2003-11-06 02:52:28 +00:00
Elena Zannoni
d8fe84e397
2003-11-05 Elena Zannoni <ezannoni@redhat.com>
...
* top.c (execute_command): Fix broken logic for command execution
while inferior is running in async mode.
2003-11-05 23:50:12 +00:00
Mark Kettenis
cbdfc7c029
* dwarf2-frame.c (execute_cfa_program): Mark register as
...
REG_SAVED_REG for DW_CFA_register opcode.
2003-11-05 23:32:17 +00:00
Mark Kettenis
dac9410586
* amd64fbsd-tdep.c (amd64fbsd_sc_reg_offset): Adjust offset of
...
%rsp, %rip and %eflags to match ABI-change.
2003-11-05 22:54:46 +00:00
Jeff Johnston
85bf2b9128
2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
...
* ia64-tdep.c (struct gdbarch_tdep): Remove os_ident field.
(ia64_gdbarch_init): Don't bother calculating the os.
Instead use the gdbarch_info struct and look at the osabi field.
Also use gdbarch_list_lookup_by_info() to look for a
candidate gdbarch.
2003-11-05 20:32:42 +00:00
Kevin Buettner
cd31fb03d2
* frv-tdep.c (frv_register_byte): Delete.
...
(frv_extract_return_value, frv_store_return_value)
(frv_extract_struct_value_address): Don't call frv_register_byte().
Convert to non-deprecated form.
(frv_gdbarch_init): Don't call set_gdbarch_deprecated_register_byte().
Convert calls to set_gdbarch_deprecated_extract_return_value(),
set_gdbarch_deprecated_store_return_value(), and
set_gdbarch_deprecated_extract_struct_value_address() into
non-deprecated forms.
2003-11-05 16:44:12 +00:00
Andrew Cagney
0a05698224
2003-11-05 Andrew Cagney <cagney@redhat.com>
...
* mips-tdep.c (mips_dump_tdep): Do not print
PRINT_EXTRA_FRAME_INFO.
* config/sparc/tm-sparc.h (DEPRECATED_PRINT_EXTRA_FRAME_INFO):
Rename PRINT_EXTRA_FRAME_INFO.
* mips-tdep.c (mips_print_extra_frame_info): Delete function.
* config/mips/tm-mips.h (PRINT_EXTRA_FRAME_INFO): Delete macro.
(mips_print_extra_frame_info): Delete declaration.
* stack.c (frame_info): Use DEPRECATED_PRINT_EXTRA_FRAME_INFO.
2003-11-05 16:42:35 +00:00
Elena Zannoni
29e0a0623d
2003-11-05 Elena Zannoni <ezannoni@redhat.com>
...
* coffread.c (coff_symtab_read): Remove passing of info parameter
to prim_record_minimal_symbol_and_info.
2003-11-05 15:30:35 +00:00
Elena Zannoni
8af580fccd
2003-11-05 Elena Zannoni <ezannoni@redhat.com>
...
* coffread.c (process_coff_symbol): Delete CXUX_TARGET macro use.
(decode_base_type): Delete ifdeffed out code.
2003-11-05 15:27:31 +00:00
Andrew Cagney
507836c0f0
2003-11-04 Andrew Cagney <cagney@redhat.com>
...
* symtab.c (find_active_alias): Delete function.
(lookup_block_symbol): Delete alias code.
* stabsread.c (resolve_live_range): Delete function.
(add_live_range): Delete function.
(resolve_symbol_reference): Delete function.
(define_symbol): Delete live range and alias code.
(scan_file_globals): Delete alias code.
* symtab.h (SYMBOL_RANGES): Delete macro.
(struct range_list): Delete structure.
(struct symbol): Delete field "ranges".
(SYMBOL_ALIASES): Delete macro.
(struct alias_list): Delete structure.
(struct symbol): Delete field "aliases".
2003-11-04 22:22:31 +00:00
Michael Snyder
1083b3bca3
2003-11-04 Michael Snyder <msnyder@redhat.com>
...
* MAINTAINERS: Remove myself as owner of breakpoints and
of sparc/solaris.
2003-11-04 20:01:16 +00:00
Corinna Vinschen
474e5826dd
* sh-tdep.c (sh_sh4_nofpu_register_name): New function.
...
(sh_sh4al_dsp_register_name): Ditto.
(sh4_nofpu_show_regs): Ditto.
(sh_gdbarch_init): Add cases for bfd_mach_sh4al_dsp, bfd_mach_sh4a,
bfd_mach_sh4_nofpu and bfd_mach_sh4a_nofpu.
2003-11-03 17:08:23 +00:00
Andrew Cagney
2160782c82
* bcache.c: Include "gdb_assert.h".
...
(struct bcache): Add fields "expand_count" and
"expand_hash_count".
(expand_hash_table): Update the expand counts.
(print_bcache_statistics): Use XCALLOC, not alloca. Print stats
on object sizes and hashes.
* Makefile.in (bcache.o): Update dependencies.
2003-11-03 17:03:11 +00:00
Andrew Cagney
8530209598
2003-11-03 Andrew Cagney <cagney@redhat.com>
...
* section.c (bfd_set_section_contents): Make the "location" buffer
constant.
* bfd-in2.h: Re-generate.
Index: gdb/ChangeLog
2003-11-03 Andrew Cagney <cagney@redhat.com>
* exec.c (xfer_memory): Eliminate xfer_fn.
2003-11-03 14:44:08 +00:00
Kevin Buettner
526eef8952
* frv-tdep.c (gdb_assert.h, sim-regno.h, gdb/sim-frv.h)
...
(opcodes/frv-desc.h): Include.
(iacc0h_regnum, iacc0l_regnum): Define.
(last_spr_regnum, frv_num_regs): Update.
(new_variant): Don't supply default names for holes in the SPRs.
Supply names for iacc0h_regnum and iacc0l_regnum.
(frv_register_type): Use symbolic constants first_fpr_regnum and
last_fpr_regnum instead of hardcoded constants 64 and 127. Use
builtin_type_int instead of builtin_type_int32.
(frv_register_sim_regno): New function.
(frv_gdbarch_init): Call set_gdbarch_register_sim_regno().
* Makefile.in (gdb_sim_frv_h): Define.
(frv-tdep.o): Update dependencies.
2003-11-01 01:42:48 +00:00
Andrew Cagney
9e815ec299
2003-10-31 Andrew Cagney <cagney@redhat.com>
...
* avr-tdep.c (avr_frame_this_id): Do not call
deprecated_inside_entry_file.
* m68hc11-tdep.c (m68hc11_frame_this_id): Ditto.
* m32r-tdep.c (m32r_frame_this_id): Ditto.
* d10v-tdep.c (d10v_frame_this_id): Ditto.
* arm-tdep.c (arm_prologue_this_id): Ditto.
* alpha-tdep.c (alpha_heuristic_frame_this_id): Ditto.
2003-10-31 23:47:17 +00:00
Jim Blandy
e372db4988
* elfread.c (elf_symtab_read): Allocate correct number of tail
...
elements to sectinfo structure. (Fix from Woody LaRue.)
2003-10-31 22:47:48 +00:00
Andrew Cagney
e8bcf01f1b
2003-10-31 Andrew Cagney <cagney@redhat.com>
...
* stack.c (return_command): Use get_frame_type, instead of
CALL_DUMMY_HAS_COMPLETED.
* inferior.h (CALL_DUMMY_HAS_COMPLETED): Delete definition.
* config/pa/tm-hppa.h (CALL_DUMMY_HAS_COMPLETED): Delete macro.
2003-10-31 22:38:22 +00:00
Mark Kettenis
4c05fe5325
* x86-64-linux-tdep.c (x86_64_linux_sc_reg_offset): Don't
...
explicitly specify size of array.
(x86_64_linux_init_abi): Use ARRAY_SIZE to initialize
TDEP->sc_num_regs.
2003-10-31 22:26:29 +00:00
Andrew Cagney
c8b91b893c
2003-10-31 Andrew Cagney <cagney@redhat.com>
...
* s390-tdep.c (s390_cannot_extract_struct_value_address): New
function.
(s390_gdbarch_init): Set extract_struct_value_address.
* arch-utils.c (generic_cannot_extract_struct_value_address):
Delete function.
* arch-utils.h (generic_cannot_extract_struct_value_address):
Delete definition.
2003-10-31 22:19:12 +00:00
Mark Kettenis
fdfb6fc861
* i386-linux-nat.c (fetch_core_registers): Remove.
...
(linux_elf_core_fns): Remove.
(_initialize_i386_linux_nat): Remove.
2003-10-31 22:04:44 +00:00
Andrew Cagney
2f4950cde9
2003-10-31 Andrew Cagney <cagney@redhat.com>
...
* solib-svr4.c: Update copyright. Include "bfd-target.h" and
"exec.h".
(exec_entry_point): New function.
(enable_break): Create a "tmp_bfd_target", use that and
entry_point_address when computing the relocation offset.
(svr4_relocate_main_executable): Ditto with exec_bfd and exec_ops.
* Makefile.in (solib-svr4.o): Update dependencies.
2003-10-31 21:13:45 +00:00
Andrew Cagney
bba2d28ded
2003-10-31 Andrew Cagney <cagney@redhat.com>
...
* defs.h (XZALLOC): Define.
* target.h (struct target_ops): Add "to_data";
* bfd-target.h, bfd-target.c: New files.
* Makefile.in (SFILES): Add "bfd-target.c".
(COMMON_OBS): Add "bfd-target.o".
(bfd-target.o): Specify dependencies.
(bfd_target_h): Define.
* defs.h (XZALLOC): Define.
2003-10-31 19:19:51 +00:00
Andrew Cagney
6066c3de51
2003-10-31 Andrew Cagney <cagney@redhat.com>
...
* rs6000-tdep.c (rs6000_gdbarch_init): For 64-bit ABI, set
adjust_breakpoint_address.
* Makefile.in (ppc-sysv-tdep.o): Add $(target_h).
* ppc-tdep.h (ppc64_sysv_abi_adjust_breakpoint_address): Declare.
* ppc-sysv-tdep.c: Include "target.h". Update copyright.
(ppc64_sysv_abi_adjust_breakpoint_address): New function.
2003-10-31 16:37:03 +00:00
Andrew Cagney
4b8a223fcb
2003-10-31 Andrew Cagney <cagney@redhat.com>
...
* target.h (struct target_ops): Replace "to_read_partial" and
"to_write_partial" with "to_xfer_partial". Update comments.
* target.c (debug_to_write_partial): Delete function.
(debug_to_xfer_partial): Replace debug_to_read_partial.
(add_target, update_current_target, setup_target_debug): Set
"to_xfer_partial" instead of "to_read_partial" and
"to_write_partial".
(default_xfer_partial): Replace "default_write_partial".
(default_read_partial): Delete.
(target_read_partial, target_write_partial): Call
"to_xfer_partial".
* remote.c (init_remote_ops): Set "to_xfer_partial".
(init_remote_async_ops): Ditto.
(remote_xfer_partial): Replace "remote_read_partial".
2003-10-31 15:25:34 +00:00
Mark Kettenis
66a72d250d
* i386-tdep.c (i386_supply_fpregset): Support floating-point
...
registers in `fxsave' format.
(i386_regset_from_core_section): Deal with ".reg-xfp" sections.
2003-10-30 23:03:36 +00:00
Mark Kettenis
e9f1aad5b5
* i386-linux-tdep.c (i386_linux_gregset_reg_offset): New variable.
...
(i386_linux_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and tdep->sizeof_gregset.
2003-10-30 22:25:54 +00:00
Mark Kettenis
bb489b3c99
* i386-linux-tdep.c (i386_linux_sc_reg_offset): Don't explicitly
...
specify size of array.
(i386_linux_init_abi): Remove initialization of
TDEP->num_xmm_regs. Use I386_LINUX_NUM_REGS for number of
registers. Use ARRAY_SIZE to initialize TDEP->sc_num_regs.
2003-10-30 21:22:13 +00:00
Mark Kettenis
da285bc432
* config/i386/fbsd64.mt (TDEPFILES): Add corelow.o.
...
* config/i386/fbsd64.mh (NATDEPFILES): Remove corelow.o and
core-regset.o.
2003-10-30 19:41:40 +00:00
Mark Kettenis
9a12a2a0ed
* fbsd-proc.c (fbsd_make_corefile_notes): Put a "FreeBSD" label in
...
the ELF header.
2003-10-30 19:29:40 +00:00
Mark Kettenis
6d6d8e9cc3
* config/i386/fbsd.mt (TDEPFILES): Add corelow.o.
...
* config/i386/fbsd.mh (NATDEPFILES): Remove corelow.o and
core-regset.o.
2003-10-29 22:53:08 +00:00
Mark Kettenis
25e60c9b2c
* fbsd-proc.c (fbsd_make_corefile_notes): Remove unecessary casts.
2003-10-29 22:47:37 +00:00
Mark Kettenis
0e24ac5d5f
* corelow.c: Include "arch-utils.h", "regset.h" and
...
"gdb_assert.h".
(core_gdbarch): New variable.
(sniff_core_bfd): Don't sniff if we have support for register sets
in CORE_GDBARCH.
(core_close): Reset CORE_GDBARCH.
(core_open): Initialize CORE_GDBARCH.
(get_core_register_section): Use register sets if they are
supported by CORE_GDBARCH.
(get_core_registers): Don't print error message if we have support
for register sets in CORE_GDBARCH.
2003-10-29 20:59:07 +00:00
Andrew Cagney
0a0a4ac3c6
2003-10-29 Andrew Cagney <cagney@redhat.com>
...
* ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Instead of the
default PPC machine, register 32-bit and 64-bit PPC, and rs6k.
2003-10-29 19:24:52 +00:00
Mark Kettenis
7b097ae392
* objfiles.h (clear_objfile_data): New prototype.
...
* objfiles.c (clear_objfile_data): New function.
* symfile.c (reread_symbols): Clear per-objfile data.
2003-10-29 18:29:07 +00:00
Jeff Johnston
46f45a4a37
2003-10-28 Jeff Johnston <jjohnstn@redhat.com>
...
* symfile.c (symbol_file_add_with_addrs_or_offsets): Switch to use
printf_unfiltered instead of printf_filtered for output messages.
(add_symbol_file_command): Ditto.
(reread_symbols): Ditto.
(overlay_auto_command): Ditto.
(overlay_manual_command): Ditto.
(overlay_off_command): Ditto.
2003-10-28 17:09:12 +00:00
Mark Kettenis
2b0266504e
* arch-utils.c (deprecated_select_gdbarch_hack): New function.
...
(gdbarch_from_bfd): New function.
(set_gdbarch_from_file): Re-implement using gdbarch_from_bfd and
deprecated_select_gdbarch_hack.
* arch-utils.h (gdbarch_from_bfd): New prototype.
2003-10-27 20:47:27 +00:00
Andrew Cagney
0bcad58476
s/post date/commit date/ for change log
2003-10-27 18:53:47 +00:00
Andrew Cagney
931758afc4
2003-10-24 Andrew Cagney <cagney@redhat.com>
...
* osabi.c (gdbarch_init_osabi): Use info.bfd_arch_info instead of
arch_info. Use warning instead of fprintf_filtered. Do not use
deprecated bfd_printable_arch_mach.
2003-10-27 16:18:23 +00:00
Kevin Buettner
7f39821656
* frv-tdep.c (frv_register_raw_size, frv_register_virtual_size):
...
Delete.
(frv_register_type): Rename from frv_register_virtual_type. Add
``struct gdbarch *'' parameter.
(frv_gdbarch_init): Delete calls to the following functions:
set_gdbarch_deprecated_size(),
set_gdbarch_deprecated_register_bytes(),
set_gdbarch_deprecated_register_raw_size(),
set_gdbarch_deprecated_max_register_raw_size(),
set_gdbarch_deprecated_register_virtual_size(),
set_gdbarch_deprecated_max_register_virtual_size(),
set_gdbarch_deprecated_register_virtual_size(),
set_gdbarch_deprecated_register_virtual_type().
Add call to function set_gdbarch_register_type().
2003-10-27 06:26:12 +00:00
Mark Kettenis
3e685d417e
Fix typo.
2003-10-26 15:05:54 +00:00
Mark Kettenis
6c7de4224e
* i386-tdep.h (FCS_REGNUM, FCOFF_REGNUM, FDS_REGNUM,
...
FDOFF_REGNUM): Remove defines.
* win32-nat.c (do_child_fetch_inferior_registers): Include
"i387-tdep.h".
(do_child_fetch_inferior_registers): Use I387_FISEG_ST0_REGNUM and
I387_FOP_REGNUM instead of FCS_REGNUM and FOP_REGNUM. Define and
undefine I387_ST0_REGNUM.
2003-10-26 15:03:42 +00:00
Mark Kettenis
f783586b81
* i386-tdep.h (FPU_REG_RAW_SIZE): Remove define.
...
* x86-64-tdep.c (x86_64_store_return_value): Use
I386_MAX_REGISTER_SIZE instead of FPU_REG_RAW_SIZE.
2003-10-26 14:47:26 +00:00
Mark Kettenis
bcf48cc700
Change register numbers to enumartion values.
...
* i386-tdep.h (enum i386_regnum): New.
(I386_EAX_REGNUM, I386_EDX_REGNUM, I386_ESP_REGNUM,
I386_EBP_REGNUM, I386_IP_REGNUM, I386_EFLAGS_REGNUM,
I386_ST0_REGNUM): Remove defines.
* i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM,
I386_EDI_REGNUM): Remove defines.
2003-10-26 13:08:57 +00:00
Andrew Cagney
b6591e8b14
2003-10-24 Andrew Cagney <cagney@redhat.com>
...
* target.c: Include "gdbcore.h".
(get_target_memory, get_target_memory_unsigned): New functions.
* target.h (get_target_memory, get_target_memory_unsigned): Declare.
* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr):
Use get_target_memory_unsigned.
* Makefile.in (target.o): Update dependencies.
2003-10-24 20:24:06 +00:00
Andrew Cagney
ce2826aa7a
Index: mi/ChangeLog
...
2003-10-24 Andrew Cagney <cagney@redhat.com>
* tui-out.c: Fix "fortunatly"[sic].
Index: doc/ChangeLog
2003-10-24 Andrew Cagney <cagney@redhat.com>
* annotate.texinfo: Fix "fortunatly"[sic].
2003-10-24 Andrew Cagney <cagney@redhat.com>
* osabi.c (gdbarch_init_osabi): Fix typos, and "fortunatly"[sic].
* PROBLEMS, arch-utils.c, cli-out.c, command.h: Ditto.
* complaints.c, cris-tdep.c, disasm.c, dwarf2-frame.c: Ditto.
* frame.c, frame.h, infcall.c, infcmd.c, infrun.c: Ditto.
* kod.c, mips-tdep.c, regcache.c, regcache.h, remote.c: Ditto.
2003-10-24 17:37:04 +00:00
Andrew Cagney
5f72444609
2003-10-24 Andrew Cagney <cagney@redhat.com>
...
* osabi.c (gdbarch_init_osabi): Add comment on 32-bit vs 64-bit.
(can_run_code_for): Use the OO term "singleton".
2003-10-24 15:36:17 +00:00
Andrew Cagney
fc70c2a0cb
2003-10-23 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in (stack.o): Add $(regcache_h).
* stack.c: Include "regcache.h"
(return_command): Rewrite. Use get_frame_id and
get_selected_frame. Eliminate "deprecated_selected_frame". Warn
about unhandled return-values.
* value.h (set_return_value): Delete declaration.
* values.c (set_return_value): Delete function.
2003-10-23 22:36:14 +00:00
Jeff Johnston
4afcc5985a
2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
...
* ia64-tdep.c: (ia64_frame_cache): Add new prev_cfm field.
(pseudo_regs): Add comment regarding register stack registers.
(ia64_alloc_frame_cache): Initialize new prev_cfm field to 0.
(floatformat_valid): New static routine.
(floatformat_ia64_ext): Add name field and set up is_valid routine
to floatformat_valid().
(examine_prologue): For the previous cfm, use
frame_unwind_register()
if the cfm is not stored in a register-stack register. Save the
previous cfm value in the prev_cfm field. Add debug output.
(ia64_frame_this_id): Use frame_id_build_special() to also register
the bsp. Add debug output.
(ia64_sigtramp_frame_this_id): Ditto.
(ia64_frame_prev_register): Look at cache saved_regs for a few more
registers and also add some checks for framelessness before accepting
current register values for fields such as return address. For cfm,
use the cached prev_cfm field if available. Add comment to explain
PSR logic. Add debug output.
(ia64_sigtramp_frame_init_saved_regs): Save the bsp and sp addresses
as part of initialization.
(ia64_sigtramp_frame_cache): Hard-code stack size as it can't be
calculated. Cache the bsp and cfm values.
(ia64_sigtramp_frame_prev_register): Add logic to this routine out
instead of using ia64_frame_prev_register() which doesn't expect most
registers to be saved. The saved values for bsp and sp
can be taken from the cache. Add debug output.
(ia64_push_dummy_call): Use frame_id_build_special() to also register
the bsp.
2003-10-23 22:06:37 +00:00
Jim Blandy
6cfae0bc97
* osabi.c (gdbarch_init_osabi): A handler is okay if it's for an
...
architecture the current arch can run code for --- but not if it's
a superset.
(can_run_code_for): New function.
2003-10-23 21:15:50 +00:00
Jim Wilson
fcd182f9d6
* MAINTAINERS: Move myself from paper trail section back to write
...
after approval section.
2003-10-23 06:27:29 +00:00
Andrew Cagney
4646aa9d0b
2003-10-22 Andrew Cagney <cagney@redhat.com>
...
* exec.h: New file.
* win32-nat.c: Include "exec.h".
* solib.c: Include "exec.h".
* target.h (build_section_table): Delete declaration.
* somsolib.c: Include "exec.h".
(exec_ops): Delete extern declaration.
* rs6000-nat.c: Update copyright. Include "exec.h".
(exec_ops): Delete extern declaration.
* pa64solib.c: Update copyright. Include "exec.h".
(exec_ops): Delete extern declaration.
* exec.c: Update copyright. Include "exec.h".
* corelow.c: Update dependencies. Include "exec.h".
* Makefile.in (exec_h): Define.
(exec.o, somsolib.o): Update dependencies.
(pa64solib.o, corelow.o): Update dependencies.
2003-10-23 03:01:55 +00:00
Andrew Cagney
0088c768bb
2003-10-22 Andrew Cagney <cagney@redhat.com>
...
* target.c: Include "gdb_assert.h" (target_read): Call
"target_read_partial", not "target_write_partial".
(default_read_partial, default_write_partial): New function.
(target_read_partial, target_write_partial): Simplify, assume that
there is always a read/write method.
(update_current_target, add_target): Always set "to_read_partial"
and "to_write_partial".
(target_write, target_read): Fail on a zero byte transfer.
* Makefile.in (target.o): Update dependencies.
* target.h: Update copyright date.
(target_object): Fix typo.
2003-10-23 00:13:53 +00:00