This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
more spelling corrections
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: more spelling corrections
- From: davea at quasar dot engr dot sgi dot com (David B Anderson)
- Date: Thu, 8 Jun 2000 16:58:37 -0700 (PDT)
I've tried to do this one a bit better the first time.
Thu Jun 8 15:22:59 2000 David B. Anderson <davea@quasar.engr.sgi.com>
* defs.h (val_prettyprint): Fix misspellings in comments.
* event-loop.c (event_handler_func, process_event):
Fix misspellings in comments.
* event-top.c (readline_input_state, command_handler):
Fix misspellings in comments.
* eval.c (get_label): Fix misspelling in comment.
* gdb-events.sh: Fix misspelling in comment.
* gdbarch.h (gdbarch_data): Fix misspellings in comments.
* gdbarch.c: Fix misspellings in comments (dependant->dependent).
* gdbarch.sh: Fix misspellings in comments (to match .h .c).
* gdbtypes.h: Fix misspelling in comment.
* gdbtypes.c (struct extra): Fix misspelling in comment.
* infcmd.c (print_return_value): Fix misspelling in comment.
* infrun.c (handle_inferior_event): Fix misspelling in comment.
* arch-utils.h, arch-utils.c, d10v-tdep.c, target.h,
blockframe.c, fork-child.c, symfile.c, symfile.h:
Fix misspellings in comments (dependant->dependent).
How many words can dance on the head of a pin?
According to the The Random House
Dictionary of the English Language (the
Unabridged Edition), 1969 copyright, the
one I have at hand:
Independant is not a word in English (not even
an alternate spelling).
Independent is a word.
Dependent is a word, and
dependant is an alternate spelling
(not one honored by its own definition, it is just an 'Also'
entry under dependent)
(dependant being based on the Middle English (1100-1500) spelling
dependaunt).
So changing dependant to dependant is not warranted on
a correctness basis, though changing independant to
independent is warranted. However, I suggest that
using dependant will lead folks to conclude erroneously
that independant is a word.
There are very few instances of dependant (perhaps 10 files):
I am changing all to use the 'dependent' spelling consistently.
If the Oxford English Dictionary disagrees with the Random House
in an important way, then... yikes.
I don't know how to access the Oxford English Dictionary.
Hope this does not seem counter-productive or petty.
I can see it might :-)
There are about 12 files remaining in the gdb directory
with typos (that I know of...)
Early next week I'll get to those, once the dust settles
on the ones so far.
Regards,
David B. Anderson davea@sgi.com danderson@acm.org http://reality.sgi.com/davea/
Index: defs.h
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/defs.h,v
retrieving revision 1.25
diff -p -c -r1.25 defs.h
*** defs.h 2000/06/07 04:43:30 1.25
--- defs.h 2000/06/08 21:54:57
*************** enum val_prettyprint
*** 765,774 ****
#endif
#if !defined (ULONGEST_MAX)
! #define ULONGEST_MAX (~(ULONGEST)0) /* 0xFFFFFFFFFFFFFFFF for 32-bits */
#endif
! #if !defined (LONGEST_MAX) /* 0x7FFFFFFFFFFFFFFF for 32-bits */
#define LONGEST_MAX ((LONGEST)(ULONGEST_MAX >> 1))
#endif
--- 765,774 ----
#endif
#if !defined (ULONGEST_MAX)
! #define ULONGEST_MAX (~(ULONGEST)0) /* 0xFFFFFFFFFFFFFFFF for 64-bits */
#endif
! #if !defined (LONGEST_MAX) /* 0x7FFFFFFFFFFFFFFF for 64-bits */
#define LONGEST_MAX ((LONGEST)(ULONGEST_MAX >> 1))
#endif
Index: event-loop.c
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/event-loop.c,v
retrieving revision 1.6
diff -p -c -r1.6 event-loop.c
*** event-loop.c 2000/03/23 03:48:13 1.6
--- event-loop.c 2000/06/08 21:58:14
*************** typedef void (event_handler_func) (int);
*** 90,96 ****
ready. The procedure PROC associated with each event is always the
same (handle_file_event). Its duty is to invoke the handler
associated with the file descriptor whose state change generated
! the event, plus doing other cleanups adn such. */
struct gdb_event
{
--- 90,96 ----
ready. The procedure PROC associated with each event is always the
same (handle_file_event). Its duty is to invoke the handler
associated with the file descriptor whose state change generated
! the event, plus doing other cleanups and such. */
struct gdb_event
{
*************** static struct
*** 242,248 ****
}
sighandler_list;
! /* Is any of the handlers ready? Check this variable using
check_async_ready. This is used by process_event, to determine
whether or not to invoke the invoke_async_signal_handler
function. */
--- 242,248 ----
}
sighandler_list;
! /* Are any of the handlers ready? Check this variable using
check_async_ready. This is used by process_event, to determine
whether or not to invoke the invoke_async_signal_handler
function. */
*************** process_event (void)
*** 386,392 ****
wait for something to happen (via gdb_wait_for_event), then process
it. Returns >0 if something was done otherwise returns <0 (this
can happen if there are no event sources to wait for). If an error
! occures catch_errors() which calls this function returns zero. */
static int
gdb_do_one_event (void *data)
--- 386,392 ----
wait for something to happen (via gdb_wait_for_event), then process
it. Returns >0 if something was done otherwise returns <0 (this
can happen if there are no event sources to wait for). If an error
! occurs catch_errors() which calls this function returns zero. */
static int
gdb_do_one_event (void *data)
Index: event-top.c
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/event-top.c,v
retrieving revision 1.6
diff -p -c -r1.6 event-top.c
*** event-top.c 2000/05/22 05:43:39 1.6
--- event-top.c 2000/06/08 22:00:12
*************** struct readline_input_state
*** 157,163 ****
readline_input_state;
! /* Wrapper function foe calling into the readline library. The event
loop expects the callback function to have a paramter, while readline
expects none. */
static void
--- 157,163 ----
readline_input_state;
! /* Wrapper function for calling into the readline library. The event
loop expects the callback function to have a paramter, while readline
expects none. */
static void
*************** command_handler (char *command)
*** 515,521 ****
execute_command (command, instream == stdin);
/* Set things up for this function to be compete later, once the
! executin has completed, if we are doing an execution command,
otherwise, just go ahead and finish. */
if (target_can_async_p () && target_executing)
{
--- 515,521 ----
execute_command (command, instream == stdin);
/* Set things up for this function to be compete later, once the
! execution has completed, if we are doing an execution command,
otherwise, just go ahead and finish. */
if (target_can_async_p () && target_executing)
{
Index: eval.c
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/eval.c,v
retrieving revision 1.6
diff -p -c -r1.6 eval.c
*** eval.c 2000/05/28 01:12:27 1.6
--- eval.c 2000/06/08 22:01:08
*************** get_label (exp, pos)
*** 184,190 ****
return NULL;
}
! /* This function evaluates tupes (in Chill) or brace-initializers
(in C/C++) for structure types. */
static value_ptr
--- 184,190 ----
return NULL;
}
! /* This function evaluates tuples (in Chill) or brace-initializers
(in C/C++) for structure types. */
static value_ptr
Index: gdb-events.sh
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/gdb-events.sh,v
retrieving revision 1.3
diff -p -c -r1.3 gdb-events.sh
*** gdb-events.sh 2000/04/03 04:43:26 1.3
--- gdb-events.sh 2000/06/08 22:02:35
***************
*** 34,40 ****
# here with respect to annotate. We might need to accomodate a hook
# stack that allows several ui blocks to install their own events.
! # Each of the variable events (as currently generated) is converteded
# to either a straight function call or a function call with a
# predicate.
--- 34,40 ----
# here with respect to annotate. We might need to accomodate a hook
# stack that allows several ui blocks to install their own events.
! # Each of the variable events (as currently generated) is converted
# to either a straight function call or a function call with a
# predicate.
Index: gdbarch.h
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/gdbarch.h,v
retrieving revision 1.22
diff -p -c -r1.22 gdbarch.h
*** gdbarch.h 2000/06/07 04:38:02 1.22
--- gdbarch.h 2000/06/08 22:05:30
***************
*** 28,34 ****
being reported.
If editing this file, please also run gdbarch.sh and merge any
! changes into that script. Conversely, when makeing sweeping changes
to this file, modifying gdbarch.sh and using its output may prove
easier. */
--- 28,34 ----
being reported.
If editing this file, please also run gdbarch.sh and merge any
! changes into that script. Conversely, when making sweeping changes
to this file, modifying gdbarch.sh and using its output may prove
easier. */
*************** extern int gdbarch_byte_order (struct gd
*** 85,91 ****
#endif
! /* The following are initialized by the target dependant code. */
/* Default (value) for non- multi-arch platforms. */
#if (GDB_MULTI_ARCH == 0) && !defined (TARGET_BFD_VMA_BIT)
--- 85,91 ----
#endif
! /* The following are initialized by the target dependent code. */
/* Default (value) for non- multi-arch platforms. */
#if (GDB_MULTI_ARCH == 0) && !defined (TARGET_BFD_VMA_BIT)
*************** extern struct gdbarch_tdep *gdbarch_tdep
*** 1142,1148 ****
The mechanisms below ensures that there is only a loose connection
between the set-architecture command and the various GDB
! components. Each component can independantly register their need
to maintain architecture specific data with gdbarch.
Pragmatics:
--- 1142,1148 ----
The mechanisms below ensures that there is only a loose connection
between the set-architecture command and the various GDB
! components. Each component can independently register their need
to maintain architecture specific data with gdbarch.
Pragmatics:
*************** extern struct gdbarch_tdep *gdbarch_tdep
*** 1152,1158 ****
The more traditional mega-struct containing architecture specific
data for all the various GDB components was also considered. Since
! GDB is built from a variable number of (fairly independant)
components it was determined that the global aproach was not
applicable. */
--- 1152,1158 ----
The more traditional mega-struct containing architecture specific
data for all the various GDB components was also considered. Since
! GDB is built from a variable number of (fairly independent)
components it was determined that the global aproach was not
applicable. */
*************** extern int gdbarch_update (struct gdbarc
*** 1267,1273 ****
INIT() shall return the initial value for the per-architecture
data-pointer for the current architecture.
! Multiple registrarants for any architecture are allowed (and
strongly encouraged). */
typedef void *(gdbarch_data_ftype) (void);
--- 1267,1273 ----
INIT() shall return the initial value for the per-architecture
data-pointer for the current architecture.
! Multiple registrants for any architecture are allowed (and
strongly encouraged). */
typedef void *(gdbarch_data_ftype) (void);
*************** extern void register_gdbarch_swap (void
*** 1298,1304 ****
! /* The target-system-dependant byte order is dynamic */
/* TARGET_BYTE_ORDER_SELECTABLE_P determines if the target endianness
is selectable at runtime. The user can use the ``set endian''
--- 1298,1304 ----
! /* The target-system-dependent byte order is dynamic */
/* TARGET_BYTE_ORDER_SELECTABLE_P determines if the target endianness
is selectable at runtime. The user can use the ``set endian''
*************** extern int target_byte_order_auto;
*** 1338,1344 ****
! /* The target-system-dependant BFD architecture is dynamic */
extern int target_architecture_auto;
#ifndef TARGET_ARCHITECTURE_AUTO
--- 1338,1344 ----
! /* The target-system-dependent BFD architecture is dynamic */
extern int target_architecture_auto;
#ifndef TARGET_ARCHITECTURE_AUTO
*************** extern const struct bfd_arch_info *targe
*** 1351,1357 ****
#endif
! /* The target-system-dependant disassembler is semi-dynamic */
#include "dis-asm.h" /* Get defs for disassemble_info */
--- 1351,1357 ----
#endif
! /* The target-system-dependent disassembler is semi-dynamic */
#include "dis-asm.h" /* Get defs for disassemble_info */
*************** extern disassemble_info tm_print_insn_in
*** 1392,1398 ****
#endif
! /* Set the dynamic target-system-dependant parameters (architecture,
byte-order, ...) using information found in the BFD */
extern void set_gdbarch_from_file (bfd *);
--- 1392,1398 ----
#endif
! /* Set the dynamic target-system-dependent parameters (architecture,
byte-order, ...) using information found in the BFD */
extern void set_gdbarch_from_file (bfd *);
Index: gdbarch.c
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/gdbarch.c,v
retrieving revision 1.27
diff -p -c -r1.27 gdbarch.c
*** gdbarch.c 2000/06/07 04:38:02 1.27
--- gdbarch.c 2000/06/08 22:10:19
***************
*** 28,34 ****
being reported.
If editing this file, please also run gdbarch.sh and merge any
! changes into that script. Conversely, when makeing sweeping changes
to this file, modifying gdbarch.sh and using its output may prove
easier. */
--- 28,34 ----
being reported.
If editing this file, please also run gdbarch.sh and merge any
! changes into that script. Conversely, when making sweeping changes
to this file, modifying gdbarch.sh and using its output may prove
easier. */
*************** gdbarch_data (data)
*** 2968,2974 ****
! /* Keep a registrary of swaped data required by GDB modules. */
struct gdbarch_swap
{
--- 2968,2974 ----
! /* Keep a registrary of swapped data required by GDB modules. */
struct gdbarch_swap
{
Index: gdbarch.sh
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/gdbarch.sh,v
retrieving revision 1.27
diff -p -c -r1.27 gdbarch.sh
*** gdbarch.sh 2000/06/07 04:38:02 1.27
--- gdbarch.sh 2000/06/08 22:37:36
*************** cat <<EOF
*** 463,469 ****
being reported.
If editing this file, please also run gdbarch.sh and merge any
! changes into that script. Conversely, when makeing sweeping changes
to this file, modifying gdbarch.sh and using its output may prove
easier. */
--- 463,469 ----
being reported.
If editing this file, please also run gdbarch.sh and merge any
! changes into that script. Conversely, when making sweeping changes
to this file, modifying gdbarch.sh and using its output may prove
easier. */
*************** done
*** 533,539 ****
# function typedef's
echo ""
echo ""
! echo "/* The following are initialized by the target dependant code. */"
function_list | while do_read # eval read $read
do
if class_is_predicate_p
--- 533,539 ----
# function typedef's
echo ""
echo ""
! echo "/* The following are initialized by the target dependent code. */"
function_list | while do_read # eval read $read
do
if class_is_predicate_p
*************** extern struct gdbarch_tdep *gdbarch_tdep
*** 632,638 ****
The mechanisms below ensures that there is only a loose connection
between the set-architecture command and the various GDB
! components. Each component can independantly register their need
to maintain architecture specific data with gdbarch.
Pragmatics:
--- 632,638 ----
The mechanisms below ensures that there is only a loose connection
between the set-architecture command and the various GDB
! components. Each component can independently register their need
to maintain architecture specific data with gdbarch.
Pragmatics:
*************** extern struct gdbarch_tdep *gdbarch_tdep
*** 642,648 ****
The more traditional mega-struct containing architecture specific
data for all the various GDB components was also considered. Since
! GDB is built from a variable number of (fairly independant)
components it was determined that the global aproach was not
applicable. */
--- 642,648 ----
The more traditional mega-struct containing architecture specific
data for all the various GDB components was also considered. Since
! GDB is built from a variable number of (fairly independent)
components it was determined that the global aproach was not
applicable. */
*************** extern int gdbarch_update (struct gdbarc
*** 757,763 ****
INIT() shall return the initial value for the per-architecture
data-pointer for the current architecture.
! Multiple registrarants for any architecture are allowed (and
strongly encouraged). */
typedef void *(gdbarch_data_ftype) (void);
--- 757,763 ----
INIT() shall return the initial value for the per-architecture
data-pointer for the current architecture.
! Multiple registrants for any architecture are allowed (and
strongly encouraged). */
typedef void *(gdbarch_data_ftype) (void);
*************** extern void register_gdbarch_swap (void
*** 788,794 ****
! /* The target-system-dependant byte order is dynamic */
/* TARGET_BYTE_ORDER_SELECTABLE_P determines if the target endianness
is selectable at runtime. The user can use the \`\`set endian''
--- 788,794 ----
! /* The target-system-dependent byte order is dynamic */
/* TARGET_BYTE_ORDER_SELECTABLE_P determines if the target endianness
is selectable at runtime. The user can use the \`\`set endian''
*************** extern int target_byte_order_auto;
*** 828,834 ****
! /* The target-system-dependant BFD architecture is dynamic */
extern int target_architecture_auto;
#ifndef TARGET_ARCHITECTURE_AUTO
--- 828,834 ----
! /* The target-system-dependent BFD architecture is dynamic */
extern int target_architecture_auto;
#ifndef TARGET_ARCHITECTURE_AUTO
*************** extern const struct bfd_arch_info *targe
*** 841,847 ****
#endif
! /* The target-system-dependant disassembler is semi-dynamic */
#include "dis-asm.h" /* Get defs for disassemble_info */
--- 841,847 ----
#endif
! /* The target-system-dependent disassembler is semi-dynamic */
#include "dis-asm.h" /* Get defs for disassemble_info */
*************** extern disassemble_info tm_print_insn_in
*** 882,888 ****
#endif
! /* Set the dynamic target-system-dependant parameters (architecture,
byte-order, ...) using information found in the BFD */
extern void set_gdbarch_from_file (bfd *);
--- 882,888 ----
#endif
! /* Set the dynamic target-system-dependent parameters (architecture,
byte-order, ...) using information found in the BFD */
extern void set_gdbarch_from_file (bfd *);
*************** gdbarch_data (data)
*** 1410,1416 ****
! /* Keep a registrary of swaped data required by GDB modules. */
struct gdbarch_swap
{
--- 1410,1416 ----
! /* Keep a registrary of swapped data required by GDB modules. */
struct gdbarch_swap
{
Index: gdbtypes.h
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/gdbtypes.h,v
retrieving revision 1.5
diff -p -c -r1.5 gdbtypes.h
*** gdbtypes.h 2000/05/28 01:12:27 1.5
--- gdbtypes.h 2000/06/08 22:16:43
*************** enum type_code
*** 147,153 ****
/* No sign for this type. In C++, "char", "signed char", and "unsigned
char" are distinct types; so we need an extra flag to indicate the
! absence ofa sign! */
#define TYPE_FLAG_NOSIGN (1 << 1)
--- 147,153 ----
/* No sign for this type. In C++, "char", "signed char", and "unsigned
char" are distinct types; so we need an extra flag to indicate the
! absence of a sign! */
#define TYPE_FLAG_NOSIGN (1 << 1)
Index: gdbtypes.c
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/gdbtypes.c,v
retrieving revision 1.9
diff -p -c -r1.9 gdbtypes.c
*** gdbtypes.c 2000/05/28 01:12:27 1.9
--- gdbtypes.c 2000/06/08 22:15:08
*************** struct extra
*** 82,88 ****
{
char str[128];
int len;
! }; /* maximum extention is 128! FIXME */
static void add_name (struct extra *, char *);
static void add_mangled_type (struct extra *, struct type *);
--- 82,88 ----
{
char str[128];
int len;
! }; /* maximum extension is 128! FIXME */
static void add_name (struct extra *, char *);
static void add_mangled_type (struct extra *, struct type *);
Index: infcmd.c
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/infcmd.c,v
retrieving revision 1.7
diff -p -c -r1.7 infcmd.c
*** infcmd.c 2000/05/28 01:12:27 1.7
--- infcmd.c 2000/06/08 22:17:37
*************** print_return_value (int structure_return
*** 1104,1110 ****
only chance we have to complete this command is in
fetch_inferior_event, which is called by the event loop as soon as it
detects that the target has stopped. This function is called via the
! cmd_continaution pointer. */
void
finish_command_continuation (arg)
struct continuation_arg *arg;
--- 1104,1110 ----
only chance we have to complete this command is in
fetch_inferior_event, which is called by the event loop as soon as it
detects that the target has stopped. This function is called via the
! cmd_continuation pointer. */
void
finish_command_continuation (arg)
struct continuation_arg *arg;
Index: infrun.c
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/infrun.c,v
retrieving revision 1.16
diff -p -c -r1.16 infrun.c
*** infrun.c 2000/06/08 01:52:44 1.16
--- infrun.c 2000/06/08 22:20:24
*************** handle_inferior_event (struct execution_
*** 1432,1438 ****
insert_breakpoints ();
/* We need to restart all the threads now,
! * unles we're running in scheduler-locked mode.
* FIXME: shouldn't we look at currently_stepping ()?
*/
if (scheduler_mode == schedlock_on)
--- 1432,1438 ----
insert_breakpoints ();
/* We need to restart all the threads now,
! * unless we're running in scheduler-locked mode.
* FIXME: shouldn't we look at currently_stepping ()?
*/
if (scheduler_mode == schedlock_on)
Index: d10v-tdep.c
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/d10v-tdep.c,v
retrieving revision 1.7
diff -p -c -r1.7 d10v-tdep.c
*** d10v-tdep.c 2000/06/04 00:41:09 1.7
--- d10v-tdep.c 2000/06/08 23:08:02
*************** d10v_ts3_register_name (int reg_nr)
*** 198,204 ****
return register_names[reg_nr];
}
! /* Access the DMAP/IMAP registers in a target independant way. */
static unsigned long
d10v_ts2_dmap_register (int reg_nr)
--- 198,204 ----
return register_names[reg_nr];
}
! /* Access the DMAP/IMAP registers in a target independent way. */
static unsigned long
d10v_ts2_dmap_register (int reg_nr)
Index: arch-utils.c
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/arch-utils.c,v
retrieving revision 1.9
diff -p -c -r1.9 arch-utils.c
*** arch-utils.c 2000/06/08 04:00:56 1.9
--- arch-utils.c 2000/06/08 23:13:39
*************** info_architecture (char *args, int from_
*** 535,541 ****
printf_filtered ("\n");
}
! /* Set the dynamic target-system-dependant parameters (architecture,
byte-order) using information found in the BFD */
void
--- 535,541 ----
printf_filtered ("\n");
}
! /* Set the dynamic target-system-dependent parameters (architecture,
byte-order) using information found in the BFD */
void
Index: arch-utils.h
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/arch-utils.h,v
retrieving revision 1.7
diff -p -c -r1.7 arch-utils.h
*** arch-utils.h 2000/06/07 04:38:02 1.7
--- arch-utils.h 2000/06/08 23:14:37
*************** extern int frame_num_args_unknown (struc
*** 76,88 ****
targets. */
/* DEPRECATED pre- multi-arch interface. Explicitly set the dynamic
! target-system-dependant parameters based on bfd_architecture and
machine. This function is deprecated, use
set_gdbarch_from_arch_machine(). */
extern void set_architecture_from_arch_mach (enum bfd_architecture, unsigned long);
! /* DEPRECATED pre- multi-arch interface. Notify the target dependant
backend of a change to the selected architecture. A zero return
status indicates that the target did not like the change. */
--- 76,88 ----
targets. */
/* DEPRECATED pre- multi-arch interface. Explicitly set the dynamic
! target-system-dependent parameters based on bfd_architecture and
machine. This function is deprecated, use
set_gdbarch_from_arch_machine(). */
extern void set_architecture_from_arch_mach (enum bfd_architecture, unsigned long);
! /* DEPRECATED pre- multi-arch interface. Notify the target dependent
backend of a change to the selected architecture. A zero return
status indicates that the target did not like the change. */
Index: symfile.c
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/symfile.c,v
retrieving revision 1.12
diff -p -c -r1.12 symfile.c
*** symfile.c 2000/06/04 00:41:09 1.12
--- symfile.c 2000/06/08 23:21:47
*************** syms_from_objfile (objfile, addrs, mainl
*** 778,784 ****
discard_cleanups (old_chain);
/* Call this after reading in a new symbol table to give target
! dependant code a crack at the new symbols. For instance, this
could be used to update the values of target-specific symbols GDB
needs to keep track of (such as _sigtramp, or whatever). */
--- 778,784 ----
discard_cleanups (old_chain);
/* Call this after reading in a new symbol table to give target
! dependent code a crack at the new symbols. For instance, this
could be used to update the values of target-specific symbols GDB
needs to keep track of (such as _sigtramp, or whatever). */
*************** reread_symbols ()
*** 1787,1793 ****
reread_one = 1;
/* Call this after reading in a new symbol table to give target
! dependant code a crack at the new symbols. For instance, this
could be used to update the values of target-specific symbols GDB
needs to keep track of (such as _sigtramp, or whatever). */
--- 1787,1793 ----
reread_one = 1;
/* Call this after reading in a new symbol table to give target
! dependent code a crack at the new symbols. For instance, this
could be used to update the values of target-specific symbols GDB
needs to keep track of (such as _sigtramp, or whatever). */
Index: symfile.h
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/symfile.h,v
retrieving revision 1.5
diff -p -c -r1.5 symfile.h
*** symfile.h 2000/06/04 00:41:09 1.5
--- symfile.h 2000/06/08 23:15:14
*************** struct psymbol_allocation_list
*** 64,70 ****
#define MAX_SECTIONS 40
struct section_addr_info
{
! /* Sections whose names are file format dependant. */
struct other_sections
{
CORE_ADDR addr;
--- 64,70 ----
#define MAX_SECTIONS 40
struct section_addr_info
{
! /* Sections whose names are file format dependent. */
struct other_sections
{
CORE_ADDR addr;
Index: target.h
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/target.h,v
retrieving revision 1.6
diff -p -c -r1.6 target.h
*** target.h 2000/06/04 00:41:09 1.6
--- target.h 2000/06/08 23:16:40
*************** extern void (*target_new_objfile_hook) (
*** 1124,1136 ****
#define target_pid_to_exec_file(pid) \
(current_target.to_pid_to_exec_file) (pid)
! /* Hook to call target-dependant code after reading in a new symbol table. */
#ifndef TARGET_SYMFILE_POSTREAD
#define TARGET_SYMFILE_POSTREAD(OBJFILE)
#endif
! /* Hook to call target dependant code just after inferior target process has
started. */
#ifndef TARGET_CREATE_INFERIOR_HOOK
--- 1124,1136 ----
#define target_pid_to_exec_file(pid) \
(current_target.to_pid_to_exec_file) (pid)
! /* Hook to call target-dependent code after reading in a new symbol table. */
#ifndef TARGET_SYMFILE_POSTREAD
#define TARGET_SYMFILE_POSTREAD(OBJFILE)
#endif
! /* Hook to call target dependent code just after inferior target process has
started. */
#ifndef TARGET_CREATE_INFERIOR_HOOK
Index: blockframe.c
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/blockframe.c,v
retrieving revision 1.4
diff -p -c -r1.4 blockframe.c
*** blockframe.c 2000/04/29 08:55:45 1.4
--- blockframe.c 2000/06/08 22:48:47
*************** pc_in_call_dummy_at_entry_point (pc, sp,
*** 1089,1095 ****
* The following code serves to maintain the dummy stack frames for
* inferior function calls (ie. when gdb calls into the inferior via
* call_function_by_hand). This code saves the machine state before
! * the call in host memory, so we must maintain an independant stack
* and keep it consistant etc. I am attempting to make this code
* generic enough to be used by many targets.
*
--- 1089,1095 ----
* The following code serves to maintain the dummy stack frames for
* inferior function calls (ie. when gdb calls into the inferior via
* call_function_by_hand). This code saves the machine state before
! * the call in host memory, so we must maintain an independent stack
* and keep it consistant etc. I am attempting to make this code
* generic enough to be used by many targets.
*
Index: fork-child.c
===================================================================
RCS file: /xlv2/davea/sourceware/src/gdb/fork-child.c,v
retrieving revision 1.3
diff -p -c -r1.3 fork-child.c
*** fork-child.c 2000/06/04 00:41:09 1.3
--- fork-child.c 2000/06/08 23:19:21
*************** fork_inferior (exec_file, allargs, env,
*** 368,374 ****
correct program, and are poised at the first instruction of the
new program. */
! /* Allow target dependant code to play with the new process. This might be
used to have target-specific code initialize a variable in the new process
prior to executing the first instruction. */
TARGET_CREATE_INFERIOR_HOOK (pid);
--- 368,374 ----
correct program, and are poised at the first instruction of the
new program. */
! /* Allow target dependent code to play with the new process. This might be
used to have target-specific code initialize a variable in the new process
prior to executing the first instruction. */
TARGET_CREATE_INFERIOR_HOOK (pid);
===================================================================
davea@sgi.com