Andrew Cagney
dc6728652c
s/strerror/safe_strerror/
2002-03-27 21:35:35 +00:00
Andreas Schwab
d96429cda9
* event-top.c (command_line_handler): Remove useless if.
2002-03-27 21:20:15 +00:00
Andrew Cagney
9ae8b82c04
* gdbint.texinfo (Releasing GDB): Revise the section `Before the
...
Branch'.
2002-03-27 21:16:33 +00:00
DJ Delorie
38e57a35dc
merge from gcc
2002-03-27 19:17:34 +00:00
Andreas Schwab
3458b54ce7
* config/tc-i386.c (output_jump): Set fx_pcrel_adjust to size of
...
field for pc-relative fixups.
(output_disp): Likewise.
(md_estimate_size_before_relax): Likewise.
(tc_gen_reloc): Subtract fx_pcrel_adjust instead of fx_size for
pc-relative fixups in 64bit mode.
2002-03-27 16:22:04 +00:00
Peter Targett
96f959e587
* MAINTAINERS: Update my email address.
2002-03-27 16:04:12 +00:00
Andreas Jaeger
7e336ba170
* dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright
...
comment.
2002-03-27 14:32:08 +00:00
Alan Modra
6f12f4cad7
* configure.host: Set up for generic hosts first, then tweak as
...
necessary in more specific targets.
(HOSTING_LIBS): Include libgcc_eh.a if found.
2002-03-27 14:07:50 +00:00
Nick Clifton
2106126f87
Copy the r_offset field into and out of the internal reloc strcuture.
2002-03-27 11:28:19 +00:00
Michal Ludvig
de220d0ff6
* x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines.
...
(x86_64_num_regs, x86_64_num_gregs): Added extern variables.
* x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS.
(x86_64_linux_dr_get_status, supply_gregset),
(fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs.
* x86-64-tdep.c (x86_64_register_raw_size_table): Delete.
(x86_64_register_info_table): Add.
(X86_64_NUM_REGS, X86_64_NUM_GREGS): Add.
(x86_64_register_raw_size, x86_64_register_virtual_type),
(x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new
general x86_64_register_info_table.
(i386_gdbarch_init): gdbarch_register_bytes is now set
dynamicaly during initialization.
* regformats/reg-x86-64.dat: Synced with changes to registers above.
* gdbserver/linux-x86-64-low.c: Ditto.
2002-03-27 10:21:29 +00:00
Daniel Jacobowitz
0e98d0a751
2002-03-27 Daniel Jacobowitz <drow@mvista.com>
...
* gdbserver/server.c (main): Call target_signal_to_host_p
and target_signal_to_host on signals received from the remote.
* gdbserver/remote-utils.c (prepare_resume_reply): Call
target_signal_from_host on signals sent to the remote.
* gdbserver/server.h: Add prototypes. Include "gdb/signals.h".
* gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}.
2002-03-27 05:15:49 +00:00
Daniel Jacobowitz
3130066b6c
2002-03-27 Daniel Jacobowitz <drow@mvista.com>
...
* signals/signals.c: Include "server.h" in gdbserver build.
(target_signal_from_name): Don't use STREQ.
(_initialize_signals): Likewise. Don't include function in
gdbserver build.
2002-03-27 05:12:35 +00:00
Daniel Jacobowitz
9aedf4f42a
2002-03-27 Daniel Jacobowitz <drow@mvista.com>
...
* signals.c: Moved to...
* signals/signals.c: Here.
* Makefile (signals.o): Update.
2002-03-27 05:10:40 +00:00
gdbadmin
66671b450f
*** empty log message ***
2002-03-27 00:22:35 +00:00
Jeff Law
3fa41cdbae
* somread.c (som_symtab_read): Remove some commented out code and
...
updated related comments. Do not set the minimal symbol table to
mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope
in a dynamic executable.
* hppa-tdep.c (find_proc_framesize): Sanely handle the case
where we are unable to find the minimal symbol for the given
PC value.
2002-03-27 00:21:51 +00:00
Alan Modra
b99d18333d
* elf.c (_bfd_elf_get_symtab_upper_bound): Leave space for
...
terminating NULL if empty symbol table.
(_bfd_elf_get_dynamic_symtab_upper_bound): Likewise.
2002-03-27 00:16:54 +00:00
DJ Delorie
cfed07154c
merge from gcc
2002-03-26 23:29:30 +00:00
Fred Fish
05b4d525a6
2002-03-26 Fred Fish <fnf@redhat.com>
...
* gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
have debugging info for those functions and the compiler uses them
internally to copy structs around.
2002-03-26 23:02:30 +00:00
Alan Modra
3cd4963f28
daily update
2002-03-26 23:00:01 +00:00
H.J. Lu
ad43ed4ce4
2002-03-26 H.J. Lu (hjl@gnu.org)
...
* elflink.h (elf_link_input_bfd): Revert the last change since
the gcc exception handling isn't fixed yet.
2002-03-26 18:13:54 +00:00
H.J. Lu
3851fca49e
2002-03-26 H.J. Lu (hjl@gnu.org)
...
* elflink.h (elf_link_input_bfd): Complain about relocations
against local symbols in discarded sections.
2002-03-26 16:01:04 +00:00
Fred Fish
d7679631e8
2002-03-26 Fred Fish <fnf@redhat.com>
...
* gdb.base/list.exp: Revert the change made yesterday and add note
about why we don't list the default lines for remote targets.
2002-03-26 14:54:27 +00:00
Alan Modra
b91afed73b
* elflink.h (elf_gc_mark): Don't recurse into non-ELF sections.
2002-03-26 11:54:12 +00:00
Michael Snyder
523ac3f9a3
2002-03-25 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2002-03-26 05:10:26 +00:00
Fred Fish
754b2b8dc7
2002-03-25 Fred Fish <fnf@redhat.com>
...
* gdb.base/list.exp: This test works on remote targets so remove
the short circuit for remote targets. Update copyright.
2002-03-26 00:36:07 +00:00
Fred Fish
629b007a94
Sigh, should have updated the copyright date in the
...
change I just checked in. Fix it here.
2002-03-26 00:17:38 +00:00
Fred Fish
33c3e192bd
2002-03-25 Fred Fish <fnf@redhat.com>
...
* gdb.base/attach.exp: Fix logic error that was suppressing this
test for all non hppa*-*-hpux* targets, instead of the hp target.
Move comments closer to the suppression point. Also now need to
check that we are running natively.
2002-03-26 00:13:22 +00:00
gdbadmin
2f766f6c06
*** empty log message ***
2002-03-26 00:00:03 +00:00
Alan Modra
ea65073a11
daily update
2002-03-25 23:00:02 +00:00
Michael Snyder
ee677e8d79
2002-03-25 Jeff Law (law@redhat.com)
...
* linux-proc.c (read_mapping): Scan up to end of line for filename.
2002-03-25 19:47:41 +00:00
Michal Ludvig
e76e1718eb
* x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch.
2002-03-25 07:59:16 +00:00
David O'Brien
23c7880c01
2002-03-24 David O'Brien <obrien@FreeBSD.org>
...
* ppc/hw_disk.c: Export a disk device property.
This is needed by the FreeBSD/powerpc porting effort.
2002-03-25 04:39:20 +00:00
gdbadmin
35d250b3e2
*** empty log message ***
2002-03-25 00:00:33 +00:00
Alan Modra
d1e228db53
daily update
2002-03-24 23:00:04 +00:00
Andrew Cagney
e7b564aa85
* gen.c (format_name_cmp): New function.
...
(insn_list_insert): Use the instruction field name as an
additional key. Different field names indicate different
semantics.
2002-03-24 00:43:28 +00:00
Andrew Cagney
18a642a148
* command.h: Update copyright.
...
(struct cmd_list_element): Replace definition with opaque
declaration.
(enum cmd_types): Document that it will eventually be moved to
cli/cli-decode.h
(CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros.
(MALLOCED_REPLACEMENT): Delete macro.
* Makefile.in (cli_decode_h): Add $(command_h).
(top.o, completer.o, maint.o): Add dependency on $(cli_decode_h).
* top.c: Include "cli/cli-decode.h".
* completer.c: Include "cli/cli-decode.h".
* maint.c: Include "cli/cli-decode.h".
* cli/cli-decode.h: Include "command.h".
(enum command_class): Delete.
(enum cmd_types): Comment out.
(enum cmd_auto_boolean): Delete.
(enum var_types): Delete.
2002-03-24 00:40:35 +00:00
Andrew Cagney
b2875cc0a2
* cli/cli-decode.c: Include "gdb_assert.h".
...
(add_set_or_show_cmd): New static function.
(add_set_cmd): Rewrite. Use add_set_or_show_cmd.
(add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy
all fields, such as func, from the set command.
2002-03-24 00:24:35 +00:00
gdbadmin
c78a341714
*** empty log message ***
2002-03-24 00:00:03 +00:00
Alan Modra
ab783794ec
daily update
2002-03-23 23:00:03 +00:00
Andrew Cagney
ec80ed8088
From 2001-12-09 Julien Ducourthial <jducourt@noos.fr>:
...
* ppc-instructions (lswx): Do the register control with the
register count. Initialize the right register in the loop.
(mtfsfi) : Correct prefix for the instruction.
2002-03-23 21:18:31 +00:00
Andrew Cagney
3b45974e92
* MAINTAINERS (sh-elf): Change warning flag to -w.
2002-03-23 18:52:46 +00:00
Andreas Jaeger
a8f1f017eb
* emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it.
2002-03-23 18:15:32 +00:00
Andrew Cagney
823ca731ed
* defs.h (error): Add printf format attribute.
...
* thread-db.c (thread_from_lwp): Fix error format string.
* stack.c (parse_frame_specification): Ditto.
* cli/cli-decode.c (undef_cmd_error): Ditto.
* scm-lang.c (scm_lookup_name): Ditto.
* tracepoint.c (trace_error): Ditto.
* remote-utils.c (usage): Ditto.
* remote.c (compare_sections_command): Ditto.
Fix PR gdb/328.
2002-03-23 17:38:13 +00:00
Matthew Green
294b41b344
* ppc-opc.c (vmaddfp): Fix operand order.
2002-03-23 14:14:30 +00:00
Alan Modra
dba143efb3
* elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
...
section file offset for !SEC_LOAD sections.
2002-03-23 13:14:33 +00:00
Andrew Cagney
0e10145828
* gdbtypes.c (append_composite_type_field): New function.
...
(init_composite_type): New function.
* gdbtypes.h (append_composite_type_field): Declare.
(init_composite_type): Ditto.
2002-03-23 01:24:54 +00:00
Michael Snyder
882c8f02fb
2002-03-22 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/default.exp: Add test for gcore. Update copyright.
* gdb.base/help.exp: Add test for gcore. Update copyright.
2002-03-23 00:05:29 +00:00
Michael Snyder
d43e73eedd
2002-03-22 Michael Snyder <msnyder@redhat.com>
...
* gdb.base/default.exp: Add test for gcore.
* gdb.base/help.exp: Add test for gcore.
2002-03-23 00:03:01 +00:00
gdbadmin
d8a9ce69b0
*** empty log message ***
2002-03-23 00:00:04 +00:00
Alan Modra
f16a318880
daily update
2002-03-22 23:00:03 +00:00