aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-02-23daily updateAlan Modra1-1/+1
2002-02-23* arm-linux-tdep.c (arm_linux_init_abi): RegisterRichard Earnshaw3-13/+17
IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old definition with undef, since we don't want the sysvr4 definition. (SKIP_TRAMPOLINE_CODE): Likewise.
2002-02-23* configure.in: (AC_CHECK_FUNCS) Added test forAndrew Cagney5-5/+20
canonicalize_file_name Regenerated. * config.in, configure: Regenerated. * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is defined use canonicalize_file_name.
2002-02-232002-02-23 Michael Chastain <mec@shout.net>Michael Chastain2-1/+4
* MAINTAINERS: Remove Michael Chastain from "paper trail" list.
2002-02-23Doc fix.Jim Blandy1-1/+1
2002-02-23s/cygnus.com/.../Andrew Cagney5-10/+20
2002-02-232002-02-23 Michael Chastain <mec@shout.net>Michael Chastain2-5/+6
* gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on test "ptype bint". The test passes on all my stabs configurations.
2002-02-23From 2002-02-19 Paul Eggert <eggert@twinsun.com>:Andrew Cagney3-2/+12
* Makefile.in (VER): Change "head -1" to "sed q", since POSIX 1003.1-2001 no longer allows "head -1". * gdb/Makefile.in (version.c): Likewise. * gdb/doc/Makefile.in (GDBvn.texi): Likewise. * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is equivalent. POSIX 1003.1-2001 no longer allows "diff -c3".
2002-02-23* cli/cli-decode.c (cmd_cfunc_eq): New function.Andrew Cagney8-15/+45
* command.h (cmd_cfunc_eq): Declare. * cli/cli-decode.h (cmd_cfunc_eq): Ditto. * cli/cli-cmds.h (is_complete_command): Change parameter to a ``struct cmd_list_element *''. * cli/cli-cmds.c (is_complete_command): Update. Use cmd_cfunc_eq. * top.c (execute_command): Pass the command to is_complete_command. * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq.
2002-02-23From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>:Andrew Cagney3-3/+10
* config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed architecture defines. * s390-tdep.c (s390_gdbarch_init): Likewise.
2002-02-23* arm-linux-tdep.c (arm_linux_extract_return_value): Make static.Richard Earnshaw3-45/+30
(arm_linux_push_arguments): Likewise. (arm_linux_init_abi): Register them. Also register linux-specific call_dummy_words. (find_minsym_and_objfile): Use strcmp, not STREQ. * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. (arm_linux_call_dummy_words): Delete declaration. (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. (arm_linux_extract_return_value, arm_linux_push_arguments): Delete declarations. (LOWEST_PC): Delete.
2002-02-23 * maint.c (print_section_info): Do not prepend `0x' to fileposPeter Schauer2-2/+7
output, it will be handled by local_hex_string_custom.
2002-02-23* arm-linux-nat.c (store_newfpe_single): Use regcache_collect.Richard Earnshaw2-17/+23
(store_newfpe_double, store_newfpe_extended, store_fpregister) (store_register, store_regs, fill_gregset, fill_fpregset): Likewise.
2002-02-23* Makefile.in (MAKEINFO): Don't assume makeinfo will be built justAlexandre Oliva2-1/+6
because its Makefile is there; test for the executable instead.
2002-02-23Indicate that the bcache functions don't change the stringsJim Blandy3-4/+11
they're passed. * bcache.h (bcache, hash): Add `const' keywords to declarations. * bcache.c (bcache, hash): Add `const' keywords to definitions.
2002-02-23*** empty log message ***gdbadmin1-1/+1
2002-02-22daily updateAlan Modra1-1/+1
2002-02-22The "2002-02-05 Alan Modra <amodra@bigpond.net.au>" commit also affectedDavid O'Brien1-0/+1
elf32-i386.c
2002-02-222002-02-22 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller3-18/+20
* win32-nat.c (child_create_inferior): Fix create flags setting bug.
2002-02-22Fix another spelling typo!Nick Clifton1-1/+1
2002-02-22Fix spelling typoNick Clifton1-1/+1
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