binutils-gdb.git
21 years agodaily update
Alan Modra [Thu, 3 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Thu, 3 Jul 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * NEWS: Move "set logging" entry into GDB 6.0 section.
Daniel Jacobowitz [Wed, 2 Jul 2003 20:51:35 +0000 (20:51 +0000)]
* NEWS: Move "set logging" entry into GDB 6.0 section.

21 years ago* s390-tdep.c (struct frame_extra_info): new member:
Jim Blandy [Wed, 2 Jul 2003 19:20:55 +0000 (19:20 +0000)]
* s390-tdep.c (struct frame_extra_info): new member:
'stack_bought_valid'.
(s390_get_frame_info): Set fextra_info->stack_bought_valid if we
initialize fextra_info->stack_bought.
(s390_frameless_function_invocation): Don't trust the value of
fextra_info_ptr->stack_bought unless
fextra_info->stack_bought_valid is set.

21 years agoNew S390 prologue analyzer.
Jim Blandy [Wed, 2 Jul 2003 19:05:56 +0000 (19:05 +0000)]
New S390 prologue analyzer.
* s390-tdep.c (struct prologue_value, enum pv_boolean): New types.
(pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
pv_constant_last, pv_add, pv_add_constant, pv_subtract,
pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref,
compute_x_addr, s390_on_stack, s390_store,
s390_get_signal_frame_info): New functions.
(S390_NUM_SPILL_SLOTS): New macro.
(s390_get_frame_info): Rewritten.
(is_arg_reg): Deleted.

Break out the decoding of S/390 instructions into separate
functions, to make it more legible, and easier to check
against the spec.
* s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse,
is_rx, is_rxe): New functions.
(op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras,
op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi,
op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st,
op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New
enums for opcode values.  (Is this an improvement?)

21 years ago2003-06-24 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 2 Jul 2003 19:04:58 +0000 (19:04 +0000)]
2003-06-24  Michael Snyder  <msnyder@redhat.com>

* sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
* compile.c (sim_resume): Use the above to return stop signal.

21 years ago2003-07-02 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 2 Jul 2003 17:20:24 +0000 (17:20 +0000)]
2003-07-02  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.c: Revert change committed as part of trad-frame code
below.

21 years ago * breakpoint.c (insert_catchpoint): Make static.
Daniel Jacobowitz [Wed, 2 Jul 2003 16:24:00 +0000 (16:24 +0000)]
* breakpoint.c (insert_catchpoint): Make static.

21 years ago * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte
Andreas Jaeger [Wed, 2 Jul 2003 07:45:57 +0000 (07:45 +0000)]
* x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte
before the call.
Set %rax only to number of SSE registers used.

21 years ago * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't allow _savef* and
Alan Modra [Wed, 2 Jul 2003 07:41:51 +0000 (07:41 +0000)]
* elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't allow _savef* and
_restf* to be satisfied by shared libs, and always force them local.
(toc_adjusting_stub_needed): Avoid scanning linker created sections.
Correct test for "bl".
(ppc64_elf_relocate_section <R_PPC64_TLS>): Correct test for
primary opcode 31.

21 years ago * gas/mips/set-arch.d: Fix GPR names and show raw insns.
Thiemo Seufer [Wed, 2 Jul 2003 00:40:12 +0000 (00:40 +0000)]
* gas/mips/set-arch.d: Fix GPR names and show raw insns.

21 years agodaily update
Alan Modra [Wed, 2 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 2 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * ia64-tdep.c (ia64_push_dummy_call): Define as combination of
Andreas Schwab [Tue, 1 Jul 2003 22:32:36 +0000 (22:32 +0000)]
* ia64-tdep.c (ia64_push_dummy_call): Define as combination of
former ia64_push_arguments and ia64_push_return_address, and use
regcache functions instead of read/write_register.
(ia64_gdbarch_init): Set push_dummy_call instead of
deprecated_push_arguments and deprecated_push_return_address.

21 years agomerge from gcc
DJ Delorie [Tue, 1 Jul 2003 21:17:41 +0000 (21:17 +0000)]
merge from gcc

21 years ago * readelf.c (dynamic_segment_ia64_val): Print address and newline
Jakub Jelinek [Tue, 1 Jul 2003 15:54:15 +0000 (15:54 +0000)]
* readelf.c (dynamic_segment_ia64_val): Print address and newline
for sections by default.  Comment fix.

21 years ago * s390-dis.c (s390_extract_operand): Add support for long displacements.
Martin Schwidefsky [Tue, 1 Jul 2003 14:47:58 +0000 (14:47 +0000)]
    * s390-dis.c (s390_extract_operand): Add support for long displacements.
        * s390-mkopc.c (s390_opcode_cpu_val): Add support for cpu type z990.
        * s390-opc.c (D20_20): Add define for 20 bit displacements.
        (INSTR_RRF_R0RR, INSTR_RSL_R0RD, INSTR_RSY_RRRD, INSTR_RSY_RURD,
        INSTR_RSY_AARD, INSTR_RXY_RRRD, INSTR_RXY_FRRD, INSTR_SIY_URD): Add
        new instruction formats.
        (MASK_RRF_R0RR, MASK_RSL_R0RD, MASK_RSY_RRRD, MASK_RSY_RURD,
        MASK_RSY_AARD, MASK_RXY_RRRD, MASK_RXY_FRRD, MASK_SIY_URD): Likewise.
        (s390_opformats): Likewise.
        * s390-opc.txt: Add new instructions for cpu type z990. Add missing
        hfp instructions. Add missing instructions pgin, pgout and xsch.

21 years ago * s390.h (s390_opcode_cpu_val): Add enum for cpu type z990.
Martin Schwidefsky [Tue, 1 Jul 2003 14:46:57 +0000 (14:46 +0000)]
    * s390.h (s390_opcode_cpu_val): Add enum for cpu type z990.

21 years ago * s390.h (elf_s390_reloc_type): Add long displacement relocations
Martin Schwidefsky [Tue, 1 Jul 2003 14:46:26 +0000 (14:46 +0000)]
    * s390.h (elf_s390_reloc_type): Add long displacement relocations
        R_390_20, R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20.

21 years ago * config/tc-s390.c (md_parse_option): Add cpu type z990.
Martin Schwidefsky [Tue, 1 Jul 2003 14:45:37 +0000 (14:45 +0000)]
    * config/tc-s390.c (md_parse_option): Add cpu type z990.
        (md_begin): Add minimal cpu type logic for instructions with different
        binary format depending on the cpu.
        (md_assemble): Remove check for minimal cpu.
        (s390_insert_operand): Add support for long displacements.
        (md_gather_operands): Likewise.
        (tc_s390_fix_adjustable): Likewise.
        (tc_s390_force_relocation): Likewise.
        (md_apply_fix3): Likewise.

21 years ago * elf32-s390.c (s390_elf_ldisp_reloc): New prototype.
Martin Schwidefsky [Tue, 1 Jul 2003 14:44:59 +0000 (14:44 +0000)]
    * elf32-s390.c (s390_elf_ldisp_reloc): New prototype.
        (s390_tls_reloc): New function.
        (elf_howto_table): Add long displacement relocations R_390_20,
        R_390_GOT20, R_390_GOTPLT20 and R_390_TLS_GOTIE20.
        (elf_s390_reloc_type_lookup): Likewise.
        (elf_s390_check_relocs): Likewise.
        (elf_s390_gc_sweep_hook): Likewise.
        (elf_s390_relocate_section): Likewise.
        * elf64-s390.c: Same changes as for elf32-s390.c.
        * reloc.c: Add long displacement relocations BFD_RELOC_390_20,
        BFD_RELOC_390_GOT20, BFD_RELOC_390_GOTPLT20 and
        BFD_RELOC_390_TLS_GOTIE20.
        * bfd-in2.h: Regenerate.
        * libbfd.h: Likewise.

21 years ago * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte
Andreas Jaeger [Tue, 1 Jul 2003 13:56:13 +0000 (13:56 +0000)]
* x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte
before the call.
Set %rax only to number of SSE registers used.

21 years ago2003-07-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 1 Jul 2003 13:25:19 +0000 (13:25 +0000)]
2003-07-01  Andrew Cagney  <cagney@redhat.com>

* trad-frame.h: Update comments, a -1 .addr is reserved.
(trad_frame_value_p, trad_frame_addr_p): Declare.
(trad_frame_reg_p): Declare.
(trad_frame_set_value): Rename trad_frame_register_value.
(trad_frame_set_unknown): Declare.
* trad-frame.c (trad_frame_realreg_p): New function.
(trad_frame_addr_p, trad_frame_value_p): New function.
(trad_frame_set_unknown): New function.
(trad_frame_alloc_saved_regs): Initialize .addr to -1, not zero.
(trad_frame_prev_register): Use trad_frame_realreg_p,
trad_frame_addr_p and trad_frame_value_p.
(trad_frame_set_value): Rename trad_frame_register_value.
* d10v-tdep.c (d10v_frame_unwind_cache): Use trad_frame_addr_p
and trad_frame_set_value.

21 years agomerge from gcc
DJ Delorie [Tue, 1 Jul 2003 01:12:46 +0000 (01:12 +0000)]
merge from gcc

21 years agoPatch from IBM (authors unspecified, probably Ulrich Weigand and
Jim Blandy [Tue, 1 Jul 2003 00:05:37 +0000 (00:05 +0000)]
Patch from IBM (authors unspecified, probably Ulrich Weigand and
Gerhard Tonn) for argument passing on the S/390 and S/390x:
* s390-tdep.c (S390_STACK_FRAME_OVERHEAD): This is always space
for 16 registers, and then 32 more bytes.
(S390_STACK_PARAMETER_ALIGNMENT, S390_NUM_FP_PARAMETER_REGISTERS):
New macros.
(is_double_arg): The s390x doesn't handle DOUBLE_ARGS specially.
Move up in the file, since it's now used by is_simple_arg.
(is_simple_arg): Don't assume registers are four bytes long.
Exclude all double arguments.  Extended floats are not simple
args.
(is_power_of_two): New function.
(pass_by_copy_ref): Call is_power_of_two, and check that the
length fits in a register, rather than listing all the acceptable
sizes.  Extended floats are not passed by reference.
(s390_push_arguments): Don't assume registers are four bytes long.
Reserve an argument register to point to the buffer for structures
returned by value.  Use S390_NUM_FP_PARAMETER_REGISTERS and
S390_STACK_FRAME_OVERHEAD.

21 years ago*** empty log message ***
gdbadmin [Tue, 1 Jul 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 1 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * xtensa-config.h (XCHAL_HAVE_CONST16, XCHAL_HAVE_ABS,
Bob Wilson [Mon, 30 Jun 2003 21:56:32 +0000 (21:56 +0000)]
    * xtensa-config.h (XCHAL_HAVE_CONST16, XCHAL_HAVE_ABS,
        XCHAL_HAVE_ADDX, XCHAL_HAVE_L32R): Define.

21 years ago2003-06-30 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Mon, 30 Jun 2003 21:54:19 +0000 (21:54 +0000)]
2003-06-30  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (s_mipsset): Implement -march= handling
        differently.

21 years ago * utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to
Andreas Schwab [Mon, 30 Jun 2003 21:40:05 +0000 (21:40 +0000)]
* utils.c (internal_vproblem): Use xvasprintf, not xasprintf, to
format error message.

21 years ago * sparc-tdep.c (stop_after_trap): Remove declaration, not used.
Joel Brobecker [Mon, 30 Jun 2003 16:55:31 +0000 (16:55 +0000)]
    * sparc-tdep.c (stop_after_trap): Remove declaration, not used.

21 years agoFix indentation of previous commit.
David Carlton [Mon, 30 Jun 2003 16:23:29 +0000 (16:23 +0000)]
Fix indentation of previous commit.

21 years ago2003-06-30 David Carlton <carlton@kealia.com>
David Carlton [Mon, 30 Jun 2003 16:21:16 +0000 (16:21 +0000)]
2003-06-30  David Carlton  <carlton@kealia.com>

Band-aid for PR c++/1245.
* Makefile.in (cp-support.o): Depend on complaints_h.
* cp-support.c: Include complaints.h.  Add declaration for
find_last_component.
(cp_find_first_component): Separate code into
cp_find_first_component_aux.
(cp_find_first_component_aux): Call demangled_name_complaint.
(demangled_name_complaint): New.

2003-06-30  David Carlton  <carlton@kealia.com>

* gdb.c++/maint.exp (test_invalid_name): New.
(test_first_component): Add tests for invalid names.

21 years ago2003-06-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 30 Jun 2003 15:50:52 +0000 (15:50 +0000)]
2003-06-30  Andrew Cagney  <cagney@redhat.com>

* remote.c (remote_write_bytes): Explicitly compute and then use
the payload size.  Update comments to reflect.  Fixes problem of
GDB not sending small packets as found by Fred Fish.

21 years ago2003-06-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 30 Jun 2003 15:03:07 +0000 (15:03 +0000)]
2003-06-30  Andrew Cagney  <cagney@redhat.com>

* remote.c (remote_async_wait): Fix -Wformat problem.

21 years ago * config/tc-mips.c: Convert to ISO C90 prototypes. Remove unnecessary
Thiemo Seufer [Mon, 30 Jun 2003 12:44:25 +0000 (12:44 +0000)]
* config/tc-mips.c: Convert to ISO C90 prototypes. Remove unnecessary
prototypes and casts. Replace PTR with void *. Reformat.
* config/tc-mips.h: Likewise.

21 years ago * config/tc-ia64.c (note_register_values): Warning fix.
Alan Modra [Mon, 30 Jun 2003 04:10:48 +0000 (04:10 +0000)]
* config/tc-ia64.c (note_register_values): Warning fix.
* config/tc-mips.c (append_insn): Likewise.

21 years ago * cpu-ia64-opc.c (ext_imms_scaled): Don't sign extend using shifts.
Alan Modra [Mon, 30 Jun 2003 04:09:27 +0000 (04:09 +0000)]
* cpu-ia64-opc.c (ext_imms_scaled): Don't sign extend using shifts.
(ins_imms, ins_immsm1u4): Likewise.  Warning fix.

21 years ago2003-06-29 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 30 Jun 2003 00:12:09 +0000 (00:12 +0000)]
2003-06-29  Michael Chastain  <mec@shout.net>

* gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
output of '<VTT for class>' for virtual base classes.

21 years ago*** empty log message ***
gdbadmin [Mon, 30 Jun 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Mon, 30 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-29 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 29 Jun 2003 21:17:22 +0000 (21:17 +0000)]
2003-06-29  Andrew Cagney  <cagney@redhat.com>

* remote.c (remote_wait): Call error, and not warning, when the
packet is corrupt.
(remote_async_wait): Ditto.

21 years ago * sparc-tdep.c (sparc_y_regnum): Make external again.
Daniel Jacobowitz [Sun, 29 Jun 2003 21:15:24 +0000 (21:15 +0000)]
* sparc-tdep.c (sparc_y_regnum): Make external again.

21 years ago * gdb.base/completion.exp: Tab-complete "complet" instead of
Daniel Jacobowitz [Sun, 29 Jun 2003 20:32:23 +0000 (20:32 +0000)]
* gdb.base/completion.exp: Tab-complete "complet" instead of
"compl".
* gdb.base/complex.exp, gdb.base/complex.c: New files.

21 years ago * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
Daniel Jacobowitz [Sun, 29 Jun 2003 20:01:59 +0000 (20:01 +0000)]
* gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
* gdb.base/volatile.exp: Likewise.

21 years ago * ld-mips-elf/elf-rel-got-n64-linux.d: New file.
Thiemo Seufer [Sun, 29 Jun 2003 19:41:33 +0000 (19:41 +0000)]
* ld-mips-elf/elf-rel-got-n64-linux.d: New file.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: New file.
* ld-mips-elf/mips-elf.exp: Use the new files for Linux.

21 years ago * cli/cli-logging.c (pop_output_files): Add void to function
Daniel Jacobowitz [Sun, 29 Jun 2003 19:41:14 +0000 (19:41 +0000)]
* cli/cli-logging.c (pop_output_files): Add void to function
definition.

21 years ago * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
Daniel Jacobowitz [Sun, 29 Jun 2003 19:29:42 +0000 (19:29 +0000)]
* gdb.threads/print-threads.exp (test_all_threads): Add kfail for
gdb/1265.

21 years ago * xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes.
Andreas Jaeger [Sun, 29 Jun 2003 13:52:02 +0000 (13:52 +0000)]
* xcoff.h (struct __rtinit ): Convert to ISO C90 prototypes.

* ecoff.h: Convert to ISO C90 prototypes.  Replace PTR by void *.

21 years ago * mmix.h: Convert to ISO C90 prototypes.
Andreas Jaeger [Sun, 29 Jun 2003 13:51:25 +0000 (13:51 +0000)]
* mmix.h: Convert to ISO C90 prototypes.
* mips.h: Likewise.

* reloc-macros.h (START_RELOC_NUMBERS): Convert to ISO C90
prototype.
(RELOC_NUMBER): Remove !__STDC__ code.

21 years ago2003-06-29 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 29 Jun 2003 13:27:26 +0000 (13:27 +0000)]
2003-06-29  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_register_unwind): Use unsigned char when dumping
the buffer contents.

21 years agoConvert to C90 and a few tweaks.
Alan Modra [Sun, 29 Jun 2003 10:06:40 +0000 (10:06 +0000)]
Convert to C90 and a few tweaks.

21 years agoAdd forgotten ChangeLog snippet for last elf64-x86-64.c patch.
Andreas Jaeger [Sun, 29 Jun 2003 10:02:24 +0000 (10:02 +0000)]
Add forgotten ChangeLog snippet for last elf64-x86-64.c patch.

21 years ago * elf64-x86-64.c: Convert to ISO C90 prototypes, remove
Andreas Jaeger [Sun, 29 Jun 2003 05:57:36 +0000 (05:57 +0000)]
* elf64-x86-64.c: Convert to ISO C90 prototypes, remove
unnecessary prototypes.  Replace PTR with void *.

21 years ago * configure.in: Check whether we need to prototype strerror.
Daniel Jacobowitz [Sun, 29 Jun 2003 04:01:39 +0000 (04:01 +0000)]
* configure.in: Check whether we need to prototype strerror.
* server.h: Optionally prototype strerror.
* gdbreplay.c (perror_with_name): Use strerror.
* linux-low.c (linux_attach_lwp): Use strerror.
* utils.c (perror_with_name): Use strerror.
* config.in, configure: Regenerated.

21 years agodaily update
Alan Modra [Sun, 29 Jun 2003 00:00:37 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sun, 29 Jun 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * binutils-all/objcopy.exp: Initialise $test_prog to
Danny Smith [Sat, 28 Jun 2003 23:27:42 +0000 (23:27 +0000)]
* binutils-all/objcopy.exp: Initialise $test_prog to
testprog.exe on mingw targeted systems too.

21 years ago * ld-mips-elf/mips-elf.exp: Use is_elf_format.
Thiemo Seufer [Sat, 28 Jun 2003 22:14:59 +0000 (22:14 +0000)]
* ld-mips-elf/mips-elf.exp: Use is_elf_format.

21 years ago * elfxx-mips.c: Allow lazy binding for R_MIPS_JALR.
Thiemo Seufer [Sat, 28 Jun 2003 22:13:37 +0000 (22:13 +0000)]
* elfxx-mips.c: Allow lazy binding for R_MIPS_JALR.

21 years ago * ld-mips-elf/mips-elf-flags.exp: Use -melf32bsmip for IRIX6.
Thiemo Seufer [Sat, 28 Jun 2003 22:12:26 +0000 (22:12 +0000)]
* ld-mips-elf/mips-elf-flags.exp: Use -melf32bsmip for IRIX6.

21 years ago * linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by
Daniel Jacobowitz [Sat, 28 Jun 2003 18:41:56 +0000 (18:41 +0000)]
* linux-sh-low.c (sh_regmap): Fix FP register offsets, reported by
SUGIOKA Toshinobu <sugioka@itonet.co.jp>.

21 years ago * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
Daniel Jacobowitz [Sat, 28 Jun 2003 16:36:42 +0000 (16:36 +0000)]
* gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
initial line count of 'captured_main' from 26 to 32.
(test_with_self): Allow xmalloc call to be interleaved with the
preceding two lines.

21 years ago./
Daniel Jacobowitz [Sat, 28 Jun 2003 16:19:07 +0000 (16:19 +0000)]
./
* cli/cli-logging.c: New file.
* cli-out.c (struct ui_out_data): Add original_stream.
(cli_redirect): New function.
(cli_ui_out_impl): Add cli_redirect.
(cli_out_new): Initialize original_stream.
* ui-out.c (default_ui_out_impl): Add NULL for redirect member.
(uo_redirect, ui_out_redirect): New.
* ui-out.h (struct ui_out_impl): Add redirect member.
(redirect_ftype): New.
(ui_out_redirect): Add prototype.
* Makefile.in: Add rules for cli-logging.c.
* NEWS: Mention "set logging".
mi/
* mi-out.c (mi_ui_out_impl): Add NULL for redirect member.
tui/
* tui-out.c (tui_ui_out_impl): Add NULL for redirect member.
doc/
* gdb.texinfo (Logging output): New chapter.

21 years agoConvert to C90
Alan Modra [Sat, 28 Jun 2003 05:28:54 +0000 (05:28 +0000)]
Convert to C90

21 years ago * rcparse.y (res_text_field): New res_id variable.
Danny Smith [Sat, 28 Jun 2003 02:37:43 +0000 (02:37 +0000)]
* rcparse.y (res_text_field): New res_id variable.
(res_null_text): New static const struct res_id object,
with empty unicode name field.
(control): Pop parsing of optresidc up one level. Set
res_text_field to $2 except for controls which do not accept
a text field.  Set res_text_field to res_null_text for the
special cases (viz. COMBOBOX, EDITTEXT, LISTBOX, SCROLLBAR).
(control_params): Adjust to use res_text_field rather
than optresidc.
(COMBOBOX): Add comment about discrepency between documented
vs. observed default style.
* resrc.c (define_control): Make first param const.
* windres.h (define_control): Adjust prototype.

testsuite:

* binutils-all/windres/checkbox.rc: New file.
* binutils-all/windres/checkbox.rsd: New file.
* binutils-all/windres/combobox.rc: New file.
* binutils-all/windres/combobox.rsd: New file.
* binutils-all/windres/edittext.rc: New file.
* binutils-all/windres/edittext.rsd: New file.
* binutils-all/windres/listbox.rc: New file.
* binutils-all/windres/listbox.rsd: New file.
* binutils-all/windres/scrollbar.rc: New file.
* binutils-all/windres/scrollbar.rsd: New file.

21 years ago2003-06-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 28 Jun 2003 01:34:47 +0000 (01:34 +0000)]
2003-06-27  Michael Snyder  <msnyder@redhat.com>

        * gencode.c (op movsxy_tab): Fix up some copy/paste errors
        in name: s/REG_x/REG_y/.

21 years ago*** empty log message ***
gdbadmin [Sat, 28 Jun 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 28 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 27 Jun 2003 21:18:42 +0000 (21:18 +0000)]
2003-06-27  Michael Snyder  <msnyder@redhat.com>

* gencode.c (op tab): Move misplaced semicolon.

21 years ago * configure.in: Clean up config-lang.in handling. Delete
Nathanael Nerode [Fri, 27 Jun 2003 17:34:33 +0000 (17:34 +0000)]
* configure.in: Clean up config-lang.in handling.  Delete
useless assignment to "subdirs".
* configure: Regenerate.

21 years ago2003-06-27 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 27 Jun 2003 17:05:58 +0000 (17:05 +0000)]
2003-06-27  Elena Zannoni  <ezannoni@redhat.com>

* config/powerpc/ppc64-linux.mh (NATDEPFILES): Add linux-nat.o.

21 years ago2003-06-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 27 Jun 2003 16:15:09 +0000 (16:15 +0000)]
2003-06-27  Andrew Cagney  <cagney@redhat.com>

* m68hc11-tdep.c (m68hc11_call_dummy_address): Delete function.
(m68hc11_gdbarch_init): Do not set call_dummy_address.
* avr-tdep.c (avr_call_dummy_address): Delete function.
(avr_gdbarch_init): Do not set call_dummy_address.

21 years ago2003-06-27 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 27 Jun 2003 13:11:17 +0000 (13:11 +0000)]
2003-06-27  Elena Zannoni  <ezannoni@redhat.com>

        * symfile.c (syms_from_objfile): Move variables to inner block.
        Move the checks for the non-mainline case a bit earlier to avoid
        doing some useless computations.

21 years ago2003-06-27 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 27 Jun 2003 13:09:38 +0000 (13:09 +0000)]
2003-06-27  Elena Zannoni  <ezannoni@redhat.com>

        * dwarfread.c (decode_modified_type): Gag new compiler warning.

21 years agoCope with NUL seperated directives. Fix reporting of unparseable directives.
Nick Clifton [Fri, 27 Jun 2003 08:10:57 +0000 (08:10 +0000)]
Cope with NUL seperated directives.  Fix reporting of unparseable directives.

21 years agoFix --add-gnu-debuglink
Nick Clifton [Fri, 27 Jun 2003 08:01:28 +0000 (08:01 +0000)]
Fix --add-gnu-debuglink

21 years ago * elfxx-mips.c: Revert .got alignment to 2**4.
Thiemo Seufer [Fri, 27 Jun 2003 07:32:33 +0000 (07:32 +0000)]
* elfxx-mips.c: Revert .got alignment to 2**4.

21 years ago * elf32-mips.c: Fix addend for _gp_disp special symbol.
Thiemo Seufer [Fri, 27 Jun 2003 07:31:27 +0000 (07:31 +0000)]
* elf32-mips.c: Fix addend for _gp_disp special symbol.

21 years agoFix misdirected ChangeLog entry.
Thiemo Seufer [Fri, 27 Jun 2003 01:18:23 +0000 (01:18 +0000)]
Fix misdirected ChangeLog entry.

21 years ago * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove non-default
Thiemo Seufer [Fri, 27 Jun 2003 01:16:30 +0000 (01:16 +0000)]
* elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove non-default
relocation header setup.
* binutils-all/readelf.ss-tmips: Adjust symbol indices.

21 years ago * emultempl/aix.em: Convert to C90, remove unnecessary prototypes
Alan Modra [Fri, 27 Jun 2003 00:38:25 +0000 (00:38 +0000)]
* emultempl/aix.em: Convert to C90, remove unnecessary prototypes
and casts.  Replace PTR with void *.  Formatting.
* emultempl/alphaelf.em: Likewise
* emultempl/armcoff.em: Likewise
* emultempl/armelf.em: Likewise
* emultempl/armelf_oabi.em: Likewise
* emultempl/beos.em: Likewise
* emultempl/elf32.em: Likewise
* emultempl/generic.em: Likewise
* emultempl/gld960.em: Likewise
* emultempl/gld960c.em: Likewise
* emultempl/hppaelf.em: Likewise
* emultempl/linux.em: Likewise
* emultempl/lnk960.em: Likewise
* emultempl/m68hc1xelf.em: Likewise
* emultempl/m68kcoff.em: Likewise
* emultempl/m68kelf.em: Likewise
* emultempl/mipsecoff.em: Likewise
* emultempl/mipself.em: Likewise
* emultempl/mmix-elfnmmo.em: Likewise
* emultempl/mmixelf.em: Likewise
* emultempl/mmo.em: Likewise
* emultempl/needrelax.em: Likewise
* emultempl/netbsd.em: Likewise
* emultempl/pe.em: Likewise
* emultempl/sh64elf.em: Likewise
* emultempl/sunos.em: Likewise
* emultempl/ticoff.em: Likewise
* emultempl/vanilla.em: Likewise
* emultempl/xtensaelf.em: Likewise
* Makefile.am: Correct dependencies.
* Makefile.in: Regenerate.

21 years ago*** empty log message ***
gdbadmin [Fri, 27 Jun 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 27 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-26 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 26 Jun 2003 21:20:39 +0000 (21:20 +0000)]
2003-06-26  Elena Zannoni  <ezannoni@redhat.com>

* dwarf2read.c (dwarf2_locate_sections): Ignore empty .eh_frame
sections.

21 years ago * configure.in: Rename 'target_libs' to 'target_libraries'.
Nathanael Nerode [Thu, 26 Jun 2003 20:19:41 +0000 (20:19 +0000)]
* configure.in: Rename 'target_libs' to 'target_libraries'.
Remove useless reference to 'target_libs'.
* configure: Regenerate.

21 years ago2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 26 Jun 2003 19:08:40 +0000 (19:08 +0000)]
2003-06-26  H.J. Lu <hongjiu.lu@intel.com>

* testsuite/demangle-expected: Add more GNU V3 testcases.

21 years ago2003-06-26 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 26 Jun 2003 18:39:47 +0000 (18:39 +0000)]
2003-06-26  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1210.cc,
gdb/testsuite/gdb.c++/pr-1210.exp.

21 years ago2003-06-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 26 Jun 2003 18:09:24 +0000 (18:09 +0000)]
2003-06-26  Andrew Cagney  <cagney@redhat.com>

* config/djgpp/fnchange.lst: Fix 8.3 problem with sim/ppc's
altivec_expression.h and altivec_registers.h.

21 years ago2003-06-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 26 Jun 2003 18:01:58 +0000 (18:01 +0000)]
2003-06-26  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (gdb_print_insn_mips): Only explicitly set
info->mach when MIPS16.  Patch suggested by Fred Fish.

21 years ago2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 26 Jun 2003 17:50:41 +0000 (17:50 +0000)]
2003-06-26  H.J. Lu <hongjiu.lu@intel.com>

* config/tc-i386.c (md_assemble): Declare "exp" before "if".

21 years ago2003-06-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 26 Jun 2003 17:25:25 +0000 (17:25 +0000)]
2003-06-26  Andrew Cagney  <cagney@redhat.com>

* utils.c (internal_vproblem): Print the problem to a reason
buffer and then pass to query.  Make the msg variable more local.

VS: ----------------------------------------------------------------------

21 years ago2003-06-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 26 Jun 2003 17:18:43 +0000 (17:18 +0000)]
2003-06-26  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (FRAME_ARGS_ADDRESS): Add predicate.  Deprecate.
(FRAME_LOCALS_ADDRESS): Add predicate.  Deprecate.
* gdbarch.h, gdbarch.c: Re-generate.
* frame-base.c (default_frame_args_address): Update.  Use
default_frame_base_address when DEPRECATED_FRAME_ARGS_ADDRESS is
not available.
(default_frame_locals_address): Ditto for
DEPRECATED_FRAME_LOCALS_ADDRESS.
* vax-tdep.c (vax_sigtramp_saved_pc): Update.
(vax_frame_num_args): Update.
(vax_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* symtab.h (address_class): Update comments.
* ns32k-tdep.c (ns32k_sigtramp_saved_pc): Update.
* config/sparc/tm-sparc.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
(DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
* config/pa/tm-hppa64.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
(DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
(DEPRECATED_FRAME_LOCALS_ADDRESS): Update.
* config/m68k/tm-delta68.h (DEPRECATED_FRAME_ARGS_ADDRESS): Update.
* alpha-mdebug-tdep.c: Update.
* ada-lang.c (add_symbols_from_enclosing_procs): Update.

21 years ago * x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number
Andreas Jaeger [Thu, 26 Jun 2003 17:08:10 +0000 (17:08 +0000)]
* x86-64-tdep.c (x86_64_push_arguments): Always set %rax to number
of SSE registers so that varargs functions work.  Rework handling
of passing arguments on the stack.
(x86_64_store_return_value): Return double and float values in SSE
register.

21 years ago2003-06-24 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 26 Jun 2003 16:22:59 +0000 (16:22 +0000)]
2003-06-24  Michael Chastain  <mec@shout.net>

* PROBLEMS: Document pr gdb/1091 and pr gdb/1193,
the "constructor breakpoints ignored" bug.

21 years agodelete stray changelog
Andrew Cagney [Thu, 26 Jun 2003 14:50:47 +0000 (14:50 +0000)]
delete stray changelog

21 years agoFix computation of offsets in PT_LOAD sections.
Nick Clifton [Thu, 26 Jun 2003 12:46:17 +0000 (12:46 +0000)]
Fix computation of offsets in PT_LOAD sections.

21 years agoAdd --only-keep-debug switch
Nick Clifton [Thu, 26 Jun 2003 08:14:10 +0000 (08:14 +0000)]
Add --only-keep-debug switch

21 years ago*** empty log message ***
gdbadmin [Thu, 26 Jun 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 26 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update