summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* daily updateAlan Modra2003-05-301-1/+1
|
* * elf.c (elfcore_grok_nto_status): Only set lwpid for the active orAlan Modra2003-05-292-6/+28
| | | | | signalled thread. (elfcore_grok_nto_gregs): Only make .reg section for the active thread.
* * alpha-linux-tdep.c (alpha_linux_sigtramp_offset_1): New.Richard Henderson2003-05-299-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.
* * gdb.base/corefile.exp: Find corefiles on Linux, which names themJim Blandy2003-05-292-7/+30
| | | | 'core.PID'.
* * linux-low.c (usr_store_inferior_registers): Transfer buf inJim Blandy2003-05-292-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-29 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-292-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.
* From Jimi X <jimix@watson.ibm.com>:Kevin Buettner2003-05-292-24/+62
| | | | * rs6000-tdep.c (skip_prologue): Improve support for 64-bit code.
* Replace <ctype.h> with "safe-ctype.h"Nick Clifton2003-05-294-86/+73
|
* Import patch to add FreeBSD support.Nick Clifton2003-05-292-0/+22
|
* * elfxx-mips.c: Don't force symbols local unconditionally.Thiemo Seufer2003-05-292-2/+6
|
* daily updateAlan Modra2003-05-291-1/+1
|
* *** empty log message ***gdbadmin2003-05-291-1/+1
|
* * ppc-linux-nat.c (store_altivec_registers): Don't cast fourthJim Blandy2003-05-282-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-28 Alan Modra <amodra@bigpond.net.au>H.J. Lu2003-05-282-8/+8
| | | | | * elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus undefined_symbol call.
* 2003-05-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2003-05-282-0/+7
| | | | | * dwarf2read.c (process_die): Handle DW_TAG_try_block and DW_TAG_catch_block.
* * Makefile.tpl: Make maybe-check-gcc .PHONY.DJ Delorie2003-05-283-2/+7
| | | | * Makefile.in: Regenerate.
* 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-05-282-2/+29
| | | | * COPYING.NEWLIB: Add license info for newlib/libc/sys/linux/stdlib.
* *** empty log message ***jimb-ppc64-linux-20030528-branchpointgdbadmin2003-05-281-1/+1
|
* * aclocal.m4: Don't add wcwidth.o if we don't have wchar.h.Mark Kettenis2003-05-273-11/+15
| | | | * configure: Regenerate.
* * elfxx-mips.c (mips_elf_hash_sort_data): Fix formattting.Richard Sandiford2003-05-272-2/+8
| | | | (mips_elf_link_hash_table): Likewise.
* *** empty log message ***gdbadmin2003-05-271-1/+1
|
* 2003-05-26 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-05-263-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-26 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-05-262-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.
* *** empty log message ***gdbadmin2003-05-261-1/+1
|
* * m68k-tdep.c (m68k_gdbarch_init): Set parm_boundary instead ofAndreas Schwab2003-05-252-10/+5
| | | | | stack_align and deprecated_extra_stack_alignment_needed. (m68k_stack_align): Delete.
* * m68k-tdep.c (m68k_register_raw_size): Remove cast.Andreas Schwab2003-05-258-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".
* * sparc-tdep.c (sparc32_do_push_arguments): New function.Mark Kettenis2003-05-252-56/+136
| | | | | (sparc32_push_arguments): Re-implement by calling sparc32_do_push_arguments.
* * sparc-tdep.c (SPARC_F0_REGNUM, SPARC_F1_REGNUM, SPARC_O0_REGNUM,Mark Kettenis2003-05-253-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.
* *** empty log message ***gdbadmin2003-05-251-1/+1
|
* * sparcnbsd-tdep.c: Include "gdb_string.h".Mark Kettenis2003-05-242-1/+7
|
* 2003-05-23 Jason Eckhardt <jle@rice.edu>Jason Eckhardt2003-05-244-7/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-245-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.
* *** empty log message ***gdbadmin2003-05-241-1/+1
|
* * blockframe.c (frameless_look_for_prologue): Remove unusedTheodore A. Roth2003-05-232-1/+6
| | | | after_prologue variable.
* * blockframe.c (get_pc_function_start): Rewrite to avoidMark Kettenis2003-05-232-17/+25
| | | | asignments in if-statements.
* 2003-05-23 Raoul Gough <RaoulGough@yahoo.co.uk>Elena Zannoni2003-05-232-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-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-233-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.
* daily updatecarlton_dictionary-20030523-mergeAlan Modra2003-05-231-1/+1
|
* *** empty log message ***gdbadmin2003-05-231-1/+1
|
* * disasm.c (gdb_disassemble_info): Initialize disassemble_infoIan Lance Taylor2003-05-222-1/+6
| | | | with fprintf_filtered, not fprintf_unfiltered.
* * gdb.base/corefile.exp: Tolerate stuff after argument parens inJim Blandy2003-05-222-1/+6
| | | | backtrace.
* 2003-05-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-05-227-6/+23
| | | | | | | | | | * stack.c (frame_info): Inline extract_address, replacing it with extract_unsigned_integer. * findvar.c (unsigned_pointer_to_address): Ditto. * dwarf2loc.c (dwarf_expr_read_reg): Ditto. * dwarf2expr.c (dwarf2_read_address): Ditto. * frame.c (frame_pc_unwind): Update comment. * dummy-frame.c (deprecated_read_register_dummy): Update comment.
* 2003-05-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-05-222-2/+8
| | | | | | * infptrace.c (detach): Call print_sys_errmsg rather than perror_with_name to issue warning message when errno is non-zero after calling ptrace detach.
* * elf64-mips.c (elf_mips_gnu_rel16_s2): Add internally usedThiemo Seufer2003-05-223-0/+89
| | | | | | | | | | R_MIPS_GNU_REL16_S2 support. (bfd_elf64_bfd_reloc_type_lookup): Use it. (mips_elf64_rtype_to_howto): Use it. * elfn32-mips.c (elf_mips_gnu_rel16_s2): Add internally used R_MIPS_GNU_REL16_S2 support. (bfd_elf32_bfd_reloc_type_lookup): Use it. (mips_elf_n32_rtype_to_howto): Use it.
* * som.h: Define PA_2_0 before including a.out.hDave Anglin2003-05-222-0/+7
|
* * configure.in: Use curly braces in the definition of tooldir.DJ Delorie2003-05-221-1/+1
| | | | * configure: Regenerate.
* * Makefile.tpl (configure-target-libiberty): Depend only on gcc, notDJ Delorie2003-05-223-2/+8
| | | | | newlib or libgloss. * Makefile.in: Regenerate.
* * config/pa/tm-hppa.h: Delete some unused macros. Move someJoel Brobecker2003-05-223-13/+52
| | | | | macro definitions from here... * hppa-tdep.c: ...to there.
* daily updateAlan Modra2003-05-221-1/+1
|
* *** empty log message ***gdbadmin2003-05-221-1/+1
|