OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years agoAdd Paul Hilfinger and Joel Brobecker to the Write After Approval list.
Joel Brobecker [Fri, 15 Jun 2001 15:43:05 +0000 (15:43 +0000)]
Add Paul Hilfinger and Joel Brobecker to the Write After Approval list.

23 years ago * bfdlink.h (struct bfd_link_info): New member export_dynamic.
Hans-Peter Nilsson [Fri, 15 Jun 2001 12:57:02 +0000 (12:57 +0000)]
* bfdlink.h (struct bfd_link_info): New member export_dynamic.

23 years agoChnage styp_flags_to_sec_flags() to a boolean function
Nick Clifton [Fri, 15 Jun 2001 09:03:14 +0000 (09:03 +0000)]
Chnage styp_flags_to_sec_flags() to a boolean function

23 years ago*** empty log message ***
gdbadmin [Fri, 15 Jun 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoFix doco on ``!'' and ``R'' packets.
Andrew Cagney [Thu, 14 Jun 2001 22:10:46 +0000 (22:10 +0000)]
Fix doco on ``!'' and ``R'' packets.

23 years agoIndex: opcodes/ChangeLog
Geoffrey Keating [Thu, 14 Jun 2001 20:38:42 +0000 (20:38 +0000)]
Index: opcodes/ChangeLog
2001-06-13  Geoffrey Keating  <geoffk@redhat.com>

* cgen-asm.c (cgen_parse_keyword): When looking for the
boundaries of a keyword, allow any special characters
that are actually in one of the allowed keyword.
* cgen-opc.c (cgen_keyword_add): Add any special characters
to the nonalpha_chars field.

Index: cgen/ChangeLog
2001-06-13  Geoffrey Keating  <geoffk@redhat.com>

* desc.scm (<keyword> 'gen-defn): Add extra zero into
CGEN_KEYWORD_ENTRY initializers.

Index: include/opcode/ChangeLog
2001-06-13  Geoffrey Keating  <geoffk@redhat.com>

* cgen.h (cgen_keyword): Add nonalpha_chars field.

23 years ago2001-06-14 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 14 Jun 2001 19:27:45 +0000 (19:27 +0000)]
2001-06-14  Michael Snyder  <msnyder@redhat.com>

* remote.c (show_remote_protocol_qSymbol_packet_cmd,
set_remote_protocol_qSymbol_packet_cmd): New functions.
(init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
(remote_check_symbols): New function.  Implement qSymbol packet,
allowing target to request symbol lookup service from gdb.
(remote_open_1, remote_async_open_1): Call remote_check_symbols,
allowing symbol lookup from exec_bfd on connection to target.
(remote_new_objfile): New function.  Catch new objfile notifications
from shared library module, and call remote_check_symbols.
(_initialize_remote): Hook remote_new_objfile into the shared
library notification chain.  Add "set remote symbol-lookup" command.

23 years ago2001-06-13 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 14 Jun 2001 19:17:00 +0000 (19:17 +0000)]
2001-06-13  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo (Protocol): Add doc for new packet "qSymbol:".

23 years ago * tracepoint.c (trace_command): We now have tracepoint
Keith Seitz [Thu, 14 Jun 2001 17:09:36 +0000 (17:09 +0000)]
* tracepoint.c (trace_command): We now have tracepoint
events. Get rid of those ugly hooks.
(tracepoint_operation): Likewise.
(trace_pass_command): Likewise.

23 years ago* lib/gdb.exp (gdb_test): Doc fix.
Jim Blandy [Thu, 14 Jun 2001 00:12:32 +0000 (00:12 +0000)]
* lib/gdb.exp (gdb_test): Doc fix.

23 years ago*** empty log message ***
gdbadmin [Thu, 14 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-06-13 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 13 Jun 2001 22:56:16 +0000 (22:56 +0000)]
2001-06-13  Michael Snyder  <msnyder@redhat.com>

        * gdbthread.h (struct thread_info): Add new fields:
        current_line, current_symtab, step_sp, for saved infrun state.
        * thread.c (save_infrun_state, load_infrun_state): Save and
        restore current_line, current_symtab, and step_sp.
        (add_thread): Rather than adding assignments to initialize
the new fields, just use memset (tp, 0, sizeof (*tp).
This way future new fields will not be overlooked.
        * infrun.c (handle_inferior_event): Save and restore save_sp,
        current_line, and current_symtab when switching threads.

23 years ago2001-06-13 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 13 Jun 2001 21:00:39 +0000 (21:00 +0000)]
2001-06-13  Elena Zannoni  <ezannoni@redhat.com>

       * MAINTAINERS: Add Andrew Cagney as co-maintainer of
       testsuite/gdb.mi.

23 years ago * generic/gdbtk-bp.c (gdbtk_tracepoint_create): Change
Keith Seitz [Wed, 13 Jun 2001 20:01:42 +0000 (20:01 +0000)]
* generic/gdbtk-bp.c (gdbtk_tracepoint_create): Change
parameter to int to match breakpoint notifications.
(gdbtk_tracepoint_modify): Ditto.
(gdbtk_tracepoint_delete): Ditto.
(tracepoint_notify): Ditto.
* generic/gdbtk-hooks.c (gdbtk_add_hooks): Remove
tracepoint hooks and install tracepoint event handlers.

23 years agoHandle GDB's gdb/version.in.
Andrew Cagney [Wed, 13 Jun 2001 19:00:22 +0000 (19:00 +0000)]
Handle GDB's gdb/version.in.

23 years agos/basename/lbasename/ clean up consequences of assuming lbasename()
Andrew Cagney [Wed, 13 Jun 2001 18:30:07 +0000 (18:30 +0000)]
s/basename/lbasename/ clean up consequences of assuming lbasename()
returns const char *.

23 years ago * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
Eli Zaretskii [Wed, 13 Jun 2001 09:08:05 +0000 (09:08 +0000)]
* config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
(SLASH_STRING): Remove unised definitions.
* config/i386/xm-cygwin.h: Likewise.

23 years ago * gdb.texinfo (Signals): Clarify the default setting of signal
Eli Zaretskii [Wed, 13 Jun 2001 08:40:23 +0000 (08:40 +0000)]
* gdb.texinfo (Signals): Clarify the default setting of signal
handling.

23 years agoOnly pad the tesxt section if the data section is going to follow it.
Nick Clifton [Wed, 13 Jun 2001 07:58:05 +0000 (07:58 +0000)]
Only pad the tesxt section if the data section is going to follow it.

23 years ago*** empty log message ***
gdbadmin [Wed, 13 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * elflink.h (elf_gc_propagate_vtable_entries): Replace FILE_ALIGN
Catherine Moore [Tue, 12 Jun 2001 17:44:38 +0000 (17:44 +0000)]
    * elflink.h (elf_gc_propagate_vtable_entries): Replace FILE_ALIGN
        with the file_align entry from elf_backend_data.
        (elf_gc_smash_unused_vtentry_relocs): Likewise.
        (elf_gc_record_vtentry): Likewise.

23 years agoRemove self
Daniel Berlin [Tue, 12 Jun 2001 17:44:33 +0000 (17:44 +0000)]
Remove self

23 years ago* ui-out.c (ui_out_list_begin): Add parameter ``id''.
Andrew Cagney [Tue, 12 Jun 2001 16:44:36 +0000 (16:44 +0000)]
* ui-out.c (ui_out_list_begin): Add parameter ``id''.
(make_cleanup_ui_out_list_begin_end): Ditto.  Open the list.
* ui-out.h: Update declarations.

23 years ago * library/help/session.html: New file.
Tom Tromey [Tue, 12 Jun 2001 16:20:12 +0000 (16:20 +0000)]
* library/help/session.html: New file.
* library/help/index.html: Added link.

23 years agos/char */const char */
Andrew Cagney [Tue, 12 Jun 2001 15:03:04 +0000 (15:03 +0000)]
s/char */const char */

23 years agomerge from gcc
DJ Delorie [Tue, 12 Jun 2001 13:16:43 +0000 (13:16 +0000)]
merge from gcc

23 years agoAdd lgh instruction.
Nick Clifton [Tue, 12 Jun 2001 11:50:53 +0000 (11:50 +0000)]
Add lgh instruction.

23 years ago*** empty log message ***
gdbadmin [Tue, 12 Jun 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * library/session.tcl (session_save): Save breakpoints.
Tom Tromey [Mon, 11 Jun 2001 23:08:05 +0000 (23:08 +0000)]
* library/session.tcl (session_save): Save breakpoints.
(SESSION_serialize_bps): New proc.
(SESSION_recreate_bps): New proc.
(session_load): Recreate breakpoints.
* library/util.tcl (bp_exists): Expect user specification in
breakpoint info.
* library/srctextwin.itb (SrcTextWin::showBPBalloon): Expect user
specification in breakpoint info.
* library/gdbevent.itb (BreakpointEvent::_init): Initialize
_user_specification.
(BreakpointEvent::get): Handle user_specification.
* library/gdbevent.ith (BreakpointEvent): Added
_user_specification field.
* library/bpwin.itb (BpWin::bp_store): Expect user specification
and use it when saving.
(BpWin::bp_type): Expect user specification.
* generic/gdbtk-bp.c (BREAKPOINT_IS_WATCHPOINT): New macro.
(gdb_get_breakpoint_info): Added `user specification' to result.

23 years agos/supress/suppress/
Andrew Cagney [Mon, 11 Jun 2001 21:54:04 +0000 (21:54 +0000)]
s/supress/suppress/

23 years ago * generic/gdbtk-stack.c (gdb_stack): Return TCL_ERROR if
Keith Seitz [Mon, 11 Jun 2001 20:07:46 +0000 (20:07 +0000)]
* generic/gdbtk-stack.c (gdb_stack): Return TCL_ERROR if
we are unable to get the current frame. get_current_frame
may have output an error message.

23 years agos/char */const char */
Andrew Cagney [Mon, 11 Jun 2001 16:34:47 +0000 (16:34 +0000)]
s/char */const char */

23 years ago2001-06-10 Michael Chastain <chastain@redhat.com>
Michael Chastain [Mon, 11 Jun 2001 16:06:46 +0000 (16:06 +0000)]
2001-06-10  Michael Chastain  <chastain@redhat.com>

* gdb.base/exprs.exp: Remove a duplicate test.

23 years ago * completer.c (gdb_completer_loc_break_characters): New variable.
Eli Zaretskii [Mon, 11 Jun 2001 16:05:25 +0000 (16:05 +0000)]
* completer.c (gdb_completer_loc_break_characters): New variable.
(line_completion_function): If we are completing on locations,
back up the start of word pointer past all characters which can
appear in a location spec.
(location_completer): New function.

* completer.h: Add prototype for location_completer.

* symtab.c (make_source_files_completion_list)
(add_filename_to_list, not_interesting_fname): New functions.
(filename_seen): New function, body extracted from
output_source_filename.
(output_source_filename): Call filename_seen to check if the file
was already printed.
(make_symbol_completion_list): If TEXT includes a
double-quoted string, return an empty list, not NULL.
(make_file_symbol_completion_list): New function, similar to
make_symbol_completion_list but with an additional argument
SRCFILE.

* symtab.h (make_file_symbol_completion_list)
(make_source_files_completion_list): Add prototypes.

* breakpoint.c (_initialize_breakpoint): Make location_completer
be the completion function for all commands which set breakpoints
and watchpoints.
(top-level): #include "completer.h".

* tracepoint.c (_initialize_tracepoint): Make location_completer
be the completion function for the "trace" command.
(top-level): #include "completer.h".

* printcmd.c (_initialize_printcmd): Make location_completer be
the completion function for the "print", "inspect", "call", and
"disassemble" commands.
(top-level): #include "completer.h".

* infcmd.c (_initialize_infcmd): Make location_completer be the
completion function for the "go", "jump", and "until" commands.
(top-level): #include "completer.h".

23 years agoMerge insn decode tables, and generally tidy.
Alan Modra [Mon, 11 Jun 2001 13:25:07 +0000 (13:25 +0000)]
Merge insn decode tables, and generally tidy.

23 years agomerge from gcc
DJ Delorie [Mon, 11 Jun 2001 00:07:54 +0000 (00:07 +0000)]
merge from gcc

23 years ago*** empty log message ***
gdbadmin [Mon, 11 Jun 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoRemove trailing garbage from previous checkin.
Christopher Faylor [Sun, 10 Jun 2001 16:29:03 +0000 (16:29 +0000)]
Remove trailing garbage from previous checkin.

23 years ago* gnu-regex.c: Eliminate obsolete check for _MSC_VER.
Christopher Faylor [Sun, 10 Jun 2001 16:25:51 +0000 (16:25 +0000)]
* gnu-regex.c: Eliminate obsolete check for _MSC_VER.
* utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
* values.c (unpack_double): Remove obsolete check for _MSC_VER.
* defs.h: Ditto.
* m32r-rom.c: Ditto.
* p-exp.y: Ditto.
* ser-e7kpc.c: Ditto.  Define WIN32_LEAN_AND_MEAN under _WIN32, for faster
compilation.
(get_ds_base): Remove _MSC_VER version of this function.
* nindy-share/ttyflush.c: Ditto.  X
* rdi-share/host.h: Ditto.  X
* ser-go32.c (dos_readchar): Remove call to obsolete function.
* remote-sim.c (gdb_os_poll_quit): Ditto.
* remote-e7000.c (expect): Remove obsolete #if 0'ed code.
* main.c (captured_main): Eliminate special Cygwin checks.
* ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.

23 years agoBranch hints for Pentium4 as insn modifiers, and some minor tweaks
Alan Modra [Sun, 10 Jun 2001 14:07:12 +0000 (14:07 +0000)]
Branch hints for Pentium4 as insn modifiers, and some minor tweaks
to formatting.

23 years ago * elflink.h: Whitespace changes.
Alan Modra [Sun, 10 Jun 2001 05:21:00 +0000 (05:21 +0000)]
* elflink.h: Whitespace changes.
(elf_link_read_relocs_from_section): Use "unsigned int" iterator
rather than "unsigned char".
(elf_link_output_relocs): Likewise.
(elf_link_input_bfd): Likewise.
(elf_reloc_link_order): LIkewise.
* elf.c: s/CONST/const/.  Whitespace changes.
* elf32-mips.c: Formatting fix.

* Makefile.am (SOURCE_HFILES): Include xcoff-target.h, remove xcoff.h.
* Makefile.in: Regenerate.
* po/Make-in: Remove trailing tab.

23 years agoOops (again), missed a comment.
Andrew Cagney [Sun, 10 Jun 2001 01:20:21 +0000 (01:20 +0000)]
Oops (again), missed a comment.

23 years agoMove supress_field_separator logic into mi_open() and mi_close().
Andrew Cagney [Sun, 10 Jun 2001 01:16:14 +0000 (01:16 +0000)]
Move supress_field_separator logic into mi_open() and mi_close().

23 years agoOops. Clean up changelog entry.
Andrew Cagney [Sun, 10 Jun 2001 00:56:06 +0000 (00:56 +0000)]
Oops.  Clean up changelog entry.

23 years agoAdd missing $(ui_out_h) dependencies.
Andrew Cagney [Sun, 10 Jun 2001 00:47:02 +0000 (00:47 +0000)]
Add missing $(ui_out_h) dependencies.

23 years agoMake char *, const char *.
Andrew Cagney [Sun, 10 Jun 2001 00:22:41 +0000 (00:22 +0000)]
Make char *, const char *.

23 years ago*** empty log message ***
gdbadmin [Sun, 10 Jun 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* sh-opc.h (sh_table): Don't use empty initializers.
Alexandre Oliva [Sat, 9 Jun 2001 22:42:30 +0000 (22:42 +0000)]
* sh-opc.h (sh_table): Don't use empty initializers.

23 years ago2001-06-09 Philip Blundell <philb@gnu.org>
Phil Blundell [Sat, 9 Jun 2001 20:19:29 +0000 (20:19 +0000)]
2001-06-09  Philip Blundell  <philb@gnu.org>

* elf32-arm.h (elf32_arm_plt0_entry): Correct error in last
change.
(elf32_arm_plt_entry): Likewise.

23 years ago2001-06-08 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 9 Jun 2001 01:55:43 +0000 (01:55 +0000)]
2001-06-08  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (delete_breakpoint): Pass mark_inserted to
        remove_breakpoint, so that the subsequent test for
        bpt->inserted will succeed, and duplicates will be fixed up.

23 years ago*** empty log message ***
gdbadmin [Sat, 9 Jun 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
Per Bothner [Fri, 8 Jun 2001 18:08:03 +0000 (18:08 +0000)]
* dwarf2read.c (set_cu_language):  Handle DW_LANG_Java.

23 years ago2001-06-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 8 Jun 2001 15:30:52 +0000 (15:30 +0000)]
2001-06-08  H.J. Lu  <hjl@gnu.org>

* elf.c (swap_out_syms): Keep names for global section symbols.

23 years ago2001-06-07 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 8 Jun 2001 06:21:29 +0000 (06:21 +0000)]
2001-06-07  H.J. Lu  <hjl@gnu.org>

* config.bfd: Put back ecoff for Linux/mips. Firmwares on some
MIPS-based machines need it.

23 years ago* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
Alexandre Oliva [Fri, 8 Jun 2001 03:24:41 +0000 (03:24 +0000)]
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
gcc/xgcc is built, use -print-prog-name to find out the program
name to use.

23 years ago*** empty log message ***
gdbadmin [Fri, 8 Jun 2001 00:27:01 +0000 (00:27 +0000)]
*** empty log message ***

23 years ago * tracepoint.c (tracepoint_opertation): Add ui event
Keith Seitz [Thu, 7 Jun 2001 22:02:18 +0000 (22:02 +0000)]
* tracepoint.c (tracepoint_opertation): Add ui event
notifications.
(trace_pass_command): Ditto.

23 years agoJeff Law sepped down as HP/UX maintainer.
Andrew Cagney [Thu, 7 Jun 2001 21:43:00 +0000 (21:43 +0000)]
Jeff Law sepped down as HP/UX maintainer.

23 years agoDoco write-after-approval criteria.
Andrew Cagney [Thu, 7 Jun 2001 21:03:48 +0000 (21:03 +0000)]
Doco write-after-approval criteria.

23 years ago* gdbarch.sh: Make sure that '[' doesn't interpret interesting
Jim Blandy [Thu, 7 Jun 2001 20:52:47 +0000 (20:52 +0000)]
* gdbarch.sh: Make sure that '[' doesn't interpret interesting
variable values as operators.

23 years ago * gdb-events.sh: Fix quote escaping which was obsoleted
Keith Seitz [Thu, 7 Jun 2001 20:18:45 +0000 (20:18 +0000)]
* gdb-events.sh: Fix quote escaping which was obsoleted
by last patch.

23 years ago * gdb-events.sh: Make if statements and tests
Keith Seitz [Thu, 7 Jun 2001 19:40:55 +0000 (19:40 +0000)]
* gdb-events.sh: Make if statements and tests
a little more portable.
Don't use shell's echo command to put strings containing
escaped characeters into a file -- different flavors of /bin/sh
require differnt levels of escaping. Use cat <<EOF instead.
Our internal field separator is a colon. Change all
commands which assume it is a space.

23 years ago* lin-lwp.c (struct lwp_info): Add member `resumed'.
Mark Kettenis [Thu, 7 Jun 2001 19:31:10 +0000 (19:31 +0000)]
* lin-lwp.c (struct lwp_info): Add member `resumed'.
(iterate_over_lwps): Make sure we can handle CALLBACK deleting the
LWP it's called for.
(lin_lwp_attach): Mark LWP as resumed to make sure the fake
SIGSTOP is reported.
(resume_clear_callback): New function.
(resume_set_callback): New function.
(lin_lwp_resume): Mark all LWP's that we're going to resume as
resumed, and unmark all others.
(status_callback): Only report a pending wait status if we pretend
that LP has been resumed.
(resumed_callback): New function.
(lin_lwp_wait): Add assertions to check that LWP's are properly
marked as resumed.  Partially revert 2001-05-25 patch by Michael
Snyder: do not resume all threads.  Add comment explaining the
problems associated with this bit of code.

23 years ago * MAINTAINTERS: Syd Polk is stepping down from
Keith Seitz [Thu, 7 Jun 2001 18:37:40 +0000 (18:37 +0000)]
* MAINTAINTERS: Syd Polk is stepping down from
maintaining libgui. I am replacing him.

23 years ago2001-06-07 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 7 Jun 2001 17:31:22 +0000 (17:31 +0000)]
2001-06-07  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (_bfd_mips_elf_object_p): Set the bad symtab
for SGI only.

* config.bfd: Remove ecoff from Linux/mips.

23 years ago * config/mips/tm-irix6.h: New file.
Eli Zaretskii [Thu, 7 Jun 2001 15:57:57 +0000 (15:57 +0000)]
* config/mips/tm-irix6.h: New file.

* config/mips/irix6.mh: New file.

* config/mips/irix6.mt: New file.

* config/mips/xm-irix6.h: New file.

* config/mips/nm-irix6.h: New file.

* mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
disassembler info in tm_print_insn_info as appropriate for the N32
ABI.  Force N32 ABI to be the default if the CPU is R8000 or
R10000.

* configure.tgt (mips*-sgi-irix6*): Map to irix6.

* configure.host (mips*-sgi-irix6*): Ditto.

23 years agos/abort/gdb_assert/
Andrew Cagney [Thu, 7 Jun 2001 14:51:20 +0000 (14:51 +0000)]
s/abort/gdb_assert/

23 years ago2001-06-07 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Thu, 7 Jun 2001 14:45:36 +0000 (14:45 +0000)]
2001-06-07  Andreas Jaeger  <aj@suse.de>

* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Add an
assertion.
(elf64_x86_64_check_relocs): Fix VTENTRY relocation; set an
alignment of 8 for .rela sections; handle further relocations.

23 years ago Some "-Wall" cleanups.
Keith Seitz [Thu, 7 Jun 2001 14:43:01 +0000 (14:43 +0000)]
Some "-Wall" cleanups.

* generic/gdbtk-hooks.c (x_event): Remove unused variable "count".
(tracepoint_notify): Remove superfluous declaration. This funtion
was moved to gdbtk-bp.c.

* generic/gdbtk-bp.c (gdb_find_bp_at_addr): Remove unused variable
"b".
(gdb_set_bp): Remove unused variable "cmd".
(gdb_set_bp_addr): Remove unused variables "cmd" and "filename".

* generic/gdbtk.c (gdbtk_init): Remove unused variables
"auto_path_name", "auto_path_elem", and "found_main".

23 years ago* gdb.base/return2.exp (main): Use values to test float and double
Jim Blandy [Thu, 7 Jun 2001 03:42:41 +0000 (03:42 +0000)]
* gdb.base/return2.exp (main): Use values to test float and double
returns that are not NaN's, to avoid being confused by IEEE
comparison rules.

23 years ago* cp-abi.h: Rearrange code to put documentation comments above the
Jim Blandy [Wed, 6 Jun 2001 22:21:15 +0000 (22:21 +0000)]
* cp-abi.h: Rearrange code to put documentation comments above the
functions we export.  The actual function table itself simply
refers to those functions.  Minor doc fixes.

23 years ago* gdb.base/return2.exp (main): Use values to test float and double
Jim Blandy [Wed, 6 Jun 2001 22:05:08 +0000 (22:05 +0000)]
* gdb.base/return2.exp (main): Use values to test float and double
returns that are not NaN's, to avoid being confused by IEEE
comparison rules.

23 years ago2001-06-04 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 6 Jun 2001 18:34:53 +0000 (18:34 +0000)]
2001-06-04  Michael Snyder  <msnyder@redhat.com>

* gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
non-zero if control_c fails.  Terminate the test on failure,
rather than wait for 12 more tests to time out.

23 years ago* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
Jim Blandy [Wed, 6 Jun 2001 18:25:46 +0000 (18:25 +0000)]
* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
Don't forget to match the GDB prompt.

23 years ago* gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
Jim Blandy [Wed, 6 Jun 2001 18:22:29 +0000 (18:22 +0000)]
* gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.

23 years ago* gdbarch.sh: Changes to effect the following:
Jim Blandy [Wed, 6 Jun 2001 17:47:28 +0000 (17:47 +0000)]
* gdbarch.sh: Changes to effect the following:
* gdbarch.c (initialize_non_multiarch): New function.
* gdbarch.h (initialize_non_multiarch): New declaration.
* arch-utils.c (initialize_current_architecture): For
non-multiarch configurations, call initialize_non_multiarch.

23 years agoDelete some unnecessary PTR uses.
Andrew Cagney [Wed, 6 Jun 2001 17:12:30 +0000 (17:12 +0000)]
Delete some unnecessary PTR uses.

23 years agoRemove warnings building z8k port.
Nick Clifton [Wed, 6 Jun 2001 17:01:35 +0000 (17:01 +0000)]
Remove warnings building z8k port.
Fix ld -r behaviour

23 years ago* arch-utils.c (generic_prepare_to_proceed): Allow for having
Jonathan Larmour [Wed, 6 Jun 2001 16:31:32 +0000 (16:31 +0000)]
* arch-utils.c (generic_prepare_to_proceed): Allow for having
stopped due to a Ctrl-C as well as breakpoints.

* hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
support thread switches after Ctrl-C.
* lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
* linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
* m3-nat.c (mach3_prepare_to_proceed): Ditto.

23 years ago* gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
Jim Blandy [Wed, 6 Jun 2001 14:46:30 +0000 (14:46 +0000)]
* gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
per-architecture data should be registered at initialization time,
before any gdbarch objects get used, so the generality is
unnecessary.

23 years ago * gdb-events.sh (function_list): Add tracepoint_create,
Keith Seitz [Wed, 6 Jun 2001 14:44:42 +0000 (14:44 +0000)]
* gdb-events.sh (function_list): Add tracepoint_create,
tracepoint_delete, and tracepoint_modify events.
* gdb-events.c: Regenerated.
* gdb-events.h: Regenerated.

23 years agoRegenerate...
Keith Seitz [Wed, 6 Jun 2001 14:38:52 +0000 (14:38 +0000)]
Regenerate...

* gdb-events.sh: Update copyrights.
Change free to xfree.
* gdb-events.c: Regenerated.
* gdb-events.h: Regenerated.

23 years ago * gdb-events.sh: Update copyrights.
Keith Seitz [Wed, 6 Jun 2001 14:36:05 +0000 (14:36 +0000)]
* gdb-events.sh: Update copyrights.
Change free to xfree.
* gdb-events.c: Regenerated.
* gdb-events.h: Regenerated.

23 years agocorrect some 68k/ColdFire problems
Nick Clifton [Wed, 6 Jun 2001 14:28:00 +0000 (14:28 +0000)]
correct some 68k/ColdFire problems

23 years ago * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
Eli Zaretskii [Wed, 6 Jun 2001 10:27:59 +0000 (10:27 +0000)]
* source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
* completer.c: Ditto.
* cli/cli-cmds.c (cd_command): Ditto.

23 years ago * i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define.
Alan Modra [Wed, 6 Jun 2001 10:24:18 +0000 (10:24 +0000)]
* i386-dis.c (cond_jump_flag, loop_jcxz_flag): Define.
(cond_jump_mode, loop_jcxz_mode): Define.
(dis386_att): Add cond_jump_flag and loop_jcxz_flag as
appropriate, and 'F' suffix to loop insns.
(disx86_64_att): Likewise.
(dis386_twobyte_att): Likewise.
(print_insn_i386): Don't output addr prefix for loop, jcxz insns.
Output data size prefix for long conditional jumps.  Output cs and
ds branch hints.
(putop): Handle 'F', and mark PREFIX_ADDR used for case 'E'.
(OP_J): Don't make PREFIX_DATA used.

23 years ago2001-06-05 Martin Hunt <hunt@redhat.com>
Martin Hunt [Tue, 5 Jun 2001 22:01:21 +0000 (22:01 +0000)]
2001-06-05  Martin Hunt  <hunt@redhat.com>
* generic/gdbtk.c (_initialize_gdbtk): Don't close console yet.
(gdbtk_init): Wait until after tcl/tk stuff is all initialized
to close console (on Windows) and redirect ouput.

23 years ago2001-06-05 Martin Hunt <hunt@redhat.com>
Martin Hunt [Tue, 5 Jun 2001 21:59:54 +0000 (21:59 +0000)]
2001-06-05  Martin Hunt  <hunt@redhat.com>

* library/globalpref.itb(build_win): Don't change directory
before building icon combobox.  Add debug lines.

23 years agoAdd mips64*-*-linux host
Nick Clifton [Tue, 5 Jun 2001 07:35:10 +0000 (07:35 +0000)]
Add mips64*-*-linux host

23 years ago * elf32-i386.c (elf_i386_discard_copies): Rename to
Alan Modra [Tue, 5 Jun 2001 05:51:55 +0000 (05:51 +0000)]
* elf32-i386.c (elf_i386_discard_copies): Rename to
discard_copies, and use elf_link_hash_entry arg rather than
elf_i386_link_hash_entry.
(elf_i386_link_hash_traverse): Delete.
(elf_i386_size_dynamic_sections): Adjust call to discard_copies.
Tidy sizing of dynamic sections.
(elf_i386_check_relocs <R_386_32, R_386_PC32>): Reference count
possible .plt entries.
(elf_i386_gc_sweep_hook): Likewise.
(elf_i386_adjust_dynamic_symbol): Discard .plt entries for
everything with plt.refcount <= 0.

* elf32-i386.c (elf_i386_check_relocs): Don't allocate .got and
.relgot space here.
(elf_i386_gc_sweep_hook): ..and no need to deallocate here..
(elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and
.rel.plt here..
(allocate_plt_and_got): ..instead do it all here.  New function.
(elf_i386_size_dynamic_sections): Allocate local .got space and
call allocate_plt_and_got.  No need to zap .relgot if not dynamic.
(bfd_elf32_bfd_final_link): Delete.  (ie. use regular final link
rather than gc variety).
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(elf_i386_relocate_section): Use it here and correct handling of
R_386_GOT32.  Provide section and offset for "unresolvable
relocation" error message.
(elf_i386_finish_dynamic_symbol): Correct handling of R_386_GOT32.

* elf32-i386.c (struct elf_i386_link_hash_table): Add sgot,
sgotplt, srelgot, splt, srelplt, sdynbss, srelbss fields.
(elf_i386_link_hash_table_create): Init them.
(create_got_section): New function.
(elf_i386_create_dynamic_sections): New function.
(elf_backend_create_dynamic_sections): Set to above.
(elf_i386_check_relocs): Use shortcuts from hash table rather than
calling bfd_get_section_by_name.
(elf_i386_gc_sweep_hook): Likewise.
(elf_i386_adjust_dynamic_symbol): Likewise.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_relocate_section): Likewise.
(elf_i386_finish_dynamic_sections): Likewise.

23 years ago* gdb.base/help.exp: Update pattern to exclue `print-load-map'
Jim Blandy [Tue, 5 Jun 2001 05:03:44 +0000 (05:03 +0000)]
* gdb.base/help.exp: Update pattern to exclue `print-load-map'
command.

23 years ago * elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms.
Alan Modra [Tue, 5 Jun 2001 04:39:31 +0000 (04:39 +0000)]
* elf32-hppa.c (allocate_plt_and_got): Skip indirect and warning syms.

23 years ago* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
Alexandre Oliva [Mon, 4 Jun 2001 19:33:12 +0000 (19:33 +0000)]
* ltcf-c.sh (archive_cmds, archive_expsym_cmds) [solaris,
with_gcc]: Use `gcc -shared' to build a shared library.

23 years ago* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
Alexandre Oliva [Mon, 4 Jun 2001 19:25:10 +0000 (19:25 +0000)]
* ltcf-c.sh (archive_cmd) [hpux, with_gcc]: Use gcc to link shared
archives.

23 years ago * library/srcbar.itcl (constructor): Set the toolbar's initial
Keith Seitz [Mon, 4 Jun 2001 17:19:13 +0000 (17:19 +0000)]
* library/srcbar.itcl (constructor): Set the toolbar's initial
state.

23 years ago * library/interface.tcl (gdb_update_hook): Mark as deprecated.
Keith Seitz [Mon, 4 Jun 2001 15:49:53 +0000 (15:49 +0000)]
* library/interface.tcl (gdb_update_hook): Mark as deprecated.
(gdbtk_update): Dispatch and UpdateEvent, too.
* library/ehandler.ith (update): New event handler.
* library/gdbevent.ith (UpdateEvent): New event.
* library/gdbevent.itb (UpdateEvent::constructor): New method.
(UpdateEvent::get): New method.
* library/kod.ith (udpate): Match event handler definition.
* library/kod.itb (update): Ditto.
(build_win): Pass dummy argument to update method.
(top): Ditto.
(up): Ditto.
(set_variable): Ditto.
* library/memwin.ith (update): Match event handler definition.
* library/memwin.itb (update): Ditto.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
* library/process.ith (update): Match event handler definition.
* library/process.itb (update): Ditto.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
(build_win): Pass dummy argument to update method.
* library/regwin.ith (update): Match event handler definition.
* library/regwin.itb (update): Ditto.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
(build_win): Pass dummy argument to update method.
(but3): Ditto.
(unedit): Ditto.
* library/stackwin.ith (update): Match event handler definition.
* library/stackwin.itb (update): Ditto.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
(build_win): Pass dummy argument to update method.
* library/tdump.tcl (update): Match event handler definition.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
(build_win): Pass dummy argument to update method.
* library/variables.tcl (update): Match event handler definition.
(build_win): Pass dummy argument to update method.
* library/locals.tcl (update): Match event handler definition.
(constructor): Pass dummy argument to update method.
* library/watch.tcl (update): Match event handler definition.
Pass dummy argument to VariableWin::update.
(add): Pass dummy argument to update method.
* library/srcwin.ith (update): New method.
(update_hook_init): Remove.
* library/srcwin.itb (update): New method.
(constructor): Remove gdb_update_hook.
(destructor): Ditto.
* tclIndex: Regenerate.

23 years ago * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
Eli Zaretskii [Mon, 4 Jun 2001 07:53:08 +0000 (07:53 +0000)]
* mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
(mips_set_processor_type_command): Remove unused variable j.
(mips_breakpoint_from_pc): Declare breakpoint instruction
sequences as unsigned char, to avoid compiler warnings.

23 years ago * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
Eli Zaretskii [Mon, 4 Jun 2001 07:45:08 +0000 (07:45 +0000)]
* source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
instead of system-specific define's like _WIN32 and __MSDOS__.
Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
ROOTED_P.
(top-level): #include "filenames.h".

* solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
instead of SLASH_CHAR, ROOTED_P and SLASH_P.
(top-level): #include "filenames.h".

* defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
(SLASH_STRING): Define only for _WIN32.

* completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
__MSDOS_.

* cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P.  Replace
system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
(top-level): #include "filenames.h".

23 years ago*** empty log message ***
Eli Zaretskii [Mon, 4 Jun 2001 07:29:29 +0000 (07:29 +0000)]
*** empty log message ***

23 years ago * go32-nat.c (go32_wait): Change the return value to ptid_t.
Eli Zaretskii [Mon, 4 Jun 2001 07:29:00 +0000 (07:29 +0000)]
* go32-nat.c (go32_wait): Change the return value to ptid_t.

* config/djgpp/fnchange.lst: Add two new files in the
gdb/testsuite/gdb.c++/ directory to the remapped names.

* config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.