gdbadmin
4eaa9a3184
*** empty log message ***
2003-09-17 00:00:32 +00:00
Andrew Cagney
b9ff3018cd
2003-09-16 Andrew Cagney <cagney@redhat.com>
...
* ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit
"use_struct_convention" to "ppc_linux_use_struct_convention".
(ppc_linux_use_struct_convention): New function.
* rs6000-tdep.c (rs6000_use_struct_convention): New function.
(rs6000_gdbarch_init): For AIX, set "use_struct_convention" to
"rs6000_use_struct_convention".
* ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete
declaration.
* ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention):
Delete function.
2003-09-16 23:33:17 +00:00
Andrew Cagney
aa1ee363bc
2003-09-16 Andrew Cagney <cagney@redhat.com>
...
* buildsym.c: Remove more occurances of "register".
* coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto.
* environ.c, eval.c, f-valprint.c, findvar.c: Ditto.
* gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto.
* infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto.
* printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto.
* sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto.
* standalone.c, symfile.c, symmisc.c, symtab.c: Ditto.
* utils.c, valops.c, values.c, xcoffread.c: Ditto.
2003-09-16 18:56:35 +00:00
Corinna Vinschen
f2ea0907de
* sh-tdep.h (struct gdbarch_tdep): Remove. Change all register
...
numbers to enumeration values.
* sh-tdep.c: Accomodate above change.
(SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS.
(NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only).
(NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only).
(IS_ADD_IMM_SP): Rename from IS_ADD_SP.
(IS_FPUSH): Rename from IS_FMOV.
(sh_extract_struct_value_address): Remove useless comment.
(sh_dsp_register_sim_regno): Use register values from sh-tdep.h
instead of own local values.
(sh_dump_tdep): Remove.
(_initialize_sh_tdep): Accomodate removing sh_dump_tdep.
* sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes.
2003-09-16 15:56:03 +00:00
gdbadmin
b8486e4e8a
*** empty log message ***
2003-09-16 00:00:01 +00:00
Andrew Cagney
1c704f1122
2003-09-15 Andrew Cagney <cagney@redhat.com>
...
* doublest.c (convert_floatformat_to_doublest): No longer need to
cast "exp_bias" to an int. Reverts 2002-12-04 change.
2003-09-15 21:33:44 +00:00
Daniel Jacobowitz
ac79b88b81
* values.c (unpack_double): Call floatformat_is_valid.
2003-09-15 20:15:19 +00:00
Mark Kettenis
de5227fb84
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of
...
ps_strings into a long.
2003-09-15 20:05:17 +00:00
Mark Kettenis
1c6713668a
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from
...
_initialize_am64fbsd_nat.
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
(stabs_argument_has_addr): New architecture method.
* arch-utils.h (default_stabs_argument_has_addr): New prototype.
* arch-utils.c: Include "buildsym.h".
(default_stabs_argument_has_addr): New function.
* stabsread.c (define_symbol): Use stabs_argument_has_addr
instead of DEPRECATED_REG_STRUCT_HAS_ADDR.
2003-09-15 19:30:50 +00:00
Kevin Buettner
a604369a85
* dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset
...
associated with DW_AT_ranges attribute is out of bounds.
2003-09-15 17:19:23 +00:00
David Lecomber
b3cacbee3f
2003-09-15 David Lecomber <dsl@sources.redhat.com>
...
* f-valprint.c: Apply array element printing limits to multi-dimensional arrays
2003-09-15 15:14:12 +00:00
Corinna Vinschen
71e06f8034
* gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
...
* gdb.asm/sh.inc: New file.
2003-09-15 09:52:56 +00:00
Michael Chastain
d0f37bb2b3
2003-09-14 Michael Chastain <mec@shout.net>
...
* config/m68k/nm-apollo68v.h: Delete.
* config/m68k/xm-apollo68v.h: Delete.
2003-09-15 02:53:03 +00:00
gdbadmin
201fccb411
*** empty log message ***
2003-09-15 00:00:31 +00:00
Andrew Cagney
6951700025
2003-09-14 Andrew Cagney <cagney@redhat.com>
...
* rs6000-tdep.c (rs6000_push_dummy_call): Fix typos.
* dcache.c: Update copyrights and descriptions.
* scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto.
2003-09-14 22:35:33 +00:00
Andrew Cagney
ef8b349d3c
2003-09-14 Andrew Cagney <cagney@redhat.com>
...
* config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and
"amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c".
2003-09-14 21:24:12 +00:00
Andrew Cagney
52f0bd74b2
2003-09-14 Andrew Cagney <cagney@redhat.com>
...
* alpha-nat.c: Remove some occurances of "register".
* alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto.
* buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto.
* corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto.
* dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto.
* environ.c, eval.c, event-top.c, f-typeprint.c: Ditto.
* f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto.
* h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto.
* hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto.
* infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto.
* infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto.
* jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto.
* mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto.
* mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto.
* ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto.
* p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto.
* remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto.
* rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto.
* solib.c, somread.c, source.c, sparc-tdep.c: Ditto.
* stabsread.c, stack.c, standalone.c, symfile.c: Ditto.
* symmisc.c, symtab.c, top.c, tracepoint.c: Ditto.
* typeprint.c, utils.c, valarith.c, valops.c: Ditto.
* values.c, vax-tdep.c, xcoffread.c: Ditto.
2003-09-14 16:32:14 +00:00
Andrew Cagney
4a4b3fedfe
2003-09-13 Andrew Cagney <cagney@redhat.com>
...
* config/pa/tm-hppa64.h (struct frame_info): Declare opaque.
* ppc-tdep.h (struct regcache): Declare opaque.
* objfiles.h (struct objfile_data): Declare opaque.
* cp-support.h (struct objfile): Declare opaque.
* linux-nat.h (target_waitstatus): Declare opaque.
2003-09-14 02:04:44 +00:00
gdbadmin
9bb37a563d
*** empty log message ***
2003-09-14 00:00:31 +00:00
Mark Kettenis
2110b94ffc
* cris-tdep.c (cris_gdbarch_init): Set
...
deprecated_reg_struct_has_addr instead of reg_struct_has_addr.
* hppa-tdep.c (hppa_gdbarch_init): Likewise.
* mcore-tdep.c (mcore_gdbarch_init): Likewise.
* mips-tdep.c (mips_gdbarch_init): Likewise.
* mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
* sparc-tdep.c (sparc_gdbarch_init): Likewise.
2003-09-13 23:25:41 +00:00
Andrew Cagney
48436ce6b9
2003-09-13 Andrew Cagney <cagney@redhat.com>
...
* values.c (using_struct_return): Delete "function" and "funcaddr"
parameters.
* value.h (using_struct_return): Update declaration.
* infcmd.c (finish_command_continuation): Update.
(finish_command): Update.
* infcall.c (call_function_by_hand): Update.
* eval.c (evaluate_subexp_standard): Update.
2003-09-13 21:31:33 +00:00
Mark Kettenis
88d89dbb0e
Really check in regenerated files.
2003-09-13 17:28:59 +00:00
Christopher Faylor
403d99099a
* win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for SSE
...
registers since gdb will not operate correctly without this. Restore include
file ordering munged in previous change.
* config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define.
2003-09-13 16:46:21 +00:00
Mark Kettenis
8e823e2504
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from
...
REG_STRUCT_HAS_ADDR.
* gdbarch.c, gdbarch.h: Updated.
* infcall.c (call_function_by_hand): Update.
* stabsread.c (define_symbol): Updated.
2003-09-13 14:12:41 +00:00
Mark Kettenis
ebf7d56bcf
* Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove.
2003-09-13 11:44:21 +00:00
Christopher Faylor
d3f13f7296
* win32-nat.c: Reorganize so that defines used by target headers are actually
...
defined by the system headers.
* config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather than
HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists.
2003-09-13 02:26:42 +00:00
Jim Blandy
d646061f47
* dbxread.c (read_dbx_symtab): Don't report an internal error if
...
the file has no .data, .bss, or .rodata sections. Instead wait
until we see a variable alleged to live in one of those sections.
2003-09-13 00:17:36 +00:00
Jim Blandy
2a13f9bcb4
* dbxread.c (read_dbx_symtab): If we have no .data section and no
...
.bss section, presume that any variables we find live in the
.rodata section.
2003-09-13 00:00:32 +00:00
gdbadmin
daf9704e06
*** empty log message ***
2003-09-13 00:00:02 +00:00
Jim Blandy
4f49b26b87
* dbxread.c (read_dbx_symtab): Add FIXME about finding section
...
offsets for global and static variables.
2003-09-12 23:34:55 +00:00
Jim Blandy
14f751370b
* dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT
...
symbol types are, by definition, in the .data section, so it is
correct to use SECT_OFF_DATA (objfile) here, not data_sect_index.
If there is no .data section, there should be no N_DATA or N_DATA
| N_EXT symbols.
2003-09-12 22:49:25 +00:00
Mark Kettenis
212c460caa
* amd64fbsd-tdep.c: Fix sigtramp recognition.
...
(amd64fbsd_sigcontext_addr): Rewrite.
(amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end): Initialize
with correct values.
(amd64fbsd_sc_reg_offset): Initialize with correct values.
(amd64fbsd_init_abi): Fix typo.
2003-09-12 19:27:38 +00:00
Andrew Cagney
68856ea378
2003-09-12 Andrew Cagney <cagney@redhat.com>
...
* ppc-sysv-tdep.c (align_up, align_down): Replace "round2" macro.
(ppc_sysv_abi_push_dummy_call): Rewrite, use a two pass loop.
2003-09-12 18:55:24 +00:00
Andrew Cagney
627b3ba2d3
2003-09-12 Andrew Cagney <cagney@redhat.com>
...
* objfiles.h (struct entry_info): Deprecate "entry_file_lowpc" and
"entry_file_highpc". Update comments.
* defs.h (deprecated_inside_entry_file): Rename
"inside_entry_file".
* blockframe.c (deprecated_inside_entry_file): Rename
"inside_entry_file".
* frame.c (get_prev_frame): Update. Use if 0 instead of #if 0.
* vax-tdep.c (vax_frame_chain): Update.
* sh64-tdep.c (sh64_frame_chain): Update.
* sh-tdep.c (sh_frame_chain): Update.
* rs6000-tdep.c (rs6000_frame_chain): Update.
* ns32k-tdep.c (ns32k_frame_chain): Update.
* mips-tdep.c (mips_frame_chain): Update.
* m68hc11-tdep.c (m68hc11_frame_this_id): Update.
* m32r-tdep.c (m32r_frame_this_id): Update.
* i386-interix-tdep.c (i386_interix_frame_chain_valid): Update.
* frv-tdep.c (frv_frame_this_id): Update.
* d10v-tdep.c (d10v_frame_this_id): Update.
* cris-tdep.c (cris_frame_chain): Update.
* blockframe.c (legacy_frame_chain_valid): Update.
* avr-tdep.c (avr_frame_this_id): Update.
* arm-tdep.c (arm_prologue_this_id): Update.
* alpha-tdep.c (alpha_heuristic_frame_this_id): Update.
* objfiles.c (objfile_relocate): Update.
* mipsread.c (mipscoff_symfile_read): Update.
(mipscoff_symfile_read): Update.
* mdebugread.c (parse_partial_symbols): Update.
* dwarfread.c (read_file_scope): Update.
* dwarf2read.c (read_file_scope): Update.
* dbxread.c (read_dbx_symtab): Update.
(read_dbx_symtab): Update.
* coffread.c (complete_symtab): Update.
2003-09-12 18:40:18 +00:00
Jeff Johnston
b0abbc58f0
2003-09-12 Jeff Johnston <jjohnstn@redhat.com>
...
* top.c (quit_target): New static helper function.
(quit_force): Moved code to quit_target(). Call quit_target()
via catch_errors() to catch errors during quit.
2003-09-12 15:24:24 +00:00
gdbadmin
1f5280e04a
*** empty log message ***
2003-09-12 00:00:31 +00:00
David Carlton
a1632d59e5
2003-09-11 David Carlton <carlton@kealia.com>
...
* buildsym.c (finish_block): Use allocate_block to allocate the
block.
* mdebugread.c (new_block): Add FIXME.
2003-09-11 23:43:56 +00:00
David Carlton
5c4e30cabe
2003-09-11 David Carlton <carlton@kealia.com>
...
* gdbtypes.h: Add TYPE_CODE_NAMESPACE.
* gdbtypes.c (init_type): Handle TYPE_CODE_NAMESPACE.
(recursive_dump_type): Ditto.
* printcmd.c (print_formatted): Ditto.
* typeprint.c (print_type_scalar): Ditto.
* c-typeprint.c (c_type_print_varspec_prefix): Ditto.
(c_type_print_varspec_suffix, c_type_print_base): Ditto.
* cp-support.h: Declare cp_check_possible_namespace_symbols,
maint_cplus_cmd_list.
* cp-support.c: Make maint_cplus_cmd_list extern.
* cp-namespace.c: Include objfiles.h, gdbtypes.h, dictionary.h,
command.h.
(lookup_symbol_file): Look in possible namespace blocks when
appropriate.
(initialize_namespace_symtab): New.
(get_possible_namespace_block, free_namespace_block)
(check_possible_namespace_symbols)
(check_possible_namespace_symbols_loop)
(check_one_possible_namespace_symbol)
(lookup_possible_namespace_symbol, maintenance_cplus_namespace)
(_initialize_cp_namespace): Ditto.
* block.h: Declare allocate_block.
* block.c (allocate_block): New.
* jv-lang.c (get_java_class_symtab): Allocate blocks via
allocate_block.
* symfile.h: Update declaration of add_psymbol_to_list.
* symfile.c (add_psymbol_to_list): Return the partial symbol in
question.
* dwarf2read.c (dwarf2_build_psymtabs_hard): Add argument to
scan_partial_symbols_call.
(scan_partial_symbols): Add NAMESPACE argument; update calls to
helper functions.
(add_partial_symbol): If necessary, scan mangled names for names
of namespaces.
(add_partial_namespace): Add NAMESPACE argument; generate partial
symbols associated to namespaces.
(add_partial_enumeration): Add NAMESPACE argument.
(new_symbol): Allow namespace syms.
(read_namespace): Generate namespace syms.
* objfiles.h: Add opaque declaration of struct symtab.
(struct objfile): Add cp_namespace_symtab member.
* objfiles.c (allocate_objfile): Set
objfile->cp_namespace_symtab.
* Makefile.in (cp-namespace.o): Depend on objfiles_h, gdbtypes_h,
dictionary_h, command_h.
2003-09-11 David Carlton <carlton@kealia.com>
* gdb.c++/namespace.exp: Add tests for namespace types.
* gdb.c++/maint.exp (test_help): Test 'help maint cp namespace'.
(test_namespace): New.
2003-09-11 19:49:20 +00:00
Andrew Cagney
33a7c2fc4d
2003-09-11 Andrew Cagney <cagney@redhat.com>
...
* rs6000-tdep.c (rs6000_push_dummy_call): Use
regcache_raw_write_signed to set SP_REGNUM, move the operation to
near the function's end.
(rs6000_gdbarch_init): Do not set "deprecated_dummy_write_sp".
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use
regcache_raw_write_signed to set SP_REGNUM.
2003-09-11 19:27:25 +00:00
Elena Zannoni
63cd24fec9
2003-09-11 Elena Zannoni <ezannoni@redhat.com>
...
* symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure
orig_addrs is set up properly.
2003-09-11 19:20:07 +00:00
Elena Zannoni
3fcf0ced03
2003-09-11 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.stabs/weird.exp: Ditto.
2003-09-11 19:09:46 +00:00
Elena Zannoni
1c19974635
2003-09-11 Elena Zannoni <ezannoni@redhat.com>
...
* gdb.base/relocate.exp: Handle new gdb output at startup.
2003-09-11 18:59:02 +00:00
Jim Wilson
ef5fd69f11
Move myself to paper trail section.
2003-09-11 17:51:47 +00:00
Andrew Cagney
f27dd7fde7
2003-09-11 Andrew Cagney <cagney@redhat.com>
...
* gdbarch.sh (DEPRECATED_STACK_ALIGN): Rename STACK_ALIGN.
* gdbarch.h, gdbarch.c: Re-generate.
* infcall.c (call_function_by_hand): Update.
* hppa-tdep.c (hppa_push_arguments): Update.
* ada-lang.c (place_on_stack): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Delete comment refering to
stack_align.
2003-09-11 15:17:18 +00:00
Daniel Jacobowitz
f630a401b4
* dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in a
...
register do need a frame.
2003-09-11 15:02:51 +00:00
Andrew Cagney
0ddabb4c3c
2003-09-11 Andrew Cagney <cagney@redhat.com>
...
Since the IRIX 4 configuration was forcing K&R mode it hasn't been
buildable since GDB 5.0.
* NEWS: Mention that IRIX 3 and IRIX 4 support were removed.
* configure.host: Delete "mips-sgi-irix3*" and "mips-sgi-irix4*".
* configure.tgt: Delete "mips*-sgi-*" a.k.a. irix3.
* irix4-nat.c: Delete file.
* config/mips/irix4.mh: Delete file.
* config/mips/irix3.mh: Delete file.
* config/mips/irix3.mt: Delete file.
* config/mips/tm-irix3.h: Delete file.
* config/mips/nm-irix3.h: Delete file.
* config/mips/xm-irix3.h: Delete file.
* config/mips/nm-irix4.h: Delete file.
* config/mips/xm-irix4.h: Delete file.
* config/mips/tm-irix5.h: Inline contents of "tm-irix3.h".
2003-09-11 14:00:55 +00:00
Elena Zannoni
00a9a2c680
2003-09-10 Elena Zannoni <ezannoni@redhat.com>
...
* mi-main.c (mi_setup_architecture_data): Don't use
DEPRECATED_REGISTER_BYTES because some architecture don't set it
and its default is 0.
2003-09-11 02:34:00 +00:00
Joel Brobecker
fde2cceb86
* hppa-tdep.c: Include "dis-asm.h". Fixes a build failure.
...
* Makefile.in (hppa-tdep.o): Update dependencies.
2003-09-11 02:00:51 +00:00
gdbadmin
3f66068d9a
*** empty log message ***
2003-09-11 00:00:01 +00:00
Jim Wilson
66f667f57d
* MAINTAINERS: Change my e-mail address.
2003-09-10 23:50:09 +00:00