aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-09-14*** empty log message ***gdbadmin1-1/+1
2003-09-13* cris-tdep.c (cris_gdbarch_init): SetMark Kettenis7-19/+33
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-132003-09-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-20/+20
* 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-13Really check in regenerated files.Mark Kettenis2-49/+49
2003-09-13* win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for SSEChristopher Faylor4-31/+21
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* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed fromMark Kettenis6-13/+24
REG_STRUCT_HAS_ADDR. * gdbarch.c, gdbarch.h: Updated. * infcall.c (call_function_by_hand): Update. * stabsread.c (define_symbol): Updated.
2003-09-13* Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove.Mark Kettenis2-2/+4
2003-09-13* win32-nat.c: Reorganize so that defines used by target headers are actuallyChristopher Faylor4-15/+22
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* dbxread.c (read_dbx_symtab): Don't report an internal error ifJim Blandy2-1/+10
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* dbxread.c (read_dbx_symtab): If we have no .data section and noJim Blandy2-0/+6
.bss section, presume that any variables we find live in the .rodata section.
2003-09-13*** empty log message ***gdbadmin1-1/+1
2003-09-12* dbxread.c (read_dbx_symtab): Add FIXME about finding sectionJim Blandy2-1/+23
offsets for global and static variables.
2003-09-12* dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXTJim Blandy2-2/+10
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* amd64fbsd-tdep.c: Fix sigtramp recognition.Mark Kettenis2-26/+35
(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-122003-09-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-254/+241
* 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-122003-09-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney28-66/+118
* 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-122003-09-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-14/+40
* 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*** empty log message ***gdbadmin1-1/+1
2003-09-112003-09-11 David Carlton <carlton@kealia.com>David Carlton3-5/+10
* buildsym.c (finish_block): Use allocate_block to allocate the block. * mdebugread.c (new_block): Add FIXME.
2003-09-112003-09-11 David Carlton <carlton@kealia.com>David Carlton21-80/+590
* 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-112003-09-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-14/+17
* 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-112003-09-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+11
* symfile.c (symbol_file_add_with_addrs_or_offsets): Make sure orig_addrs is set up properly.
2003-09-112003-09-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+2
* gdb.stabs/weird.exp: Ditto.
2003-09-112003-09-11 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+6
* gdb.base/relocate.exp: Handle new gdb output at startup.
2003-09-11Move myself to paper trail section.Jim Wilson2-2/+3
2003-09-112003-09-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney13-74/+101
* 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 * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Variables in aDaniel Jacobowitz2-1/+9
register do need a frame.
2003-09-112003-09-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney14-464/+70
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-112003-09-10 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-3/+8
* 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 * hppa-tdep.c: Include "dis-asm.h". Fixes a build failure.Joel Brobecker3-1/+8
* Makefile.in (hppa-tdep.o): Update dependencies.
2003-09-11*** empty log message ***gdbadmin1-1/+1
2003-09-10* MAINTAINERS: Change my e-mail address.Jim Wilson2-1/+5
2003-09-10 * MAINTAINERS (frv): New ISA entry.Kevin Buettner2-0/+7
2003-09-10 * frv-tdep.c (dis-asm.h): Include.Kevin Buettner3-1/+7
* Makefile.in (frv-tdep.o): Update dependencies.
2003-09-10*** empty log message ***gdbadmin1-1/+1
2003-09-092003-09-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+6
* ia64-tdep.c (ia64_sigtramp_frame_init_saved_regs): Fix typo for high range of floating registers.
2003-09-092003-09-09 David Carlton <carlton@kealia.com>David Carlton2-77/+155
* dwarf2read.c (dwarf2_build_psymtabs_hard): Move lowpc and highpc initialization here out of scan_partial_symbols. (scan_partial_symbols): Restructure into a recursive version, calling add_partial_namespace and add_partial_enumeration when appropriate. (add_partial_namespace): New. (add_partial_enumeration, locate_pdi_sibling): Ditto.
2003-09-09Reverting until I learn how to conform..David Lecomber2-24/+13
2003-09-092003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-12/+13
* rs6000-tdep.c (ppc_push_return_address): Delete function. (rs6000_push_dummy_call): Set LR to BP_ADDR. (rs6000_gdbarch_init): Do not set deprecated_push_return_address. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.
2003-09-092003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-20/+11
* rs6000-tdep.c (rs6000_fix_call_dummy): Delete function. (rs6000_push_dummy_call): Set the "TOC" register.
2003-09-092003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+6
* rs6000-tdep.c (rs6000_gdbarch_init): Do not set the deprecated methods "max_register_raw_size", "max_register_virtual_size" or "register_virtual_size".
2003-09-09 * MAINTAINERS: Update my e-mail address.Ian Lance Taylor2-1/+5
2003-09-092003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-20/+32
* rs6000-tdep.c (rs6000_store_struct_return): Delete function. (rs6000_push_dummy_call): Store the struct return address. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Ditto.
2003-09-092003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-8/+27
* ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Replace "ppc_sysv_abi_push_arguments". * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Replace "ppc_sysv_abi_push_arguments". * rs6000-tdep.c (rs6000_gdbarch_init): Set "push_dummy_call" instead of "push_arguments". (rs6000_push_dummy_call): Replace "rs6000_push_arguments".
2003-09-09This enables the print elements limits to work with multi-dim arraysDavid Lecomber1-8/+15
in FORTRAN
2003-09-09Change array element access to something similar to way C works.David Lecomber1-5/+9
The old method would drag in the entire array, then look for the single element. This method just gets the right element out instead. Saves memory, and saves a crash for array with (*) as one of the dimensions when it would previously have allocated (unsigned int) -1 bytes.
2003-09-092003-09-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* sh64-tdep.c (sh64_push_return_address): Use ENTRY_POINT_ADDRESS instead of CALL_DUMMY_ADDRESS.
2003-09-09Correct small glitch introduced in ChangeLog by last commit.Paul N. Hilfinger1-1/+0
2003-09-092003-09-09 Paul N. Hilfinger <hilfingr@gnat.com>Paul N. Hilfinger11-60/+74
* p-lang.c: Eliminate "register". * c-lang.c: Ditto. * expprint.c: Ditto. * f-lang.c: Ditto. * jv-lang.c: Ditto. * language.c: Ditto. * m2-lang.c: Ditto. * parse.c: Ditto. * scm-lang.c: Ditto. * objc-lang.c: Ditto.
2003-09-09Add support for v850e1 machine number.Nick Clifton2-0/+8