summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix changelog.Andrew Cagney2003-04-161-2/+2
|
* 2003-04-15 Richard Sandiford <rsandifo@redhat.com>Chris Demetriou2003-04-162-1/+8
| | | | | * vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of unsigned operands.
* * dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo inAlexandre Oliva2003-04-162-1/+6
| | | | 2003-04-09's change.
* *** empty log message ***gdbadmin2003-04-161-1/+1
|
* daily updateAlan Modra2003-04-161-1/+1
|
* 2003-04-15 David Carlton <carlton@math.stanford.edu>David Carlton2003-04-1512-11/+890
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (SFILES): Add cp-namespace.c. (COMMON_OBS): Add cp-namespace.o. (block.o): Depend on gdb_obstack_h and cp_support_h. (buildsym.o): Depend on cp_support_h. (cp-namespace.o): New. (cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h, gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h. (dwarf2read.o): Depend on cp_support_h. * jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE. * dwarf2read.c (process_die): Set processing_has_namespace_info, processing_current_namespace. (read_namespace): Update processing_current_namespace; check for anonymous namespaces. (dwarf2_name): New function. (dwarf2_extension): Ditto. * cp-support.h: Update copyright, contributors. Add inclusion guards. Add opaque declaration for structs obstack, block, symbol. (struct using_direct): New struct. Add declarations for cp_find_first_component, cp_entire_prefix_len, processing_has_namespace_info, processing_current_namespace, cp_is_anonymous, cp_add_using_directive, cp_initialize_namespace, cp_finalize_namespace, cp_set_block_scope, cp_scan_for_anonymous_namespaces. * cp-namespace.c: New file. * cp-support.c: Update copyright. Include ctype.h, gdb_assert.h, gdbcmd.h. New variable maint_cplus_cmd_list. (cp_find_first_component): New function. (cp_entire_prefix_len, maint_cplus_command) (first_component_command, _initialize_cp_support): Ditto. * buildsym.c: Include cp-support.h. New variable using_list. (add_symbol_to_list): Check for anonymous namespaces. (finish_block): Set block's scope. (start_symtab): Initialize C++ namespace support. (end_symtab): Finalize C++ namespace support. * block.h: Add opaque declarations for structs block_namespace_info, using_direct, and obstack. Add declarations for block_set_scope and block_set_using. (struct block): Add 'language_specific' member. (BLOCK_NAMESPACE): New macro. * block.c: Include gdb_obstack.h and cp-support.h. (struct block_namespace_info): New struct. (block_set_scope): New function. (block_set_using, block_initialize_namespace): Ditto. 2003-04-15 David Carlton <carlton@math.stanford.edu> * gdb.c++/maint.exp: New file.
* merge from gccDJ Delorie2003-04-1513-38/+91
|
* merge from gccDJ Delorie2003-04-152-0/+12
|
* merge from gccDJ Delorie2003-04-153-4/+13
|
* If a section holds uninitialized data and is from an object file or from anNick Clifton2003-04-152-8/+17
| | | | | executable image that has not initialized the s_size field, or if the physical size is padded, use the virtual size (stored in s_paddr) instead.
* Properly report filename for alignment reduction.Nick Clifton2003-04-152-6/+25
| | | | Add test for alignment reduction.
* Replace occurrances of 'Hitachi' with 'Renesas'.Nick Clifton2003-04-1522-100/+129
|
* merge from gccDJ Delorie2003-04-1515-25/+55
|
* 2003-04-14 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-04-152-3/+11
| | | | | * gdb.threads/schedlock.c: Change type of thread function argument to long, to avoid warnings on 64-bit platforms.
* * solib-svr4.c (svr4_have_link_map_offsets): New function.Kevin Buettner2003-04-152-2/+32
| | | | | | (locate_base): Return early if there aren't any link map offsets. (svr4_solib_create_inferior_hook): Warn if shared library support is unavailable.
* *** empty log message ***gdbadmin2003-04-151-1/+1
|
* daily updateAlan Modra2003-04-151-1/+1
|
* 2003-04-14 David Carlton <carlton@math.stanford.edu>David Carlton2003-04-142-12/+58
| | | | | * symtab.c (symbol_set_names): Add prefix when storing Java names in hash table. Fix for PR java/1039.
* 2003-04-14 David Carlton <carlton@math.stanford.edu>David Carlton2003-04-143-24/+41
| | | | | | | | * symtab.c (symbol_set_names): Rename 'name' arg to 'linkage_name', and 'tmpname' variable to 'linkage_name_copy'. * symtab.h: Change 'name' argument in declaration of symbol_set_names to 'linkage_name'. (SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'.
* 2003-04-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-04-142-6/+14
| | | | | | | | * mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE, return the fully sign-extended register value. (get_frame_pointer): Ditto. (mips_pop_frame): Initialize "proc_desc" after checking for a dummy frame.
* 2003-04-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-04-142-111/+9
| | | | | | | | | * mips-tdep.c (mips_push_dummy_frame): Delete function. (MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros. (FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro. (mips_push_register): Delete function. (mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and PUSH_FP_REGNUM.
* gdb/ChangeLog:Jim Blandy2003-04-1410-1/+266
| | | | | | | | | | | | | | | | | | | | | | | 2003-04-10 Jim Blandy <jimb@redhat.com> * symmisc.c: #include "gdb_regex.h". (maintenance_list_symtabs, maintenance_list_psymtabs): New functions. * maint.c (maintenance_list_command): New function. (_initialize_maint_cmds): Register the above as commands. * symtab.h (maintenance_list_symtabs, maintenance_list_psymtabs): New declarations. * cli/cli-cmds.c (maintenancelistlist): New variable. (init_cmd_lists): Initialize it. * cli/cli-cmds.h (maintenancelistlist): New declaration. * gdbcmd.h (maintenancelistlist): New declaration. * Makefile.in (symmisc.o): Update dependencies. gdb/doc/ChangeLog: 2003-04-09 Jim Blandy <jimb@redhat.com> * gdb.texinfo (Symbols): Document 'maint list symtabs' and 'maint list psymtabs'.
* merge from gccDJ Delorie2003-04-143-90/+93
|
* 2003-04-08 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-04-142-0/+5
| | | | * s390-nat.c: Include asm/types.h for addr_t.
* 2003-04-14 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-04-142-0/+7
| | | | | * gdb.base/attach.exp: Add new message from ptrace in case of attaching to nonexistent process.
* Maintain maximum alignment for common symbols. Warn reducing alignment forNick Clifton2003-04-142-7/+68
| | | | common symbols. Report old filename when symbol size changes.
* * cp-valprint.c (cp_print_class_method): Call unpack_pointer() withCorinna Vinschen2003-04-142-1/+6
| | | | actually incoming type.
* 2003-04-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-04-142-18/+27
| | | | | * ppc-linux-tdep.c: Use get_frame_base, get_frame_pc, get_next_frame and get_frame_saved_regs.
* *** empty log message ***gdbadmin2003-04-141-1/+1
|
* daily updateAlan Modra2003-04-141-1/+1
|
* 2003-04-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-04-132-1/+8
| | | | | * reggroups.c (default_register_reggroup_p): Use NUM_REGS instead of gdbarch_num_regs.
* 2003-04-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-04-132-2/+6
| | | | * Make-common.in (sim-events.o, sim-config.o): Depend on sim-main.h.
* 2003-04-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-04-132-0/+55
| | | | * compile.c (sim_resume): Implement 'daa' and 'das' instructions.
* 2003-04-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-04-132-4/+8
| | | | * h8300.h (ldc/stc): Fix up src/dst swaps.
* 2003-04-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-04-1355-2/+31460
| | | | | | | | | * configure.in: Add testsuite to extra_subdirs. * configure: Regenerate. 2003-04-13 Michael Snyder <msnyder@redhat.com> * sim/h8300: New directory. Tests for Hitachi h8/300 family.
* 2003-04-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-04-134-97/+116
| | | | | | | | * frame.h: Mention what replaced what in "struct frame_info". * hppa-hpux-tdep.c: Use get_frame_base, get_frame_pc and deprecated_update_frame_base_hack and deprecated_update_frame_pc_hack. * hppa-tdep.c: Ditto.
* * dwarf2expr.h (struct dwarf_expr_context): Remove extra argumentsDaniel Jacobowitz2003-04-134-59/+38
| | | | | | | | | | | | | to read_reg and update its comment. Remove regnum member. * dwarf2expr.c (execute_stack_op): Remove memaddr and expr_lval. Don't call read_reg when setting in_reg. Call read_reg to get the frame base if it's in a register. Return the register number on the stack instead of in the context. Remove extra arguments to read_reg. * dwarf2loc.c (dwarf_expr_read_reg): Remove extra arguments. (dwarf2_evaluate_loc_desc): Call value_from_register. Expect the register number on the expression stack. (needs_frame_read_reg): Remove extra arguments.
* 2003-04-13 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2003-04-136-112/+388
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dwarf2expr.c (dwarf2_read_address): Renamed from read_address; made non-static. (execute_stack_op): All callers updated. * dwarf2expr.h: Add prototype for dwarf2_read_address. * dwarf2loc.c (find_location_expression): New function. (dwarf_expr_frame_base): Call it. (dwarf2_evaluate_loc_desc): Handle 0-length location expressions. (dwarf2_tracepoint_var_ref): New function, broken out from locexpr_tracepoint_var_ref. (locexpr_tracepoint_var_ref): Call dwarf2_tracepoint_var_ref. Make static. (loclist_read_variable, loclist_read_needs_frame): New functions. (loclist_describe_location, loclist_tracepoint_var_ref): New functions. (dwarf2_loclist_funcs): New struct location_funcs. * dwarf2loc.h (struct dwarf2_loclist_baton): New type. (struct dwarf2_locexpr_baton): Add comments. (dwarf2_loclist_funcs): New extern. * dwarf2read.c (struct comp_unit_head): Remove DIE member, add base_address and base_known. (dwarf_loc_buffer): New variable. (struct dwarf2_pinfo): Add dwarf_loc_buffer and dwarf_loc_size. (DWARF_LOC_BUFFER, DWARF_LOC_SIZE): New macros. (dwarf2_has_info): Initialize dwarf_loc_offset. (dwarf2_build_psymtabs): Read in .debug_loc. (dwarf2_build_psymtabs_hard): Use DWARF_LOC_BUFFER and DWARF_LOC_SIZE. (psymtab_to_symtab_1): Likewise. Move base address calculation here, from... (dwarf2_get_pc_bounds): ... here. Use the base address from cu_header. (dwarf2_symbol_mark_computed): Handle location lists.
* * minsyms.c (install_minimal_symbols): Only switch to gnu-v3 modeDaniel Jacobowitz2003-04-132-1/+12
| | | | if the linkage name demangled successfully.
* * x86-64-tdep.c (att_flavour, intel_flavour, valid_flavours,Mark Kettenis2003-04-132-11/+3
| | | | disassmbly_flavour): Removed.
* * x86-64-tdep.c (gdb_print_insn_x86_64): Removed.Mark Kettenis2003-04-132-17/+4
|
* * x86-64-tdep.c (x86_64_breakpoint_from_pc): Removed.Mark Kettenis2003-04-132-9/+4
|
* Only call XScale_check_memacc if in XScale mode.Nick Clifton2003-04-132-2/+8
|
* 2003-04-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-04-133-92/+96
| | | | | * frame.h (struct frame_info): Move definition from here ... * frame.c (struct frame_info): ... to here.
* *** empty log message ***gdbadmin2003-04-131-1/+1
|
* daily updateAlan Modra2003-04-131-1/+1
|
* 2003-04-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-04-124-19/+13
| | | | | | | | | | | * gdbthread.h (save_infrun_state): Delete parameter "prev_func_start". (struct thread_info): Delete field "prev_func_start". (load_infrun_state): Ditto. * thread.c (load_infrun_state, save_infrun_state): Update. * infrun.c (prev_func_start): Delete variable. (context_switch, init_wait_for_inferior): Update. (stop_stepping, keep_going): Update.
* 2003-04-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-04-1250-3/+136
| | | | | | | | | | | | | | | | | | | * gdbarch.sh: Add missing opaque declarations. * gdbarch.h: Regnerate. * symtab.h: Add missing opaque declarations. * value.h, target.h, symfile.h, stabsread.h: Ditto. * x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto. * srec.h, solib-svr4.h, source.h, inferior.h: Ditto. * ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto. * ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto. * buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto. * i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto. * dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto. * cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto. * ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto. * config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto. * config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto. * cli/cli-setshow.h, cli/cli-script.h: Ditto.
* * elfxx-mips.c (mips_elf_calculate_relocation): Adjust two otherAlexandre Oliva2003-04-122-6/+14
| | | | | occurrences of the same test changed in the previous patch. Optimize.
* 2003-04-11 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-04-122-67/+30
| | | | | | | | | | | * frame.c (get_frame_id): Return this frame's "id". (legacy_get_prev_frame): Set prev's frame ID code_addr to the function start. (legacy_saved_regs_this_id): Replace function body with internal-error. (deprecated_frame_xmalloc): Mark the frame ID as valid, use FRAME_OBSTACK_ZALLOC. (create_new_frame): Mark the frame ID as valid.