X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fdoc%2Fgdbint.texinfo;h=1edb444a4c9e2b7a1890c55387991f9a01f2e064;hb=3067f6e5f1ef45e7882121519ed20dec1c41fc8a;hp=3bb816f38775759f66c51a561815817a30f3247d;hpb=1f70da6a3acba8bc6171565c0389aa1f165ca4c7;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 3bb816f387..1edb444a4c 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -2513,23 +2513,6 @@ printed representations of your operators to @code{op_print_tab}. Add a call to @code{@var{lang}_parse()} and @code{@var{lang}_error} in @code{parse_exp_1} (defined in @file{parse.c}). -@item Use macros to trim code - -@cindex trimming language-dependent code -The user has the option of building @value{GDBN} for some or all of the -languages. If the user decides to build @value{GDBN} for the language -@var{lang}, then every file dependent on @file{language.h} will have the -macro @code{_LANG_@var{lang}} defined in it. Use @code{#ifdef}s to -leave out large routines that the user won't need if he or she is not -using your language. - -Note that you do not need to do this in your YACC parser, since if @value{GDBN} -is not build for @var{lang}, then @file{@var{lang}-exp.tab.o} (the -compiled form of your parser) is not linked into @value{GDBN} at all. - -See the file @file{configure.in} for how @value{GDBN} is configured -for different languages. - @item Edit @file{Makefile.in} Add dependencies in @file{Makefile.in}. Make sure you update the macro @@ -3159,8 +3142,8 @@ type = int * @@short @emph{Maintainer note: This section is pretty much obsolete. The functionality described here has largely been replaced by -pseudo-registers and the mechanisms described in @ref{Target -Architecture Definition, , Using Different Register and Memory Data +pseudo-registers and the mechanisms described in @ref{Register and +Memory Data, , Using Different Register and Memory Data Representations}. See also @uref{http://www.gnu.org/software/gdb/bugs/, Bug Tracking Database} and @uref{http://sources.redhat.com/gdb/current/ari/, ARI Index} for more @@ -3657,13 +3640,6 @@ return gdbarch_addr_bits_remove (gdbarch, sp); @noindent @xref{TARGET_READ_SP}, which this method replaces. -@item FUNCTION_EPILOGUE_SIZE -@findex FUNCTION_EPILOGUE_SIZE -For some COFF targets, the @code{x_sym.x_misc.x_fsize} field of the -function end symbol is 0. For such targets, you must define -@code{FUNCTION_EPILOGUE_SIZE} to expand into the standard size of a -function's epilogue. - @item GCC_COMPILED_FLAG_SYMBOL @itemx GCC2_COMPILED_FLAG_SYMBOL @findex GCC2_COMPILED_FLAG_SYMBOL @@ -4121,11 +4097,6 @@ not defined, it will default to @code{0xf}. @item REMOTE_BPT_VECTOR Defaults to @code{1}. -@item const char *gdbarch_name_of_malloc (@var{gdbarch}) -@findex gdbarch_name_of_malloc -A string containing the name of the function to call in order to -allocate some memory in the inferior. The default value is "malloc". - @end ftable @node Adding a New Target @@ -4424,7 +4395,7 @@ native-dependent object files, by defining @samp{NATDEPFILES=@dots{}}. Also specifies the header file which describes native support on @var{xyz}, by defining @samp{NAT_FILE= nm-@var{xyz}.h}. You can also define @samp{NAT_CFLAGS}, @samp{NAT_ADD_FILES}, @samp{NAT_CLIBS}, -@samp{NAT_CDEPS}, etc.; see @file{Makefile.in}. +@samp{NAT_CDEPS}, @samp{NAT_GENERATED_FILES}, etc.; see @file{Makefile.in}. @emph{Maintainer's note: The @file{.mh} suffix is because this file originally contained @file{Makefile} fragments for hosting @value{GDBN}