Fred Fish
0b3d7c6d24
Approved by Elena Zannoni:
...
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-09 21:45:26 +00:00
Elena Zannoni
2188cbdd51
2001-12-09 Elena Zannoni <ezannoni@redhat.com>
...
* 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-09 21:39:53 +00:00
Fred Fish
6edc140fcf
Approved by Jim Blandy:
...
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-09 07:32:21 +00:00
Fred Fish
878ac5308a
Approved by Jim Blandy:
...
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-09 07:29:46 +00:00
Fred Fish
f5ef7c67f8
Approved by Jim Blandy:
...
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 07:26:47 +00:00
gdbadmin
2557de7c29
*** empty log message ***
2001-12-09 00:00:32 +00:00
Daniel Jacobowitz
1e8e5c2ae4
* Makefile.in (cp-valprint.o): Add dependency on $(cp_abi_h).
2001-12-08 20:28:44 +00:00
Jim Blandy
fa4baff1b9
* config/s390/s390.mh: Don't use the linux-thread.o module;
...
thread-db.o, lin-lwp.o, and proc-service.o should work just fine.
2001-12-08 20:08:11 +00:00
Jim Blandy
7aa07d2df5
* config/s390/s390.mh: Don't use the linux-thread.o module;
...
thread-db.o, lin-lwp.o, and proc-service.o should work just fine.
2001-12-08 19:17:17 +00:00
gdbadmin
93854344cf
*** empty log message ***
2001-12-08 00:00:33 +00:00
Andrew Cagney
6b32586447
PROBLEMS.
2001-12-07 23:33:19 +00:00
Daniel Jacobowitz
23abb74e4b
* stabsread.c (read_member_functions): Skip member functions which
...
are duplicates of the callable constructor/destructor.
2001-12-07 23:30:13 +00:00
Jim Blandy
03a013f4d3
* s390-tdep.c (s390_store_return_value): Don't convert float
...
values to double format when returning them; just return them in
the first half of the FP register, as the ABI specifies.
2001-12-07 22:49:25 +00:00
Daniel Jacobowitz
6a1675750a
Fix botched patch.
2001-12-07 22:24:41 +00:00
Daniel Jacobowitz
2abae2c765
Undo accidental commit of a separate patch.
2001-12-07 22:16:43 +00:00
Daniel Jacobowitz
76b2e19d24
* valops.c (hand_function_call): Check for method arguments in
...
TYPE_ARG_TYPES(), not in TYPE_FIELD ().
2001-12-07 22:14:30 +00:00
Daniel Jacobowitz
b9d652ac99
* cp-valprint.c (cp_print_value): Preserve offset if
...
the virtual base is outside of this object.
2001-12-07 22:13:19 +00:00
Daniel Jacobowitz
a02fd225ed
* gdbtypes.c (finish_cv_type): New function.
...
(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 22:11:51 +00:00
Daniel Jacobowitz
5178b9d602
* gdb.c++/classes.exp, gdb.c++/derivation.exp,
...
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 22:02:23 +00:00
Daniel Jacobowitz
af890c5292
* gdb.c++/classes.exp: Add test for static member function.
...
* gdb.c++/misc.cc: Add class with static member function.
2001-12-07 21:58:19 +00:00
Jim Blandy
8032bf31ff
If GDB says it can't find the struct the function returned, report
...
those tests as `unsupported'.
* gdb.base/call-rt-st.exp (print_struct_call): New function.
Rewrite subsequent tests to use it.
2001-12-07 21:23:47 +00:00
Jim Blandy
f2e54a8073
If GDB says it can't find the struct the function returned, report
...
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 21:21:34 +00:00
Jim Blandy
0bc695097f
* gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
...
whether functions are prototyped or not, so we can't possibly pass
arguments to t_float_values2 properly.
2001-12-07 21:17:00 +00:00
Jim Blandy
f469783692
* printcmd.c (print_scalar_formatted): Compare the length of the
...
value against the lengths of the target's floating-point types,
not the host's. Add support for `long double'.
2001-12-07 21:07:59 +00:00
Jim Blandy
7a345fb3e3
* gdb.base/break.exp: (test_next_with_recursion): Don't change the
...
value of `timeout' for targets other than the mips*tx39-*.
2001-12-07 21:02:31 +00:00
Martin Hunt
0cf3e697e4
2001-12-07 Martin M. Hunt <hunt@redhat.com>
...
* 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-07 17:57:05 +00:00
Andrew Cagney
bafdd3b3f6
Cleanup ui-out table impl. Add struct ui_out_table. Rename
...
curr[ent]_header to next_header.
2001-12-07 17:51:13 +00:00
Andrew Cagney
584e692dda
Fix changelog woopsie
2001-12-07 15:36:03 +00:00
Andrew Cagney
1c8649cd5f
Zap stray XCALLOC().
2001-12-07 15:00:59 +00:00
Jiri Smid
b6af0555b5
* dwarf2cfi.c: New file.
...
* 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-07 12:10:15 +00:00
Michael Snyder
edb6ede1be
2001-12-06 Michael Snyder <msnyder@redhat.com>
...
* 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 02:50:02 +00:00
gdbadmin
8d3adc59f5
*** empty log message ***
2001-12-07 00:00:33 +00:00
Andrew Cagney
ed1801dfff
Eliminate global #include of "mmalloc.h".
2001-12-06 20:59:11 +00:00
Andrew Cagney
31e9866ea6
Expand the regcache so that there is space for pseudo-registers.
2001-12-06 20:49:47 +00:00
Jim Blandy
08ea399688
* config/s390/nm-linux.h: Watchpoints are either continuable or
...
steppable, not both. The S/390 has continuable watchpoints, so
delete the #definition of HAVE_STEPPABLE_WATCHPOINT.
2001-12-06 16:17:06 +00:00
Pierre Muller
284a190e52
2001-12-04 Pierre Muller <muller@ics.u-strasbg.fr>
...
* 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 08:15:37 +00:00
gdbadmin
978e08c500
*** empty log message ***
2001-12-06 00:00:33 +00:00
Andrew Cagney
09227b3ec8
* target.c (cleanup_target): Do not initialize to_query to
...
return_zero.
2001-12-05 22:32:57 +00:00
Jim Blandy
12bffad7cc
* s390-tdep.c (s390_get_frame_info): Recognize argument register
...
spills that use the `stm' instruction.
(is_arg_reg): New function.
2001-12-05 22:20:00 +00:00
Keith Walker
ae45a35b44
* gdbserver/low-linux.c (arm_register_u_addr): added.
...
(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 15:11:48 +00:00
Corinna Vinschen
50f6fb4b7a
* arm-tdep.c (arm_skip_prologue): Always skip prologue by scanning
...
the prologue if source is assembler.
2001-12-05 08:36:01 +00:00
Jackie Smith Cashion
02da620696
2001-12-04 Jackie Smith Cashion <jsmith@redhat.com>
...
* 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 02:05:04 +00:00
Jim Blandy
7666f43c32
* s390-tdep.c (s390_get_frame_info): Recognize spills of reg
...
arguments into their stack slots.
2001-12-05 00:20:37 +00:00
Jim Blandy
7286245e1f
* s390-tdep.c (s390_get_frame_info): More doc fixes.
2001-12-05 00:07:50 +00:00
gdbadmin
e699dc4eb0
*** empty log message ***
2001-12-05 00:00:34 +00:00
Jim Blandy
6df29de21e
* s390-tdep.c (s390_get_frame_info): Doc fixes.
2001-12-04 23:51:55 +00:00
Martin Hunt
63b5bc2fef
Add note to serial_open.
2001-12-04 21:44:37 +00:00
Michael Snyder
ca9efc9063
2001-11-30 Michael Snyder <msnyder@redhat.com>
...
* 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 19:45:57 +00:00
Jim Blandy
2d842f1359
* gdb.base/completion.exp: Clarify indentation.
2001-12-04 16:18:15 +00:00
Orjan Friberg
2a9ecef2fc
2001-12-04 Orjan Friberg <orjanf@axis.com>
...
* 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.
2001-12-04 10:33:57 +00:00