aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2001-12-13 * i387-nat.c (i387_fill_fxsave): Change type of ``val'' from charKevin Buettner2-2/+9
to short so that we don't memcpy() beyond the end of this buffer. Also, change shift value used in computing val to account for the fact that only eight bits are used.
2001-12-13 * gdb.asm/asm-source.exp: Add support for xstormy16.Corinna Vinschen5-19/+56
* gdb.asm/configure.in: Ditto. * gdb.asm/configure: Rebuild. * gdb.asm/xstormy16.inc: New file.
2001-12-13 * Makefile.in: Add support for xstormy16.Corinna Vinschen5-1/+1154
* configure.tgt: Ditto. * xstormy16-tdep.c: New file. * config/xstormy16/xstormy16.mt: New file.
2001-12-13 * MAINTAINERS (write-after-approval): Add myself.Andreas Schwab2-0/+5
2001-12-13*** empty log message ***gdbadmin1-1/+1
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-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-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*** 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-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-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-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-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-08*** empty log message ***gdbadmin1-1/+1
2001-12-07PROBLEMS.Andrew Cagney3-50/+52
2001-12-07 * stabsread.c (read_member_functions): Skip member functions whichDaniel Jacobowitz2-0/+36
are duplicates of the callable constructor/destructor.
2001-12-07* s390-tdep.c (s390_store_return_value): Don't convert floatJim Blandy2-6/+13
values to double format when returning them; just return them in the first half of the FP register, as the ABI specifies.
2001-12-07Fix botched patch.Daniel Jacobowitz1-1/+16
2001-12-07Undo accidental commit of a separate patch.Daniel Jacobowitz1-11/+1
2001-12-07 * valops.c (hand_function_call): Check for method arguments inDaniel Jacobowitz2-2/+38
TYPE_ARG_TYPES(), not in TYPE_FIELD ().
2001-12-07 * cp-valprint.c (cp_print_value): Preserve offset ifDaniel Jacobowitz2-3/+16
the virtual base is outside of this object.
2001-12-07 * gdbtypes.c (finish_cv_type): New function.Daniel Jacobowitz6-8/+73
(check_typedef): Remove ``register'' keyword from argument. Preserve const and volatile attributes across filling in opaque types. * gdbtypes.h (finish_cv_type): Add prototype. * hp-symtab-read.c (hpread_read_struct_type): Call finish_cv_type. * stabsread.c (read_struct_type): Likewise. * dwarf2read.c (read_structure_scope): Likewise. Remove redundant assignment to die->type.
2001-12-07 * gdb.c++/classes.exp, gdb.c++/derivation.exp,Daniel Jacobowitz9-39/+113
gdb.c++/inherit.exp, gdb.c++/method.exp, gdb.c++/namespace.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler and class layout support.
2001-12-07 * gdb.c++/classes.exp: Add test for static member function.Daniel Jacobowitz3-0/+29
* gdb.c++/misc.cc: Add class with static member function.
2001-12-07If GDB says it can't find the struct the function returned, reportJim Blandy2-86/+51
those tests as `unsupported'. * gdb.base/call-rt-st.exp (print_struct_call): New function. Rewrite subsequent tests to use it.
2001-12-07If GDB says it can't find the struct the function returned, reportJim Blandy2-13/+45
those tests as `unsupported'. * gdb.base/structs.exp (call_struct_func): New function. (do_function_calls): Use call_struct_func to call the functions returning structs.
2001-12-07* gdb.base/callfuncs.exp: The stabs generated by GCC don't tell usJim Blandy2-0/+14
whether functions are prototyped or not, so we can't possibly pass arguments to t_float_values2 properly.
2001-12-07* printcmd.c (print_scalar_formatted): Compare the length of theJim Blandy2-2/+10
value against the lengths of the target's floating-point types, not the host's. Add support for `long double'.
2001-12-07* gdb.base/break.exp: (test_next_with_recursion): Don't change theJim Blandy2-2/+26
value of `timeout' for targets other than the mips*tx39-*.
2001-12-072001-12-07 Martin M. Hunt <hunt@redhat.com>Martin Hunt5-3/+20
* configure.in: Check for sys/filio.h * configure: Rebuild. * config.in: Add HAVE_SYS_FILIO_H * ser-tcp.c: Conditionally include sys/filio.h.