aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-02-22oops - update date on newly created entryNick Clifton1-1/+1
2002-02-22Keep track of prologue counts across .label_state/.copy_state directivesNick Clifton2-1/+104
2002-02-22Do not complain if gasp does not exist.Nick Clifton2-0/+12
2002-02-22Add missing protoypes.Nick Clifton2-281/+517
Remove ANSI style function declarations
2002-02-22 * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from myJakub Jelinek3-2/+8
last patch. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
2002-02-22* win32-nat.c (register_loaded_dll): Just use raw name when we can't find theChristopher Faylor3-2/+11
complete path to a loaded DLL.
2002-02-22Approved by Jim Blandy (jimb@redhat.com).Fred Fish4-1/+24
2002-02-21 Fred Fish <fnf@redhat.com> * dbxread.c (process_one_symbol): When finding an N_FUN symbol that marks the end of the range of a function, enter a line number entry that has a line number of zero and a PC offset that matches the end of the function. This starts a range of PC's for which no line number information is known. * symtab.c (find_pc_sect_line): If our best fit is in a range of PC's for which no line number info is found (line number is zero) then we didn't find any valid line information. * symtab.h: Document use of zero line number entry.
2002-02-22*** empty log message ***gdbadmin1-1/+1
2002-02-21daily updateAlan Modra1-1/+1
2002-02-21Fix typo.Nick Clifton2-1/+5
2002-02-21include:Jim Blandy4-6/+94
Allow the user to specify functions for allocating memory for splay tree roots and nodes. * splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn): New types. (splay_tree): New fields: `allocate', `deallocate', and `allocate_data'. (splay_tree_new_with_allocator): New function declaration. libiberty: * splay-tree.c (splay_tree_xmalloc_allocate, splay_tree_xmalloc_deallocate): New functions. (splay_tree_new): Call splay_tree_new_with_allocator, passing the above functions and a dummy data pointer. (splay_tree_new_with_allocator): New function. (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert, splay_tree_remove): Use the splay tree's allocation and deallocation functions.
2002-02-212002-02-21 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-14/+256
* ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. (have_ptrace_getvrregs): Define for run time checks. (gdb_vrregset_t): New type for Altivec register handling. (fetch_register, store_register): Fetch/store altivec register when needed. (fetch_altivec_register, store_altivec_register): New functions. (supply_vrregset, fill_vrregset): New functions. (fetch_altivec_registers, store_altivec_registers): New functions. (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec registers as well.
2002-02-21* gdb.asm/asm-source.exp: Parse the output from `info sources' oneJim Blandy2-4/+34
filename at a time, and watch for the ones we want to see.
2002-02-21* gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printingJim Blandy3-0/+85
types of pointers to prototyped functions.
2002-02-21 * armos.c (SWIWrite0): Use generic host_callback mechanismKeith Seitz2-31/+50
for supported OS functions "open", "close", "write", etc. (SWIopen): Likewise. (SWIread): Likewise. (SWIwrite): Likewise. (SWIflen): Likewise. (ARMul_OSHandleSWI): Likewise.
2002-02-21Fix spelling typoNick Clifton1-1/+1
2002-02-21deprecate GASPNick Clifton7-34/+52
2002-02-21 * elf64-x86-64.c: Major rework that introduces all recent changesAndreas Jaeger2-741/+1080
to the x86-64 backend. Get a closer match to elf32-i386. (struct elf64_x86_64_dyn_relocs): Rename from elf64_x86_64_pcrel_relocs_copied, add additional fields. Change all users. (struct elf64_x86_64_link_hash_table): Add short cuts to some sections. (link_hash_newfunc): Rename from elf64_x86_64_link_hash_newfunc, remove casts, initialize new hash members. (create_got_section): New. (elf64_x86_64_create_dynamic_sections): New. (elf64_x86_64_copy_indirect_symbol): New. (elf64_x86_64_check_relocs): Don't allocate space for dynamic relocs, .got or .relgot here but do it in allocate_dynrelocs. Reference count possible .plt and .got entries. Don't test input section SEC_READONLY here to try to avoid copy relocs, and keep dyn_relocs regardless of ELF_LINK_NON_GOT_REF. Don't set DF_TEXTREL here. Delay setting of variables until needed. Cache pointer to "sreloc" section in elf_section_data. Tweak condition under which .got created. Report files with bad relocation section names. (elf64_x86_64_gc_sweep_hook): Sweep dyn_relocs and local_dynrel. Reference count possible .plt entries. Don't deallocate .got and .relgot space here. (elf64_x86_64_adjust_dynamic_symbol): Handle nocopyreloc. Don't do copy reloc processing for weakdefs. Remove redundant casts and aborts. Delay setting of vars until needed. Move creation of dynamic symbols and allocation of .plt and .rela.plt to allocate_dynrelocs. Replace BFD_ASSERT with abort. (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New. (allocate_dynrelocs): New. (readonly_dynrelocs): New. (elf64_x86_64_size_dynamic_sections): Call readonly_dynrelocs. Allocate space for dyn relocs. Replace BFD_ASSERT with abort. Zero out the dynamic allocated content space. (elf64_x86_64_discard_copies): Removed. (elf64_x86_64_relocate_section): Make use of dynamic section short-cuts. Localise vars, and delay setting. Better error reporting, replace BFD_ASSERT with abort. Check ELF_LINK_HASH_DEF_DYNAMIC to see if a symbol is not defined in the regular object file and tread the weak definition as the normal one. Don't discard relocs for undefweak or undefined symbols and check !DEF_REGULAR as well as DEF_DYNAMIC in test for avoided copy relocs. (elf64_x86_64_finish_dynamic_symbol): Don't copy relocs for symbols that have been forced local. Use same test to decide if we can use a relative reloc for got as relocate_section. Expand SHN_UNDEF comment. Move expressions out of function calls. Replace BFD_ASSERT with abort. (bfd_elf64_bfd_final_link): Removed. (elf_backend_copy_indirect_symbol): Define.
2002-02-21 * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o.Andreas Jaeger2-46/+50
2002-02-21* Makefile.in (armnbsd-nat.o): Update dependencies.Richard Earnshaw3-37/+98
* armnbsd-nat.c (supply_gregset): New function. Common code to supply the integer register set. (supply_fparegset): New function. Similar for FPA registers. (fetch_regs, fetch_fp_regs): Use them. (fetch_core_registers): Likewise. (fetch_elfcore_registers): New function. (arm_netbsd_elfcore_fns): New core-file type specification. (_initialize_arm_netbsd_nat): Register it.
2002-02-21* armnbsd-nat.c: Include gdbcore.h.Richard Earnshaw2-14/+57
(FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit 'void' to declaration, to shut up ARI. (fetch_core_registers): Make static. Rewrite using supply_register. (arm_netbsd_core_fns): New core-file type specification. (_initialize_arm_netbsd_nat): New function.
2002-02-21* win32-nat.c (register_loaded_dll): Correctly check for invalid handle value.Christopher Faylor3-2/+7
2002-02-21* win32-nat.c (register_loaded_dll): Handle case where FindFirstFile fails.Christopher Faylor3-18/+29
2002-02-21XCOFF booke tests. Fix tlbre, tlbwe ppc WS field.Tom Rix11-7/+388
2002-02-212002-02-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-2/+12
* jv-exp.y (parse_number): Change type of implicit longs to builtin_type_uint64.
2002-02-21* gdb.base/sizeof.c (main): Call fill_structs. Print value ofAndrew Cagney3-11/+188
signed, unsigned and straight char. (padding_char, padding_short, padding_int, padding_long, padding_long_long, padding_float, padding_double, padding_long_double): New global variables. (fill, fill_structs): New functions. * gdb.base/sizeof.exp: Check for signed and unsigned char. Check for correctly sized writes. Update copyright. (get_valueof): New procedure. (get_sizeof): Call get_valueof. (check_valueof): New procedure. (check_padding): New procedure.
2002-02-21*** empty log message ***gdbadmin1-1/+1
2002-02-202002-02-20 Michael Chastain <mec@shout.net>Michael Chastain2-24/+41
* gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls to setup_xfail. Document some of the remaining calls.
2002-02-20daily updateAlan Modra1-1/+1
2002-02-202002-02-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-2/+7
* gdbserver/linux-low.c (mywait): Change argument to waitpid to be an integer instead of a `union wait'.
2002-02-202002-02-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz4-6/+12
* mips-linux-nat.c: Call the operating system GNU/Linux. * mips-linux-tdep.c: Likewise. * mips-tdep.c: Likewise.
2002-02-202002-02-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-5/+14
Fix PR gdb/265. * jv-exp.y (parse_number): Handle 64-bit integers.
2002-02-20* stabsread.c (error_type_complaint): Improve error message.Jim Blandy1-1/+1
2002-02-202002-02-20 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz3-103/+28
* gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change AC_STDC_HEADERS to AC_HEADER_STDC. * gdbserver/configure: Regenerated.
2002-02-202002-02-19 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-0/+91
* gdb.texinfo: Document Cygwin native specific commands.
2002-02-20 * osf-core.c (osf_core_vec): OSF/1 (Digital Unix) core files areAlan Modra2-2/+7
little endian.
2002-02-20 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't foldAndreas Schwab2-2/+7
.IA64_unwind* in a relocatable link.
2002-02-20Mark 2.12 branchNick Clifton6-0/+20
2002-02-20* arc-tdep.c (get_longjmp_target): Only compile this function if JB_PCRichard Earnshaw3-3/+12
is defined. * sparc-tdep.c (get_longjmp_target): Likewise.
2002-02-20* News: Add news about ARM and Multi-arch. Mention the new targetRichard Earnshaw2-0/+11
arm*-*-netbsd*.
2002-02-20Display 2nd and 3rd reloc types for 64-bit MIPS.Nick Clifton5-28/+110
Narrow some fields for 80-char output.
2002-02-20match realityDavid O'Brien1-1/+2
2002-02-202002-02-18 David O'Brien <obrien@FreeBSD.org>David O'Brien1-0/+37
* Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd, eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd, and eelf64alpha_fbsd. (left this out of last patch)
2002-02-20 * config/tc-xstormy16.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.Tom Tromey2-1/+8
2002-02-20* stabsread.c (error_type_complaint): Improve error message.Jim Blandy2-1/+5
2002-02-20*** empty log message ***gdbadmin1-1/+1
2002-02-192002-02-19 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz7-153/+808
* gdbserver/README: Update documentation. * gdbserver/configure.in: Update configury to match documentation. * gdbserver/Makefile.in: Likewise. * gdbserver/configure: Regenerated. * gdbserver/aclocal.m4: New file, generated by aclocal. * gdbserver/config.in: New file, generated by autoheader.
2002-02-19daily updateAlan Modra1-1/+1
2002-02-19 * config/tc-mips.c (md_parse_option): Complain about invalid -mabiThiemo Seufer2-1/+9
option input.
2002-02-19merge from gccDJ Delorie3-2/+23