Paul Brook
85a84e7a87
* INTERWORK_FLAG: Return true for EABIv3 objects.
2004-08-26 16:18:37 +00:00
Michael Chastain
5a2e8882db
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/basics.c: Include <stdio.h>.
* gdb.mi/pthreads.c: Include <stdlib.h>.
* gdb.mi/var-cmd.c: Include <stdlib.h>.
2004-08-26 15:13:17 +00:00
Michael Chastain
a96404235b
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.threads/schedlock.c: Add copyright notice.
2004-08-26 13:10:19 +00:00
gdbadmin
8ef085014d
*** empty log message ***
2004-08-26 00:00:32 +00:00
Alan Modra
2605216ead
daily update
2004-08-26 00:00:05 +00:00
Alan Modra
688c58f359
bfd/
...
* elf32-m32r.c (m32r_elf_relocate_section): Don't compare with
TRUE or FALSE.
ld/
* ldlang.c (lang_init): Don't compare with TRUE.
2004-08-25 23:40:56 +00:00
Alan Modra
3e95eabc2c
* elf32-i386.c (elf_i386_relocate_section): Tweak last change so
...
that pcrel correction is applied for R_386_PC32.
2004-08-25 23:20:37 +00:00
H.J. Lu
26a78d4a08
2004-08-25 H.J. Lu <hongjiu.lu@intel.com>
...
* gas/all/gas.exp: Use `string match ""' instead of `eq ""'.
2004-08-25 17:05:10 +00:00
Jim Blandy
e6742ace8b
* gdbtypes.h (TYPE_CODE_ARRAY): Doc fix.
2004-08-25 15:41:54 +00:00
Andrew Cagney
b04e311dda
2004-08-25 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
(skip_over_handler, breakpoint_over_hander): New test procedures.
(advance, advancei): Add a proper prefix, do not use
rerun_to_main.
* gdb.base/sigstep.c (main): Change to use an infinite loop.
2004-08-25 15:26:19 +00:00
Andrew Cagney
629a41eeae
2004-08-25 Andrew Cagney <cagney@gnu.org>
...
* infrun.c (struct execution_control_state): Delete field
"stepping_through_sigtramp".
(init_execution_control_state): Do not set same.
(context_switch): Do not pass same to save_infrun_state and
load_infrun_state.
* gdbthread.h (struct thread_info): Delete field
stepping_through_sigtramp.
(save_infrun_state, load_infrun_state): Delete parameter
stepping_through_sigtramp.
* thread.c (load_infrun_state, save_infrun_state): Update.
2004-08-25 15:18:05 +00:00
Andrew Cagney
8fb3e588da
2004-08-25 Andrew Cagney <cagney@gnu.org>
...
* infrun.c: Re-indent. Move expression operators to the beginning
of the line. Remove long disabled #if 0 code.
2004-08-25 14:47:07 +00:00
Alan Modra
f855931bbd
* elf32-i386.c (elf_i386_relocate_section): Zero section contents
...
for R_386_32 and R_386_PC32 relocs against symbols defined in
discarded sections.
2004-08-25 14:35:58 +00:00
Nick Clifton
b18c562e39
Apply Dmitry Diky's patches to add relaxation to msp430.
2004-08-25 12:54:15 +00:00
H.J. Lu
61f5d0545d
2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
...
* ldlang.c (wildcardp): Defined as a macro with strpbrk.
2004-08-25 06:11:43 +00:00
Michael Chastain
7c27f15bf3
2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.mi/basics.c: Add copyright notice.
* gdb.mi/var-cmd.c: Add copyright notice.
2004-08-25 00:54:53 +00:00
Alan Modra
9028eebd04
daily update
2004-08-25 00:00:06 +00:00
gdbadmin
fd9a4f7bb0
*** empty log message ***
2004-08-25 00:00:02 +00:00
Andrew Cagney
49c547686f
2004-08-24 Andrew Cagney <cagney@gnu.org>
...
* doublest.h (floatformat_ieee_quad): Rename
floatformat_ia64_quad.
* doublest.c (floatformat_ieee_quad): Rename
floatformat_ia64_quad.
(_initialize_doublest): Update.
2004-08-24 22:49:27 +00:00
Jim Blandy
87808bd699
* dwarf2expr.h (struct dwarf_expr_context): New members
...
'num_pieces' and 'pieces', for returning the result of an
expression that uses DW_OP_piece.
(struct dwarf_expr_piece): New struct type.
* dwarf2expr.c (new_dwarf_expr_context): Initialize num_pieces and
pieces.
(free_dwarf_expr_context): Free pieces, if any.
(add_piece): New function.
(execute_stack_op): Implement DW_OP_piece.
* dwarf2loc.c (dwarf2_evaluate_loc_desc): If the result of the
expression is a list of pieces, print an error message.
(dwarf2_loc_desc_needs_frame): If the expression yields
pieces, and any piece is in a register, then we need a frame.
2004-08-24 21:01:49 +00:00
Andrew Cagney
8d2c00cb73
2004-08-24 Andrew Cagney <cagney@gnu.org>
...
* gdbint.texinfo (Target Architecture Definition): Add missing
comma.
2004-08-24 19:58:24 +00:00
Jim Blandy
5ca2e3275d
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of
...
the stack until we've decided what sort of result the evaluation
has produced. Use separate variables, with more specific names.
2004-08-24 17:31:49 +00:00
Nick Clifton
8f94ae4da3
* as.c (std_shortopts): Allow -g to take an optional argument.
...
(parse_args): Pass any switch starting with -g on to the backend for parsing.
2004-08-24 11:58:27 +00:00
Nick Clifton
5069eab2fd
altmacro.[sd]: Split out part from here...
...
altmac2.[sd]: ... to here.
excl.s: New.
gas.exp: Suppress both tests for a few targets known to break. Run the new
(split out) test only when the target doesn't use '!' as a comment character.
2004-08-24 11:37:54 +00:00
Nick Clifton
af705ba8f0
(m32r_elf_relocate_section): Handle R_M32R_SDA16_RELA in the same way as
...
R_M32R_SDA16.
2004-08-24 08:21:25 +00:00
gdbadmin
e155246bc4
*** empty log message ***
2004-08-24 00:00:32 +00:00
Alan Modra
05b51840d8
daily update
2004-08-24 00:00:07 +00:00
Jim Blandy
ccfd2f31db
Add missing ChangeLog entry.
2004-08-23 23:50:35 +00:00
Michael Chastain
fffc87aef7
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/gdb.exp: Remove signed_keyword_not_used.
* lib/compiler.c: Likewise.
* lib/compiler.cc: Likewise.
2004-08-23 13:43:15 +00:00
Michael Chastain
d782e0bfb0
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/whatis.c: Remove conditional disabling of "signed".
* gdb.base/whatis.exp: Remove signed_keyword_not_used.
2004-08-23 13:04:03 +00:00
Michael Chastain
96033e836e
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/whatis.c: Add copyright notice.
2004-08-23 12:28:23 +00:00
Richard Earnshaw
2afeb6b854
* armnbsd-tdep.c (arm_nbsd_arm_be_breakpoint): Define.
...
(arm_nbsd_thumb_[lb]e_breakpoint): Define.
(arm_netbsd_init_abi_common): Register them.
2004-08-23 10:28:58 +00:00
Alan Modra
d2a7154afd
daily update
2004-08-23 00:00:07 +00:00
gdbadmin
fa5f0ccdd7
*** empty log message ***
2004-08-23 00:00:05 +00:00
Mark Kettenis
fda820a6fa
* config/vax/vax.mh (NATDEPFILES): Add vax-nat.c.
2004-08-22 20:57:06 +00:00
Mark Kettenis
1c5bf4196b
* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Use
...
safe_frame_unwind_memory instead of target_read_memory.
2004-08-22 20:34:55 +00:00
Mark Kettenis
8cbba7c881
* infptrace.c: Remove #ifdef'ed out inclusion of gdb_stat.h.
...
Reorder includes.
(fetch_register, store_register): Remove prototypes.
(child_resume): Reorganize code and comments such that it is
grouped a bit more logically.
(attach): Explicitly compare errno against 0.
(detach): Likewise. Use perror_with_name instead of
print_sys_errmsg.
* Makefile.in (infptrace.o): Update dependencies.
2004-08-22 19:03:41 +00:00
Mark Kettenis
c5fa424560
* ia64-linux-nat.c: Update copyright year.
...
(fetch_debug_register, store_debug_register)
(ia64_linux_stopped_by_watchpoint): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* config/ia64/nm-linux.h: Update copyright year.
(PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines.
2004-08-22 16:32:35 +00:00
Mark Kettenis
387c058c87
* amd64-linux-tdep.c (amd64_linux_sigtramp_start): Change argument
...
from CORE_ADDR to struct frame_info *. Use
safe_frame_unwind_memory instead of deprecated_read_memory_nobpt.
(amd64_linux_sigtramp_p): Adjust for changed signature of
and64_linux_sigtramp_start
2004-08-22 16:27:30 +00:00
Mark Kettenis
277215a6d4
* gdb_ptrace.h: GNU/Linux.
2004-08-22 15:41:47 +00:00
Mark Kettenis
25f6178efd
* config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
...
Remove defines.
2004-08-22 15:38:37 +00:00
Mark Kettenis
652fc1376f
* infptrace.c: Include "gdb_assert.h".
...
(PTRACE_XFER_TYPE): Remove define.
(offsetof): Only define if U_REGS_OFFSET isn't defined.
(fetch_register, store_register): Rewrite to use PTRACE_TYPE_RET.
Tweak comment.
(fetch_inferior_registers, store_inferior_registers): Remove
redundant culry braces. Tweak comment. s/regno/regnum.
* Makefile.in (infptrace.o): Update dependencies.
2004-08-22 15:35:02 +00:00
Mark Kettenis
5885ab493f
* configure.in: Change test for return type of ptrace to default
...
to `long' instead of `int'.
* configure: Regenerate.
2004-08-22 14:18:02 +00:00
gdbadmin
651f22f717
*** empty log message ***
2004-08-22 00:00:06 +00:00
Alan Modra
8f52ca94af
daily update
2004-08-22 00:00:05 +00:00
Hans-Peter Nilsson
f4faf27b48
* ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d,
...
ld-cris/expdyn7.d, ld-cris/gotplt2.d, ld-cris/gotplt3.d,
ld-cris/libdso-1.d, ld-cris/libdso-2.d, ld-cris/locref1.d,
ld-cris/nodyn4.d, ld-cris/nodyn5.d: Adjust for reordered
sections.
2004-08-21 12:51:41 +00:00
Mark Kettenis
6b95110c7d
* config/alpha/alpha-linux.mh (LOADLIBES): New variable.
2004-08-21 12:44:05 +00:00
Mark Kettenis
bcb3dc3d55
* configure.in: Check for ttrace function.
...
* configure, config.in: Regenerate.
2004-08-21 12:05:52 +00:00
Michael Chastain
e7dc800a0c
2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
...
* (Using the Testsuite): build != host is supported,
but some test scripts do not support build != host.
2004-08-21 09:37:20 +00:00
Mark Kettenis
11003ae340
* gdb_ptrace.h: New file.
...
* infptrace.c: Include "gdb_ptrace.h" instead of <ptrace.h> or
<sys/ptrace.h>.
(PT_READ_I, PT_READ_D, PT_READ_U, PT_WRITE_I, PT_WRITE_D)
(PT_WRITE_U, PT_CONTINUE, PT_STEP, PT_KILL): Remove defines.
(attach): Don't define PT_ATTACH.
(detach): Don't define PT_DETACH.
* Makefile.in (gdb_ptrace_h): New variable.
(infptrace.o): Update dependencies.
2004-08-21 08:56:38 +00:00