gdbadmin
469def5365
*** empty log message ***
2003-02-10 00:00:01 +00:00
Alan Modra
e7b938ca5f
* elf64-ppc.c: Rename assorted occurrences of tls_type and similar
...
variables, structure fields or function params to tls_mask or
similar to better reflect usage.
(struct got_entry): Comment.
(struct ppc_link_hash_entry): Expand comment, and renumber TLS_*.
(get_tls_mask): Rename from get_tls_type.
2003-02-09 23:17:57 +00:00
Alan Modra
2d4c37e9e1
daily update
2003-02-09 23:00:15 +00:00
Andrew Cagney
11308a4187
2003-02-09 Andrew Cagney <ac131313@redhat.com>
...
* interps.c (clear_interpreter_hooks): Convert function definition
to ISO C.
Index: mi/ChangeLog
2003-02-09 Andrew Cagney <ac131313@redhat.com>
* mi-interp.c (mi_remove_notify_hooks): Convert function
definition to ISO C.
2003-02-09 10:47:37 +00:00
Alan Modra
ac8b6cc0b0
* ld-powerpc/tlslib.s: Give .__tls_get_addr function type.
...
* ld-powerpc/tlsexe.d: Update for changed handling of (invalid) ld var
in dynamic lib.
* ld-powerpc/tlsexe.g: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexe.t: Likewise.
* ld-powerpc/tlsexetoc.d: Likewise.
* ld-powerpc/tlsexetoc.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsexetoc.t: Likewise.
2003-02-09 04:37:04 +00:00
Alan Modra
e5096e3f2d
* emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code.
2003-02-09 04:36:44 +00:00
Alan Modra
951fd09be7
* elf64-ppc.c (TLS_GD_LD): Don't define..
...
(TLS_GD): ..define this instead and update all uses.
(TLS_TPRELGD): Define.
(ppc64_elf_link_hash_table_create): Tweak initialization of
init_refcount and init_offset.
(ppc64_elf_check_relocs): Add one extra element to t_symndx array.
Mark second slot of GD or LD toc entries.
(get_tls_type): Return an int. Distinguish toc GD and LD entries
from other tls types.
(ppc64_elf_tls_setup): New function, split out from..
(ppc64_elf_tls_optimize): ..here. Don't optimize when symbols are
defined in a dynamic object. Fix LD optimization. Don't set TLS_TPREL
on GD->IE optimization, use TLS_TPRELGD instead. Use get_tls_type
return value to properly decide whether toc GD and LD entries can
optimize away __tls_get_addr call. Check next reloc after DTPMOD64
to determine GD or LD rather than looking at TLS_LD flag. Don't
attempt to adjust got entry tls_type here..
(allocate_dynrelocs): ..instead, adjust got entry tls_type here, and
look for possible merges.
(ppc64_elf_size_dynamic_sections): Adjust local got entries for
optimization.
(ppc64_elf_size_stubs): Tweak __tls_get_addr fudge.
(ppc64_elf_relocate_section): Rename some vars to better reflect usage.
Make use of return value from get_tls_type to properly detect GD and
LD optimizations. Split tlsld/gd hi/ha from lo/ds case. Don't
handle tls_get_addr removal when looking at REL24 relocs, do it when
looking at the previous reloc. Check reloc after DTPMOD64 to determine
GD or LD.
* elf64-ppc.h (ppc64_elf_tls_setup): Declare.
2003-02-09 04:36:23 +00:00
gdbadmin
1bed3d8532
*** empty log message ***
2003-02-09 00:00:32 +00:00
Alan Modra
6538ad7304
daily update
2003-02-08 23:00:06 +00:00
Richard Sandiford
5919d0127e
gas/
...
* config/tc-mips.c (reloc_needs_lo_p): New function.
(fixup_has_matching_lo_p): New function.
(append_insn): Use reloc_needs_lo_p to check whether a relocation
might need a matching %lo(). Reuse the head of mips_hi_fixup_list
if that fixup already has a matching %lo(). Don't call frag_wane here.
(macro): Call frag_wane here if the last unmatched hi was in the
current frag.
(pic_need_relax): New function, split out from...
(md_estimate_size_before_relax): ...here.
(mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test
whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols.
gas/testsuite/
* gas/mips/rel12.[sd], gas/mips/rel13.[sd]: New tests.
* gas/mips/mips.exp: Run them.
2003-02-08 17:05:55 +00:00
Alan Modra
00b28bb047
* elf32-hppa.c (group_sections): Don't share a stub section if
...
stubs are for a large section.
2003-02-08 08:18:41 +00:00
Alan Modra
acc990f282
* elf32-hppa.c (elf32_hppa_size_stubs): Double the size left for
...
stubs if !stubs_always_before_branch.
2003-02-08 01:10:30 +00:00
David Carlton
e1c1c0f6a0
2003-02-07 David Carlton <carlton@math.stanford.edu>
...
* gdb_mbuild.sh: Delete extra shift after parsing '-f'.
2003-02-08 00:39:53 +00:00
gdbadmin
63a300ab1e
*** empty log message ***
2003-02-08 00:00:31 +00:00
Alan Modra
c3eba5102a
daily update
2003-02-07 23:00:04 +00:00
Kevin Buettner
ab5d3da63e
Move ``length'' from struct main_type to struct type.
2003-02-07 21:44:01 +00:00
Dave Anglin
5e1e138d28
* hppaelf.em (group_size): Change default to -1.
2003-02-07 15:55:49 +00:00
Nick Clifton
ef5bdbd1fe
Add duplicate entry for no-pipeline-knowledge. This will prevent the getopt
...
package from thinking that there are any shorter abbreviations for
--no-pipeline-knowledge.
2003-02-07 15:32:22 +00:00
Richard Sandiford
09b8f35ab2
* config/tc-mips.c (my_getSmallExpression): Rework bracket handling.
...
testsuite/
* gas/mips/expr1.[sd]: New test.
* gas/mips/mips.exp: Run it.
2003-02-07 15:06:33 +00:00
Nick Clifton
589e6347e9
Generate an error message if a section cannot be found for a symbol.
2003-02-07 14:27:59 +00:00
Jakub Jelinek
d460ab5823
* genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths
...
which already have it. Avoid duplicates.
2003-02-07 14:21:03 +00:00
Jakub Jelinek
c328dc3fe7
* elf64-alpha.c (elf64_alpha_relax_section): Don't crash if
...
local_got_entries is NULL.
2003-02-07 09:30:33 +00:00
Andrew Cagney
b8a92b826d
2003-02-07 Andrew Cagney <ac131313@redhat.com>
...
* sol-thread.c, hpux-thread.c: Include "gdb_stat.h" instead of
<sys/stat.h>.
* Makefile.in (sol-thread.o, hpux-thread.o): Update dependencies.
2003-02-07 05:33:45 +00:00
Andrew Cagney
2555fe1a4f
2003-02-06 Andrew Cagney <ac131313@redhat.com>
...
* Makefile.in (symm-nat.o): Update dependencies.
(sparc-nat.o, procfs.o, proc-api.o, ppc-linux-nat.o): Ditto.
(lynx-nat.o, ia64-linux-nat.): Ditto.
* symm-nat.c, sparc-nat.c, procfs.c, proc-api.c: Include
"gdb_wait.h" instead of <wait.h> or <sys/wait.h>.
* ppc-linux-nat.c, lynx-nat.c, ia64-linux-nat.c: Ditto.
2003-02-07 04:49:34 +00:00
Andrew Cagney
44270758cd
2003-02-06 Andrew Cagney <ac131313@redhat.com>
...
* Makefile.in (inflow_h): Define.
(procfs.o, inflow.o, procfs.o): Update dependencies.
* inftarg.c (child_stop): Delete extern declaration of
inferior_process_group. Include "inflow.h".
* procfs.c (procfs_stop): Ditto. Include "inflow.h".
* inflow.c (PROCESS_GROUP_TYPE): Move definitions from here ...
* inflow.h (PROCESS_GROUP_TYPE): ... to here. New file.
(our_process_group, inferior_process_group): Extern declarations.
2003-02-07 04:21:34 +00:00
Andrew Cagney
df8f727469
2003-02-06 Andrew Cagney <ac131313@redhat.com>
...
* procfs.c: Include "gdb_assert.h".
2003-02-07 03:23:20 +00:00
Andrew Cagney
5cb316ef79
2003-02-06 Andrew Cagney <ac131313@redhat.com>
...
* linux-proc.c: Include "gdb_stat.h" instead of <sys/stat.h>.
* cp-valprint.c (cp_print_value_fields): Eliminate STREQN.
* jv-typeprint.c (java_type_print_base): Ditto.
* typeprint.c (typedef_print): Eliminate STREQ.
* cli/cli-script.c (define_command, define_command): Ditto.
* main.c (captured_main): Ditto.
* values.c (lookup_internalvar): Ditto.
* utils.c (safe_strerror, parse_escape): Eliminate assignment
within `if' conditional.
* linespec.c (decode_line_2): Ditto.
* cli/cli-dump.c (bfd_openr_with_cleanup): Ditto.
(bfd_openw_with_cleanup): Ditto.
Index: mi/ChangeLog
2003-02-06 Andrew Cagney <ac131313@redhat.com>
* mi-cmd-env.c: Include "gdb_stat.h" instead of <sys/stat.h>.
2003-02-07 00:27:31 +00:00
gdbadmin
e77e4e3ff8
*** empty log message ***
2003-02-07 00:00:01 +00:00
Mark Kettenis
2a28ccea64
* x86-64-tdep.c (x86_64_init_abi): Set extract_return_value to
...
legacy_extract_return_value and store_return_value to
legacy_return_value.
2003-02-06 23:20:52 +00:00
Andreas Schwab
84f97cb641
* elf-eh-frame.c (get_DW_EH_PE_signed): Define.
...
(read_value): Add parameter is_signed, use signed extraction if
the value is signed.
(_bfd_elf_write_section_eh_frame): Pass signed flag of the
encoding to read_value.
2003-02-06 23:01:04 +00:00
Alan Modra
9e1d9e8d68
daily update
2003-02-06 23:00:06 +00:00
Christopher Faylor
295732ea1e
whitespace cleanup
2003-02-06 20:37:55 +00:00
Keith Seitz
91f0e69558
Source Navigator is now on sourceforge...
...
* Makefile.def: Remove "snavigator", "grep", and "db" modules.
* Makefile.tpl: Remove "all-snavigator" and "all-grep".
* Makefile.in: Regenerated.
* configure.in: Remove all traces of snavigator, db, and grep.
* configure: Regenerated.
2003-02-06 20:36:19 +00:00
Christopher Faylor
786b8124ce
* win32-nat.c (get_relocated_section_addrs): New function. Find section load
...
addresses for symbol handling in relocated DLLs.
(solib_symbols_add): Open a bfd and call get_relocated_section_addrs.
2003-02-06 19:51:25 +00:00
Jason Molenda
c56716b08b
2003-02-06 Jason Molenda (jason-cl@molenda.com)
...
* gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
why the code is written that way.
2003-02-06 18:26:20 +00:00
Fred Fish
b871e4ecc4
Checked in as obvious fixes. Also updated FSF copyright year to 2003
...
for remote-e7000.c and infttrace.c.
2003-02-05 Fred Fish <fnf@intrinsity.com>
* remote-e7000.c (e7000_drain_command): Fix precedence problem with
'=' and '!='.
* rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
with '&' and '=='.
(angel_RDI_info): Ditto.
* infttrace.c (threads_continue_all_but_one): Fix precedence problem
with '&' and '!='.
(threads_continue_all_with_signals): Ditto.
2003-02-06 17:58:01 +00:00
Jakub Jelinek
cad91d28c9
* emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
...
* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise.
* emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.
2003-02-06 14:45:04 +00:00
Nick Clifton
2bc8946db8
Commit Sh2E addition
2003-02-06 10:42:33 +00:00
Michael Chastain
070afcf86f
2003-02-05 Michael Chastain <mec@shout.net>
...
* gdb.base/dump.exp: Add missing copyright line.
2003-02-06 06:39:38 +00:00
Jason Molenda
f7ae6d3e1f
typeo
2003-02-06 06:30:18 +00:00
Jason Molenda
5d0331e5f2
2003-02-05 Jason Molenda (jason-cl@molenda.com)
...
* gdb.mi/mi-syn-frames.c (subroutine): Add an extra statement
at the beginning so the breakpoint doesn't get set on the loop.
2003-02-06 06:27:01 +00:00
Andrew Cagney
4a8f6654af
Add missing files from last commit :-(
2003-02-06 05:30:17 +00:00
Michael Chastain
92851186c3
2003-02-05 Michael Chastain <mec@shout.net>
...
* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
output for configurations with gcc 2.95.3.
2003-02-06 02:11:01 +00:00
Michael Chastain
8b8d752579
2003-02-05 Michael Chastain <mec@shout.net>
...
* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
output for configurations with gcc 2.95.3.
2003-02-06 02:04:21 +00:00
Alan Modra
43e9b45076
* gas/i386/x86-64-opcode.s: More tests for x86-64 MOVD opcodes.
...
* gas/i386/x86-64-opcode.d: Adjust to suit.
2003-02-06 01:49:39 +00:00
Alan Modra
db6eb5be2c
* i386-dis.c (dq_mode, Edq): Define.
...
(dis386_twobyte): Correct movd operands.
(OP_E): Handle dq_mode case.
2003-02-06 01:48:41 +00:00
Alan Modra
5f6db75ada
* config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that
...
x@toc+off works.
2003-02-06 01:24:17 +00:00
Andrew Cagney
cbf1e08505
2003-02-05 Keith Seitz <keiths@redhat.com>
...
Andrew Cagney <ac131313@redhat.com>
* gdb.mi/mi-cli.exp: New file.
2003-02-06 01:22:06 +00:00
Andrew Cagney
4389a95abb
2003-02-05 Jim Ingham <jingham@apple.com>
...
Keith Seitz <keiths@redhat.com>
Elena Zannoni <ezannoni@redhat.com>
Andrew Cagney <ac131313@redhat.com>
* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE. Use
xfree and xstrdup when updating interpreter_p. Install the
default interpreter. Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.
2003-02-06 01:19:12 +00:00
gdbadmin
0667fdb0c6
*** empty log message ***
2003-02-06 00:00:32 +00:00