aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-05-30* objc-lang.c (CONVERT_FUNCPTR): Remove macroAdam Fedor2-20/+9
(find_implementation_from_class): Replace it with the standard case i.e. do nothing.
2003-05-30*** empty log message ***gdbadmin1-1/+1
2003-05-30daily updateAlan Modra1-1/+1
2003-05-29 * elf.c (elfcore_grok_nto_status): Only set lwpid for the active orAlan Modra2-6/+28
signalled thread. (elfcore_grok_nto_gregs): Only make .reg section for the active thread.
2003-05-29 * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New.Richard Henderson9-1410/+1331
(alpha_linux_sigtramp_offset): Use it. Make static. (alpha_linux_sigcontext_addr): Handle __NR_rt_sigreturn; update for new frame model. * alpha-mdebug-tdep.c: New file. * alpha-osf1-tdep.c (alpha_call_dummy_address): Move from alpha-tdep.c. (alpha_osf1_init_abi): Install it. * alpha-tdep.c (PROC_*): Move to alpha-mdebug-tdep.c. (linked_proc_desc_table): Remove. (alpha_frame_past_sigtramp_frame): Remove. (alpha_dynamic_sigtramp_offset): Remove. (ALPHA_PROC_SIGTRAMP_MAGIC): Remove. (alpha_proc_desc_is_dyn_sigtramp): Remove. (alpha_set_proc_desc_is_dyn_sigtramp): Remove. (push_sigtramp_desc): Remove. (alpha_cannot_fetch_register): Use ALPHA_FP_REGNUM. (alpha_cannot_store_register): Likewise. (alpha_sigcontext_addr): Remove. (alpha_find_saved_regs): Remove. (alpha_frame_init_saved_regs): Remove. (alpha_init_frame_pc_first): Remove. (read_next_frame_reg): Remove. (alpha_frame_saved_pc): Remove. (alpha_saved_pc_after_call): Remove. (temp_proc_desc, temp_saved_regs): Remove. (alpha_about_to_return): Remove. (cached_proc_desc): Remove. (alpha_frame_chain): Remove. (alpha_print_extra_frame_info): Remove. (alpha_init_extra_frame_info): Remove. (alpha_frame_locals_address): Remove. (alpha_frame_args_address): Remove. (alpha_push_arguments): Use ALPHA_REGISTER_BYTES not sizeof CORE_ADDR. (alpha_push_dummy_frame): Remove. (alpha_pop_frame): Remove. (alpha_after_prologue): Rename from after_prologue; remove mdebug bits. (alpha_read_insn): New. (alpha_skip_prologue): Merge alpha_skip_prologue_internal; adjust for different insn encodings. (alpha_in_lenient_prologue): Remove. (struct alpha_sigtramp_unwind_cache): New. (alpha_sigtramp_frame_unwind_cache): New. (alpha_sigtramp_register_address): New. (alpha_sigtramp_frame_this_id): New. (alpha_sigtramp_frame_prev_register): New. (alpha_sigtramp_frame_unwind): New. (alpha_sigtramp_frame_p): New. (struct alpha_heuristic_unwind_cache): New. (alpha_heuristic_proc_start): Rename from heuristic_proc_start; don't count nop insns that occur between functions. (alpha_heuristic_frame_unwind_cache): New; incorporate much of heuristic_proc_desc, but without the mdebug wrapping. (alpha_heuristic_frame_this_id): New. (alpha_heuristic_frame_prev_register): New. (alpha_heuristic_frame_unwind): New. (alpha_heuristic_frame_p): New. (alpha_heuristic_frame_base_address): New. (alpha_heuristic_frame_base): New. (alpha_unwind_dummy_id): New. (alpha_unwind_pc): New. (alpha_gdbarch_init): Don't set skip_sigtramp_frame. Kill use of frame related deprecated initializations; install replacements. (alpha_dump_tdep): Remove. * alpha-tdep.h (struct gdbarch_tdep): Remove skip_sigtramp_frame. (alpha_read_insn, alpha_after_prologue, alpha_heuristic_frame_unwind_cache, alpha_heuristic_frame_this_id, alpha_heuristic_frame_prev_register, alpha_heuristic_frame_base_address, alpha_mdebug_init_abi): Declare. * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-mdebug-tdep.o. * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Remove. * config/alpha/tm-alphalinux.h (SIGTRAMP_START, SIGTRAMP_END): Remove.
2003-05-29* gdb.base/corefile.exp: Find corefiles on Linux, which names themJim Blandy2-7/+30
'core.PID'.
2003-05-29* linux-low.c (usr_store_inferior_registers): Transfer buf inJim Blandy2-2/+9
PTRACE_XFER_TYPE-sized chunks, not int-sized chunks. Otherwise, if 'int' is smaller than PTRACE_XFER_TYPE, you end up throwing away part of the register's value.
2003-05-292003-05-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+13
* gdb_assert.h (gdb_assert_fail): Provide different definitions dependant on the availability of ASSERT_FUNCTION. (ASSERT_FUNCTION): Do not define when there is no function name.
2003-05-29 From Jimi X <jimix@watson.ibm.com>:Kevin Buettner2-24/+62
* rs6000-tdep.c (skip_prologue): Improve support for 64-bit code.
2003-05-29Add i386-*-freebsd* entry.Nick Clifton3-169/+176
2003-05-29* configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBSJason Thorpe2-8/+39
correctly for more recent versions of NetBSD. (alpha*-*-netbsd*): Remove. (i[3-7]86-*-netbsd*): Remove.
2003-05-29Change Mitsubishi to RenesasNick Clifton2-1/+5
2003-05-29Replace <ctype.h> with "safe-ctype.h"Nick Clifton6-89/+79
2003-05-29Import patch to add FreeBSD support.Nick Clifton2-0/+22
2003-05-29 * elfxx-mips.c: Don't force symbols local unconditionally.Thiemo Seufer2-2/+6
2003-05-29* ld-elf/elf.exp: Use if_elf_format.Jason Thorpe5-28/+11
* ld-elf/sec64k.exp: Likewise. * ld-elfcomm/elfcomm.exp: Likewise. * lib/ld-lib.exp (is_elf_format): Match hppa*64*-*-hpux*.
2003-05-29daily updateAlan Modra1-1/+1
2003-05-29*** empty log message ***gdbadmin1-1/+1
2003-05-28* ppc-linux-nat.c (store_altivec_registers): Don't cast fourthJim Blandy2-2/+8
argument to ptrace to int; the system headers should give it the right type, and pointers don't fit in ints on powerpc64-*-*.
2003-05-282003-05-28 Alan Modra <amodra@bigpond.net.au>H.J. Lu2-8/+8
* elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus undefined_symbol call.
2003-05-282003-05-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+7
* dwarf2read.c (process_die): Handle DW_TAG_try_block and DW_TAG_catch_block.
2003-05-28* Makefile.tpl: Make maybe-check-gcc .PHONY.DJ Delorie3-2/+7
* Makefile.in: Regenerate.
2003-05-282003-05-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-2/+29
* COPYING.NEWLIB: Add license info for newlib/libc/sys/linux/stdlib.
2003-05-28*** empty log message ***gdbadmin1-1/+1
2003-05-27* aclocal.m4: Don't add wcwidth.o if we don't have wchar.h.Mark Kettenis3-11/+15
* configure: Regenerate.
2003-05-27 * expr.c (make_expr_symbol): Fold FAKE_LABEL_NAME use into theRichard Henderson4-17/+14
symbol_create call. (current_location): Use symbol_temp_new_now. * stabs.c (s_stab_generic): Use symbol_temp_new. * symbols.c (temp_label_name): Remove. (symbol_temp_new, symbol_temp_make): Use FAKE_LABEL_NAME.
2003-05-27 * dw2gencfi.c, dw2gencfi.h: Rewrite from scratch.Richard Henderson11-800/+748
* as.c (main): Always call cfi_finish. * config/tc-i386.c (x86_dwarf2_return_column): New. (x86_cie_data_alignment): New. (md_begin): Set them. (tc_x86_cfi_init): Remove. (tc_x86_regname_to_dw2regnum): Fix 32-bit register numbers; return int, not unsigned long; don't as_bad here. (tc_x86_frame_initial_instructions): Streamline; use updated api. * config/tc-i386.h (tc_cfi_init): Remove. (DWARF2_DEFAULT_RETURN_COLUMN): New. (DWARF2_CIE_DATA_ALIGNMENT): New. * gas/cfi/cfi-i386.d: Update for dw2gencfi rewrite. * gas/cfi/cfi-x86_64.d: Likewise. * gas/cfi/cfi-i386-2.d: New. * gas/cfi/cfi-i386-2.s: New.
2003-05-27 * symbols.c (temp_label_name): New.Richard Henderson4-37/+61
(symbol_temp_new, symbol_temp_new_now, symbol_temp_make): New. (symbol_set_value_now): New. * symbols.h: Prototype them. * dwarf2dbg.c: Use them. (fake_label_name, symbol_new_now, set_symbol_value_now): Remove.
2003-05-27 * elfxx-mips.c (mips_elf_hash_sort_data): Fix formattting.Richard Sandiford2-2/+8
(mips_elf_link_hash_table): Likewise.
2003-05-27*** empty log message ***gdbadmin1-1/+1
2003-05-262003-05-26 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-9/+15
* stabsread.c (dbx_lookup_type): Make static. (read_type): Ditto. (add_undefined_type): Ditto. * stabsread.h (dbx_lookup_type, read_type, add_undefined_type): Do not export.
2003-05-262003-05-26 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-15/+29
* hpread.c (hpread_has_name): Make static. (hpread_psymtab_to_symtab): Ditto. (file_exists): Ditto. (hpread_call_pxdb): Ditto. (hpread_pxdb_needed): Ditto. (hpread_quick_traverse): Ditto. (hpread_get_header): Ditto. (hpread_get_lntt): Ditto. (hpread_get_slt): Ditto. (class_of): Ditto.
2003-05-26* emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 toMaciej W. Rozycki2-0/+6
trap on pointer crops.
2003-05-26*** empty log message ***gdbadmin1-1/+1
2003-05-25 * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead ofAndreas Schwab2-10/+5
stack_align and deprecated_extra_stack_alignment_needed. (m68k_stack_align): Delete.
2003-05-25 * m68k-tdep.c (m68k_register_raw_size): Remove cast.Andreas Schwab8-134/+123
(m68k_register_virtual_size): Likewise. (altos_skip_prologue): Remove obsolete function. (isi_frame_num_args): Likewise. (news_frame_num_args): Likewise. (m68k_fix_call_dummy): Make static. (m68k_push_dummy_frame): Likewise. (m68k_pop_frame): Likewise. (m68k_skip_prologue): Likewise. (m68k_frame_init_saved_regs): Likewise. (m68k_saved_pc_after_call): Likewise. (m68k_get_longjmp_target): Make multi-arch. (m68k_gdbarch_init): Allocate and initialize gdbarch_tdep structure. Register m68k_get_longjmp_target if enabled. * m68k-tdep.h (struct gdbarch_tdep): Define. * config/m68k/tm-m68k.h: Don't include "regcache.h". * Makefile.in (config.status): Also depend on configure.tgt and configure.host. (m68klinux-tdep.o): Update dependencies. * configure.tgt (m68*-*-linux*): Set gdb_multi_arch to 1. * m68klinux-tdep.c (M68K_LINUX_JB_ELEMENT_SIZE): Define. (M68K_LINUX_JB_PC): Define. (m68k_linux_pc_in_sigtramp): Renamed from m68k_linux_in_sigtramp and take additional parameter. (m68k_linux_sigtramp_saved_pc): Update. (m68k_linux_init_abi): Set jb_pc and jb_elt_size. Register m68k_linux_pc_in_sigtramp, in_plt_section, find_solib_trampoline_target. * config/m68k/tm-linux.h: Don't include any tm headers. (START_INFERIOR_TRAPS_EXPECTED): Remove definition. (JB_ELEMENT_SIZE): Likewise. (JB_PC): Likewise. (GET_LONGJMP_TARGET): Likewise. (IN_SIGTRAMP): Likewise. (SVR4_SHARED_LIBS): Define this and include "solib.h".
2003-05-25* sparc-tdep.c (sparc32_do_push_arguments): New function.Mark Kettenis2-56/+136
(sparc32_push_arguments): Re-implement by calling sparc32_do_push_arguments.
2003-05-25* ld-mips-elf/mips-elf.exp: Make all NetBSD targets match as elf.Jason Thorpe2-1/+5
2003-05-25* sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM,Mark Kettenis3-43/+145
SPARC_O1_REGNUM): New defines. (sparc32_extract_return_value): Rewrite to operate on a regcache. (sparc32_store_return_value): New function. (sparc_extract_struct_value_address): Rewrite to operate on a regcache. (sparc_gdbarch_init): Don't set deprecated_extract_struct_value_address. Set extract_struct_value_address instead. Don't set deprecated_extract_return_value and deprecated_store_return_value for 32-bit targets. Set extract_return_value and store_return_value instead. * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE, DEPRECTAED_EXTRACT_RETURN_VALUE, DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Don't define these. (STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS): Define these instead. (sparc_store_return_value): Remove prototype. (sparc32_store_return_value): New prototype. (sparc32_extract_return_value, sparc_extract_struct_value_address): Adjust prototypes.
2003-05-25*** empty log message ***gdbadmin1-1/+1
2003-05-24* sparcnbsd-tdep.c: Include "gdb_string.h".Mark Kettenis2-1/+7
2003-05-242003-05-23 Jason Eckhardt <jle@rice.edu>Jason Eckhardt10-12/+627
gas: * config/tc-i860.c (target_xp): Declare variable. (OPTION_XP): Declare macro. (md_longopts): Add option -mxp. (md_parse_option): Set target_xp. (md_show_usage): Add -mxp usage. (i860_process_insn): Recognize XP registers bear, ccr, p0-p3. (md_assemble): Don't try expansions if XP_ONLY is set. * doc/c-i860.texi: Document -mxp option. gas/testsuite: * gas/i860/xp.s: New file. * gas/i860/xp.d: New file. include/opcode: * i860.h (expand_type): Add XP_ONLY. (scyc.b): New XP instruction. (ldio.l): Likewise. (ldio.s): Likewise. (ldio.b): Likewise. (ldint.l): Likewise. (ldint.s): Likewise. (ldint.b): Likewise. (stio.l): Likewise. (stio.s): Likewise. (stio.b): Likewise. (pfld.q): Likewise. opcodes: * i860-dis.c (crnames): Add bear, ccr, p0, p1, p2, p3. (print_insn_i860): Grab 4 bits of the control register field instead of 3.
2003-05-242003-05-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-15/+38
* p-valprint.c (pascal_val_print): Replace extract_address with the inline equivalent extract_unsigned_integer. * jv-valprint.c (java_value_print): Ditto. * ada-valprint.c (ada_val_print_1): Ditto. * ada-lang.h (EXTRACT_ADDRESS): Ditto.
2003-05-24*** empty log message ***gdbadmin1-1/+1
2003-05-232003-05-23 Eric Christopher <echristo@redhat.com>Eric Christopher2-1/+5
* config/tc-mips.c (macro_build_jalr): Warning patrol.
2003-05-23* blockframe.c (frameless_look_for_prologue): Remove unusedTheodore A. Roth2-1/+6
after_prologue variable.
2003-05-23* blockframe.c (get_pc_function_start): Rewrite to avoidMark Kettenis2-17/+25
asignments in if-statements.
2003-05-232003-05-23 Raoul Gough <RaoulGough@yahoo.co.uk>Elena Zannoni2-3/+19
Committed by Elena Zannoni <ezannoni@redhat.com>. * coffread.c(coff_symtab_read): Do relocate static symbols from PE files, don't relocate absolute symbols (and do use mst_abs).
2003-05-232003-05-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-44/+24
* objc-lang.c: Include "gdb_assert.h". (objc_op_print_tab): Use OP_NULL and PREC_NULL instead of 0. (CHECK, CHECK_FATAL, __CHECK_FUNCTION): Delete macros. (gdb_check, gdb_check_fatal): Delete functions. (read_objc_methlist_method): Replace CHECK and CHECK_FATAL with gdb_assert. (parse_selector, parse_method, find_methods, find_imps): Ditto. * Makefile.in (objc-lang.o): Update dependencies.
2003-05-23* gas/i860/i860.exp: Don't call exit if the target isn't an i860.Richard Earnshaw2-10/+11