aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
2001-12-07Cleanup ui-out table impl. Add struct ui_out_table. RenameAndrew Cagney2-76/+106
curr[ent]_header to next_header.
2001-12-07Fix changelog woopsieAndrew Cagney1-5/+6
2001-12-07Zap stray XCALLOC().Andrew Cagney2-3/+5
2001-12-07* dwarf2cfi.c: New file.Jiri Smid12-4/+1939
* dwarf2cfi.h: New file. * dwarf2read.c (dwarf_frame_offset, dwarf_frame_size): New variables. (dwarf_eh_frame_offset, dwarf_eh_frame_size): New variables. (dwarf2_read_section): Change to non static. (dwarf2_locate_sections): Add .debug_frame and .eh_frame section recognition. (FRAME_SECTION, EH_FRAME_SECTION): New define. * elfread.c (elf_symfile_read): Add call of frame informations build. * frame.h (frame_info): Add pointer to unwind_context. * symfile.h (dwarf2_build_frame_info): Add declaration. * gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Add. * gdbarch.h, gdbarch.c: Regenerate. * Makefile.in: Add dwarf2cfi_h, dwarf2cfi.o * x86-64-tdep.c (i386_gdbarch_init): Initialize target vector to use debug frame info.
2001-12-072001-12-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+41
* gdb.asm/asm-source.exp: Add tests for info target, info symbol, and detect whether the start symbol has a leading underscore.
2001-12-07*** empty log message ***gdbadmin1-1/+1
2001-12-06Eliminate global #include of "mmalloc.h".Andrew Cagney4-22/+23
2001-12-06Expand the regcache so that there is space for pseudo-registers.Andrew Cagney5-27/+123
2001-12-06* config/s390/nm-linux.h: Watchpoints are either continuable orJim Blandy2-1/+6
steppable, not both. The S/390 has continuable watchpoints, so delete the #definition of HAVE_STEPPABLE_WATCHPOINT.
2001-12-062001-12-04 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-5/+7
* go32-nat.c (go32_fetch_registers): Remove call to register_buffer (which is now a static function in regcache.c) and use regcache_collect instead.
2001-12-06*** empty log message ***gdbadmin1-1/+1
2001-12-05* target.c (cleanup_target): Do not initialize to_query toAndrew Cagney2-3/+5
return_zero.
2001-12-05* s390-tdep.c (s390_get_frame_info): Recognize argument registerJim Blandy2-4/+23
spills that use the `stm' instruction. (is_arg_reg): New function.
2001-12-05* gdbserver/low-linux.c (arm_register_u_addr): added.Keith Walker4-0/+33
(initialize_arch): added for ARM target. * config/arm/nm-linux.h (U_REGS_OFFSET) defined. (REGISTER_U_ADDR) defined. * config/arm/tm-linux.h (ARM_GNULINUX_TARGET) defined.
2001-12-05 * arm-tdep.c (arm_skip_prologue): Always skip prologue by scanningCorinna Vinschen2-4/+18
the prologue if source is assembler.
2001-12-052001-12-04 Jackie Smith Cashion <jsmith@redhat.com>Jackie Smith Cashion3-3/+42
* MAINTAINERS (write-after-approval): Add self. * d10v-tdep.c (d10v_gdbarch_init): Change size of long long to 8 bytes. From Andrew Cagney <cagney@redhat.com>: * d10v-tdep.c (d10v_frame_chain_valid): Check if the caller's PC is in the entry function. (d10v_use_struct_convention): Store multi-field struct and union return values on the stack.
2001-12-05* s390-tdep.c (s390_get_frame_info): Recognize spills of regJim Blandy2-0/+20
arguments into their stack slots.
2001-12-05* s390-tdep.c (s390_get_frame_info): More doc fixes.Jim Blandy2-6/+16
2001-12-05*** empty log message ***gdbadmin1-1/+1
2001-12-04* s390-tdep.c (s390_get_frame_info): Doc fixes.Jim Blandy2-3/+30
2001-12-04Add note to serial_open.Martin Hunt1-1/+4
2001-12-042001-11-30 Michael Snyder <msnyder@redhat.com>Michael Snyder7-3/+121
* gdb.asm/asm-source.exp: Add tests for list, search, finish, return, next, info source, info sources, info line, global and static variables, and static functions. * gdb.asm/common.inc: New macro gdbasm_datavar (default definition). * gdb.asm/i386.inc: Override default definition of gdbasm_datavar. * gdb.asm/asmsrc1.s: Add a static function and some variables. * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next'). * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer. (gdbasm_leave): Restore frame pointer. (gdbasm_startup): Copy stack set-up from crt0.S.
2001-12-04* gdb.base/completion.exp: Clarify indentation.Jim Blandy2-11/+24
2001-12-042001-12-04 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-13/+32
* cris-tdep.c (cris_regnums): Add DCCR_REGNUM for completeness. (cris_examine): Add comment about solib prologue parsing. (bdap_prefix): Read offset with correct signedness and size. (move_to_preg_op): Don't rely on register numbering for register size. (none_reg_mode_move_from_preg_op): Ditto.