aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-12-13 * lexsup.c (parse_args): Don't pass shortopts to second call toAlan Modra2-10/+13
getopt functions. Restore optind rather than decrementing before second call. Remove errind as it now duplicates last_optind.
2001-12-13merge from gccDJ Delorie3-0/+13
2001-12-13*** empty log message ***gdbadmin1-1/+1
2001-12-12daily updateAlan Modra1-1/+1
2001-12-12 * syms.c (_bfd_generic_read_minisymbols): Early return forRichard Henderson2-0/+7
no symbols. Patch from FreeBSD folk; exact origin unknown.
2001-12-12* Makefile.in (c-exp.tab.o): Add missing dependencies.Jim Blandy2-1/+6
2001-12-12* Makefile.in (c_lang_h): New variable. Use it in dependencyJim Blandy2-9/+15
lists, instead of `c-lang.h' itself.
2001-12-12* config/tc-d10v.c (get_operands): Mark OPERAND_PLUS afterAlexandre Oliva2-2/+9
OPERAND_ATSIGN as O_absent.
2001-12-12Approved by Jim Blandy:Fred Fish14-22/+43
2001-12-11 Fred Fish <fnf@redhat.com> * c-typeprint.c (c_type_print_base): Use type flags access macros to test bits. * ch-typeprint.c (chill_type_print_base): Ditto. * ch-valprint.c (chill_val_print): Ditto. * d10v-tdep.c (d10v_pointer_to_address): Ditto. * dwarf2read.c (dwarf2_add_member_fn): Ditto. * dwarfread.c (read_structure_scope): Ditto. * gdbtypes.c (create_range_type): Dittol (create_set_type): Ditto. (check_typedef): Ditto. * jv-typeprint.c (java_type_print_base): Ditto. * p-typeprint.c (pascal_type_print_base): Ditto * p-valprint.c (pascal_val_print): Ditto. * stabsread.c (read_cfront_member_functions): Ditto. (read_member_functions): Ditto. (cleanup_undefined_types): Ditto. * valprint.c (val_print): Ditto. * valops.c (hand_function_call): Remove is_prototyped variable and just use type flag test macro directly.
2001-12-12Approved by Jim Blandy:Fred Fish4-8/+74
2001-12-11 Fred Fish <fnf@redhat.com> * gdbtypes.c (print_bound_type): New function. (recursive_dump_type): Print type struct code values TYPE_CODE_BITSTRING, TYPE_CODE_COMPLEX, TYPE_CODE_TEMPLATE, and TYPE_CODE_TEMPLATE_ARG. (recursive_dump_type): Print type struct members upper_bound_type, lower_bound_type, cv_type, and as_type. Also always print the tagname member, even when it is NULL. * testsuite/gdb.base/maint.exp: Update to match changes in type dumping code.
2001-12-12*** empty log message ***gdbadmin1-1/+1
2001-12-11daily updateAlan Modra1-1/+1
2001-12-112001-12-11 Michael Snyder <msnyder@redhat.com>Michael Snyder4-29/+12
* d10v-tdep.c (d10v_register_virtual_size): Delete. (d10v_gdbarch_init): Use generic_register_virtual_size. * rs6000-tdep.c (rs6000_register_virtual_size): Delete. (rs6000_gdbarch_init): Use generic_register_virtual_size. * x86-64-tdep.c (x86_64_register_virtual_size): Delete. (i386_gdbarch_init): Use generic_register_virtual_size.
2001-12-112001-12-10 Michael Snyder <msnyder@redhat.com>Michael Snyder5-2/+21
* arch-utils.c (generic_register_virtual_size): New function. * arch-utils.h: Export generic version of register_virtual_size. * gdbarch.sh (REGISTER_VIRTUAL_SIZE): Use new function as default. * gdbarch.c: Regenerate.
2001-12-11Rearange code to supress -Wuninitialized error.Andrew Cagney2-4/+14
2001-12-11* emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo.Christopher Faylor2-1/+14
2001-12-11merge from gccDJ Delorie3-54/+73
2001-12-11 * readelf.c (process_file_header): Print extended e_shnum andAlan Modra2-16/+50
e_shdtrndx values. Set elf_header values for same. (get_32bit_section_headers): Add "num" arg to read "num" headers. (get_64bit_section_headers): Likewise. (process_section_headers): Update calls. (get_file_header): Call get_32bit_section_headers or 64bit variant.
2001-12-11 * elfcode.h (elf_swap_ehdr_out): Adjust value written for e_shnumAlan Modra2-15/+81
and e_shstrndx if out of range. (elf_object_p): Read extended values for e_shnum and e_shstrndx from the first section header. Allocate space in elf_elfsections for reserved sections and set to NULLs. (elf_write_shdrs_and_ehdr): Set overflow fields in first section header. Skip reserved sections in elf_elfsections. Remove duplicate size calculation.
2001-12-11 * common.h (SHN_XINDEX): Comment typo fix.Alan Modra3-7/+13
* internal.h (Elf_Internal_Ehdr): Change existing "unsigned short" size, count and index fields to "unsigned int".
2001-12-11*** empty log message ***gdbadmin1-1/+1
2001-12-10Approved by Jim Blandy:Fred Fish3-11/+33
2001-12-10 Fred Fish <fnf@redhat.com> * values.c (value_fn_field): Add physname variable. Use a minimal symbol if we don't find a full symbol. Remove setting of the new value's type since that was already done by allocate_value(). Remove obsolete commented out error call since callees need to handle a NULL return, which is possible result not an error. * eval.c (evaluate_subexp_standard): Move check for inlined functions to precede attempt to dereference a NULL argvec[0].
2001-12-10daily updateAlan Modra1-1/+1
2001-12-10Approved by Jim Blandy:Fred Fish6-10/+20
2001-12-10 Fred Fish <fnf@redhat.com> * arm-linux-tdep.c (skip_hurd_resolver): Use NULL rather than zero in args to lookup_minimal_symbol. * linespec.c (decode_line_1): Ditto. * i386-linux-tdep.c (skip_hurd_resolver): Ditto. * minsyms.c (find_stab_function_addr): Ditto. * symfile.c (simple_read_overlay_table): Ditto. (simple_read_overlay_region_table): Ditto.
2001-12-10* gdb.asm/asm-source.exp (info symbol): Anchor the patternJim Blandy2-1/+10
matching the entry point symbol's name at the beginning of the line.
2001-12-10Resolve CVS conflict.Andreas Schwab1-4/+1
2001-12-10 * objcopy.c (setup_section): Copy entsize.Jakub Jelinek2-0/+7
2001-12-10Approved by Jim Blandy:Fred Fish2-2/+52
2001-12-09 Fred Fish <fnf@redhat.com> * gdbtypes.c (TYPE_FLAG_UNSIGNED, TYPE_FLAG_STUB): Use TYPE_UNSIGNED and TYPE_NOSIGN to determine when to print these rather than testing the bits directly. (TYPE_FLAG_NOSIGN, TYPE_FLAG_TARGET_STUB, TYPE_FLAG_STATIC, TYPE_FLAG_CONST, TYPE_FLAG_VOLATILE, TYPE_FLAG_PROTOTYPED, TYPE_FLAG_INCOMPLETE, TYPE_FLAG_CODE_SPACE, TYPE_FLAG_DATA_SPACE, TYPE_FLAG_VARARGS): Test for and print these bits as well.
2001-12-10Approved by Jim Blandy:Fred Fish2-2/+7
2001-12-09 Fred Fish <fnf@redhat.com> * gdbtypes.c (build_gdbtypes): For builtin_type_char, pass TYPE_FLAG_NOSIGN to init_type() rather than setting it after the type is created.
2001-12-10Approved by Jim Blandy:Fred Fish2-16/+32
2001-12-09 Fred Fish <fnf@redhat.com> * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_CONST, TYPE_VOLATILE, TYPE_INCOMPLETE): Move macros that test the bits to location in file where the bits are defined. (TYPE_STUB, TYPE_TARGET_STUB, TYPE_STATIC, TYPE_PROTOTYPED, TYPE_CODE_SPACE, TYPE_DATA_SPACE): New test macros.
2001-12-10Approved by Jim Blandy:Fred Fish2-4/+7
2001-12-09 Fred Fish <fnf@redhat.com> * gdbtypes.c (allocate_stub_method): Replace hand crafted type initialization with call to the init_type() function.
2001-12-10* arch-utils.c (generic_register_raw_size): New function.Andrew Cagney7-13/+37
* gdbarch.sh (REGISTER_RAW_SIZE): Use generic_register_raw_size as the static default. * gdbarch.c: Regenerate. * arch-utils.h (generic_register_raw_size): Declare. * config/mips/tm-mips.h (REGISTER_RAW_SIZE): Delete macro. * mips-tdep.c (mips_register_raw_size): Make function static. (mips_gdbarch_init): Initialize register_raw_size.
2001-12-10*** empty log message ***gdbadmin1-1/+1
2001-12-09Approved by Elena Zannoni:Fred Fish2-15/+13
2001-12-08 Fred Fish <fnf@redhat.com> * dwarf2read.c (read_typedef): Replace hand crafted type initialization with a call to the init_type() function, which is how the rest of gdb creates types.
2001-12-09daily updateAlan Modra1-1/+1
2001-12-09Approved by Elena Zannoni:Fred Fish2-2/+6
2001-12-09 Fred Fish <fnf@redhat.com> * mdebugread.c (cross_ref): Pass TYPE_FLAG_STUB to init_type() rather than setting it after the type is created.
2001-12-092001-12-09 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni8-87/+176
* config/rs6000/tm-rs6000.h (STAB_REG_TO_REGNUM): Remove definition, it is now multiarched. * ppc-tdep.h (struct gdbarch_tdep): Move from rs6000-tdep.c. Add fields for special register numbers. * rs6000-tdep.c (rs6000_gdbarch_init): Initialize new tdep special regnum fields. (rs6000_saved_pc_after_call): Use gdbarch_tdep registers fields instead of hardcoded macros. (branch_dest, rs6000_pop_frame, rs6000_fix_call_dummy, ppc_push_return_address, rs6000_frame_saved_pc, frame_get_saved_regs, rs6000_frame_chain, rs6000_store_return_value): Ditto. (rs6000_stab_reg_to_regnum): New function. * ppcnbsd-nat.c (fetch_inferior_registers, store_inferior_registers, fetch_core_registers): Ditto. * ppc-linux-tdep.c (ppc_linux_in_sigtramp, ppc_linux_frame_init_saved_regs): Ditto. * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, fill_gregset): Ditto. * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): Ditto.
2001-12-09Approved by Jim Blandy:Fred Fish2-4/+7
2001-12-08 Fred Fish <fnf@redhat.com> * c-lang.c (c_create_fundamental_type): For FT_CHAR, pass TYPE_FLAG_NOSIGN to init_type() rather than setting it after the type is created.
2001-12-09Approved by Jim Blandy:Fred Fish3-4/+12
2001-12-08 Fred Fish <fnf@redhat.com> * dwarf2read.c (TYPE_FLAG_VARARGS): Remove from here. * gdbtypes.h (TYPE_FLAG_VARARGS): Add here and change value to not collide with other flag bits.
2001-12-09Approved by Jim Blandy:Fred Fish2-5/+11
2001-12-08 Fred Fish <fnf@redhat.com> * dwarf2read.c (read_base_type): Rename is_unsigned to type_flags. For unsigned types set TYPE_FLAG_UNSIGNED and pass it to init_type().
2001-12-09*** empty log message ***gdbadmin1-1/+1
2001-12-08daily updateAlan Modra1-1/+1
2001-12-08 * Makefile.in (cp-valprint.o): Add dependency on $(cp_abi_h).Daniel Jacobowitz2-1/+5
2001-12-08* config/s390/s390.mh: Don't use the linux-thread.o module;Jim Blandy1-0/+5
thread-db.o, lin-lwp.o, and proc-service.o should work just fine.
2001-12-08* config/s390/s390.mh: Don't use the linux-thread.o module;Jim Blandy1-1/+1
thread-db.o, lin-lwp.o, and proc-service.o should work just fine.
2001-12-08Index: bfd/ChangeLogGeoffrey Keating60-711/+12717
2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> Corinna Vinschen <vinschen@redhat.com> * Makefile.am: Add support for xstormy16. * archures.c: Add support for xstormy16. * config.bfd: Add support for xstormy16. * configure.in: Add support for xstormy16. * reloc.c: Add support for xstormy16. * targets.c: Add support for xstormy16. * cpu-xstormy16.c: New file. * elf32-xstormy16.c: New file. * Makefile.in: Regenerated. * bfd-in2.h: Regenerated. * configure: Regenerated. * libbfd.h: Regenerated. Index: binutils/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * readelf.c (guess_is_rela): Add support for stormy16. (dump_relocations): Likewise. (get_machine_name): Likewise. Index: gas/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * configure.in: Add support for xstormy16. * configure: Regenerated. * Makefile.am: Add support for xstormy16. * Makefile.in: Regenerated. * config/tc-xstormy16.c: New file. * config/tc-xstormy16.h: New file. Index: gas/testsuite/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> matthew green <mrg@redhat.com> * gas/xstormy16/allinsn.d: New file. * gas/xstormy16/allinsn.exp: New file. * gas/xstormy16/allinsn.s: New file. * gas/xstormy16/allinsn.sh: New file. * gas/xstormy16/gcc.d: New file. * gas/xstormy16/gcc.s: New file. * gas/xstormy16/gcc.sh: New file. * gas/xstormy16/reloc-1.d: New file. * gas/xstormy16/reloc-1.s: New file. * gas/xstormy16/reloc-2.d: New file. * gas/xstormy16/reloc-2.s: New file. Index: ld/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * Makefile.am: Add support for xstormy16. * configure.tgt: Add support for xstormy16. * Makefile.in: Regenerate. * emulparams/elf32xstormy16.sh: New file. * scripttempl/xstormy16.sc: New file. Index: opcodes/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * Makefile.am: Add support for xstormy16. * Makefile.in: Regenerate. * configure.in: Add support for xstormy16. * configure: Regenerate. * disassemble.c: Add support for xstormy16. * xstormy16-asm.c: New generated file. * xstormy16-desc.c: New generated file. * xstormy16-desc.h: New generated file. * xstormy16-dis.c: New generated file. * xstormy16-ibld.c: New generated file. * xstormy16-opc.c: New generated file. * xstormy16-opc.h: New generated file. Index: include/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> * dis-asm.h (print_insn_xstormy16): Declare. Index: include/elf/ChangeLog 2001-12-07 Geoffrey Keating <geoffk@redhat.com> Richard Henderson <rth@redhat.com> * common.h (EM_XSTORMY16): Define. * xstormy16.h: New file.
2001-12-08 * gas/all/incbin.d: Update.Alan Modra2-8/+9
2001-12-08 * gas/all/incbin.s: Add spaces before directives.Alan Modra2-5/+9
2001-12-08*** empty log message ***gdbadmin1-1/+1
2001-12-07PROBLEMS.Andrew Cagney3-50/+52