aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-04-232003-04-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-121/+132
* infcall.c (call_function_by_hand): Make declaration of "i", "sal", "bpt" and "old_sp" more local to their use. Delete #if lint.
2003-04-232003-04-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-32/+46
* infcall.c (call_function_by_hand): Delete variable "n_method_args". Localize "param_type"'s declaration to the loop that it is used. Reinstate code assigning to said variable - deleted on 2002-06-14. Rationalize calls to value_args_coerce. Rationalize code using "param_type".
2003-04-232003-04-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-32/+43
* infcall.c (call_function_by_hand): Use new variable "bp_addr" to compute the breakpoint address. Only call FIX_CALL_DUMMY when ON_STACK. Eliminate the variable "addr". Do not pass "real_pc" to DEPRECATED_PUSH_RETURN_ADDRESS.
2003-04-23*** empty log message ***gdbadmin1-1/+1
2003-04-22 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUMKevin Buettner2-1/+9
on the DWARF2 register number prior to fetching a register.
2003-04-22 * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.Joel Brobecker4-11/+16
Update all the tests using SOFT_FLOAT considering the fact that this macro was always set to 0. * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT considering the fact that this macro was always set to 0. * hppa-tdep.h (hppa_store_return_value): Likewise. (hppa_extract_return_value): Likewise.
2003-04-22 * config/pa/tm-hppa.h: Remove obsolete code, was used byJoel Brobecker2-39/+5
the hppa-pro target only.
2003-04-22 Ongoing multi-arch conversion effort for HP/UX:Joel Brobecker3-319/+321
* config/pa/tm-hppa.h: Move all macro that are no longer defined now that GDB_MULTI_ARCH is now set to 1 from here... * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet).
2003-04-22 * config/pa/tm-hppa.h: Obsolete a section that was only usedJoel Brobecker2-37/+42
for hppa-pro.
2003-04-22 Ongoing multi-arch conversion for HP/UX.Joel Brobecker3-1/+14
* config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define if already defined (allows hppa64 to stay non-multiarched for now). * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define.
2003-04-22*** empty log message ***gdbadmin1-1/+1
2003-04-212003-04-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+6
* frame.c (frame_id_eq): Fail when the code_addr's do not match.
2003-04-212003-04-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with "i386_num_mmx_regs".
2003-04-212003-04-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney27-985/+1119
* infcall.c: New file. * infcall.h: New file. * valarith.c: Include "infcall.h". * scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto. * eval.c, ada-valprint.c, ada-lang.c: Ditto. * Makefile.in (valarith.o, scm-lang.o): Update dependencies. (objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies. (eval.o, ada-valprint.o, ada-lang.o): Update dependencies. (SFILES): Add "infcall.c" (COMMON_OBS): Add "infcall.o". (infcall.o): Specify dependencies. * value.h (call_function_by_hand): Delete declaration. * inferior.h (run_stack_dummy): Delete declaration. * infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c". (run_stack_dummy): Move to "infcall.c", merged into call_function_by_hand. * valops.c (call_function_by_hand): Moved to "infcall.c". (find_function_addr, value_arg_coerce): Ditto. (unwindonsignal_p, coerce_float_to_double): Ditto. (_initialize_valops): Move "set/show coerce-float-to-double", and "set/show unwindonsignal" commands to "infcall.c". * v850-tdep.c, target.h: Update comments. * sparc-tdep.c (sparc_fix_call_dummy): Update comments. * sh-tdep.c (sh_init_extra_frame_info): Update comments. (sh64_init_extra_frame_info): Update comments. * mn10300-tdep.c: Update comments. * mcore-tdep.c (mcore_init_extra_frame_info): Update comments. * config/sparc/tm-sparc.h: Update comments. * breakpoint.h: Update comments. * avr-tdep.c (avr_init_extra_frame_info): Update comments. * arm-tdep.c: Update comment.
2003-04-21*** empty log message ***gdbadmin1-1/+1
2003-04-20*** empty log message ***gdbadmin1-1/+1
2003-04-19* i386-tdep.c (i386_num_register_names): New variable.Mark Kettenis2-14/+28
(i386_num_mmx_regs): Renamed from mmx_num_regs. (MM0_REGNUM): Remove redundant parentheses in define. (i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs. (i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p, i386_mxcsr_regnum_p): Remove redundant parentheses. (i386_register_name): Use i386_num_register_names.
2003-04-19* i386-tdep.c (i386_extract_return_value,Mark Kettenis2-2/+6
i386_store_return_value): Correct check for availability of floating-point registers.
2003-04-19* i386-tdep.c (i386_frame_num_args): Remove function.Mark Kettenis2-75/+4
(i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown.
2003-04-19* i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed fromMark Kettenis2-5/+12
mmx_regnum_to_fp_regnum. Adjust all callers.
2003-04-19* i386-tdep.c (i386_get_longjmp_target): UseMark Kettenis2-3/+10
TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT and TARGET_CHAR_BIT. Use extract_typed_address instead of extract_address.
2003-04-19* core-regset.c: Update comments to reflect reality. Re-orderMark Kettenis2-62/+54
includes. (fetch_core_registers): Use switch instead of if. Remove redundant prototype.
2003-04-19*** empty log message ***gdbadmin1-1/+1
2003-04-18* s390-tdep.c (s390_frame_align): New function.Jim Blandy2-0/+15
(s390_gdbarch_init): Register it with the gdbarch object.
2003-04-18 * remote.c (minitelnet): Don't redeclare escape_count, echo_check.Richard Henderson2-3/+4
2003-04-18*** empty log message ***gdbadmin1-1/+1
2003-04-172003-04-17 Michael Snyder <msnyder@redhat.com>Elena Zannoni2-0/+87
Karen Bennet <bennet@redhat.com> Committed by Elena Zannoni <ezannoni@redhat.com> * gdb_gcore.sh: New script to create a core dump of a process.
2003-04-172003-04-17 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+8
* values.c (value_being_returned): Don't fetch the return value if the return type is void.
2003-04-172003-04-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-59/+70
* thread-db.c: Reindented.
2003-04-172003-04-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+8
* gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t, td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t as types.
2003-04-17*** empty log message ***gdbadmin1-1/+1
2003-04-16Fix typo.Kevin Buettner1-1/+1
2003-04-16 * rs6000-tdep.c (rs6000_gdbarch_init): For the SVR4 ABI, setKevin Buettner2-1/+9
the size of ``long double'' to 16, instead of 8.
2003-04-16 * gdb.base/args.exp: Invoke gdb_load for simulator targets.Kevin Buettner2-0/+16
2003-04-162003-04-16 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-9/+14
* gdb.base/completion.exp: Make 'info func mark' complete on 'info func marke' instead. Update test name.
2003-04-16* i386-linux-nat.c: Add some whitespace to make things moreMark Kettenis2-9/+24
readable. (fetch_register, store_register, fetch_inferior_registers, store_inferior_registers): Get rid of assignment in if-statement. (store_register): Fix typo in error message.
2003-04-162003-04-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-33/+34
* utils.c (xmmalloc): Always allocate something, matches libiberty/xmalloc's semantics. (xmrealloc, xmcalloc): Ditto.
2003-04-162003-04-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-15/+53
* frame.c (get_prev_frame): Do not initialize "unwind" or "type", update comments. (get_frame_type): Initialize unwind and type when needed. (get_frame_id, frame_register_unwind): Ditto.
2003-04-162003-04-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney12-3764/+3823
* NEWS: Mention that sparclet-*-* and sparclite-*-* have been made obsolete. * sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code. * sparcl-stub.c: Obsolete file. * config/sparc/tm-sparclet.h: Obsolete file. * sparclet-stub.c: Obsolete file. * sparclet-rom.c: Obsolete file. * sparcl-tdep.c: Obsolete file. * config/sparc/tm-sparclite.h: Obsolete file. * config/sparc/sparclite.mt: Obsolete file. * config/sparc/sparclet.mt: Obsolete file. * configure.tgt: Make sparclet-*-*, sparclite-*-*, and sparc86x-*-* obsolete.
2003-04-16*** empty log message ***gdbadmin1-1/+1
2003-04-152003-04-15 David Carlton <carlton@math.stanford.edu>David Carlton12-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.
2003-04-152003-04-14 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-3/+11
* gdb.threads/schedlock.c: Change type of thread function argument to long, to avoid warnings on 64-bit platforms.
2003-04-15 * solib-svr4.c (svr4_have_link_map_offsets): New function.Kevin Buettner2-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.
2003-04-15*** empty log message ***gdbadmin1-1/+1
2003-04-142003-04-14 David Carlton <carlton@math.stanford.edu>David Carlton2-12/+58
* symtab.c (symbol_set_names): Add prefix when storing Java names in hash table. Fix for PR java/1039.
2003-04-142003-04-14 David Carlton <carlton@math.stanford.edu>David Carlton3-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-142003-04-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-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-142003-04-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-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.
2003-04-14gdb/ChangeLog:Jim Blandy10-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'.
2003-04-142003-04-08 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+5
* s390-nat.c: Include asm/types.h for addr_t.