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
Orjan Friberg
ba5f0d88f3
2001-12-04 Orjan Friberg <orjanf@axis.com>
...
* solib.c (solib_open): Make path relative if search for absolute path
failed. If search for relative path in solib_search_path failed, fall
back to search for basename only.
2001-12-04 09:34:56 +00:00
Martin Hunt
7c7a201a79
2001-12-03 Martin M. Hunt <hunt@redhat.com>
...
* serial.h: Add a note to serial_open.
* ser-tcp.c (tcp_open): Rewrite to use a non-blocking connect.
Allow UI and CLI to abort connect. Instead of trying 15 times
with very long timeouts, just try one connect with a maximum timeout
of 15 seconds.
2001-12-04 06:12:56 +00:00
gdbadmin
f599053f37
*** empty log message ***
2001-12-04 00:00:35 +00:00
Jim Blandy
68550daf9b
* gdb.asm/s390.inc (gdbasm_datavar): Use .long' to create
int'
...
variables on the S/390, not `.word'.
2001-12-03 21:53:16 +00:00
Kevin Buettner
e01e171deb
Include solib.h.
2001-12-03 21:17:49 +00:00
Michael Snyder
045f55a687
2001-12-03 Michael Snyder <msnyder@redhat.com>
...
* symtab.c (search_symbols): Make sure alloca size is big enough.
2001-12-03 19:30:39 +00:00
Andrew Cagney
fdce741419
prune m68k targets down to just m68k-elf
2001-12-03 19:21:44 +00:00
Jim Blandy
386e4208fc
* s390-tdep.c (s390_get_frame_info): Don't used fextra_info to set
...
orig_sp if it's not initialized.
2001-12-03 18:48:54 +00:00
Pierre Muller
14e534aa35
2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
...
* findvar.c (locate_var_value): Specify in which register a register
variable is stored.
2001-12-03 08:41:10 +00:00
Pierre Muller
441532d7b8
2001-11-30 Pierre Muller <muller@ics.u-strasbg.fr>
...
* win32-nat.c (mappings): Correct position of XMM registers,
based on FXSAVE instruction structure.
2001-12-03 08:19:01 +00:00
gdbadmin
a4cae47f1a
*** empty log message ***
2001-12-03 00:00:04 +00:00
Andrew Cagney
753edfefb3
mmalloc() -> xmmalloc()
2001-12-02 22:43:59 +00:00