This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: please remove control chars
Jimmy Guo wrote:
>
> Remove the '^@' control character from these three files. These files
> are under ClearCase source control at HP, as text_file type, which
> cannot accept funny control chars in updates. I don't think you can use
> 'patch' to apply this though, for the similar reason caused by the
> presence of these control chars. Nevertheless, the patch file is
> provided here to show the point. Thanks.
Jimmy,
If you haven't already, please feel free to commit (thanks!). Anyone is
free to do what they like (ok within reason :-) to the ``obsolete''
code :-)
enjoy,
Andrew
> Wed Jul 26 16:37:40 2000 Jimmy Guo <guo@cup.hp.com>
> * config/convex/tm-convex.h: Remove control characters.
> * config/m68k/tm-altos.h: Ditto.
> * config/tahoe/tm-tahoe.h: Ditto.
>
> *** config/convex/tm-convex.h Tue Jul 25 10:54:53 2000
> --- config/convex/tm-convex.h@@/main/cygnus/LATEST Wed Jun 14 12:42:12 2000
> ***************
> *** 52,58 ****
> /* OBSOLETE [ld.- -(ap),-] pcc/gcc register arg loads */
> /* OBSOLETE *x/ */
> /* OBSOLETE */
> ! /* OBSOLETE extern CORE_ADDR convex_skip_prologue (CORE_ADDR pc);
> /* OBSOLETE #define SKIP_PROLOGUE(pc) (convex_skip_prologue (pc)) */
> /* OBSOLETE */
> /* OBSOLETE /* Immediately after a function call, return the saved pc. */
> --- 52,58 ----
> /* OBSOLETE [ld.- -(ap),-] pcc/gcc register arg loads */
> /* OBSOLETE *x/ */
> /* OBSOLETE */
> ! /* OBSOLETE extern CORE_ADDR convex_skip_prologue (CORE_ADDR pc); */
> /* OBSOLETE #define SKIP_PROLOGUE(pc) (convex_skip_prologue (pc)) */
> /* OBSOLETE */
> /* OBSOLETE /* Immediately after a function call, return the saved pc. */
> ***************
> *** 265,271 ****
> /* OBSOLETE On convex, check at the return address for `callq' -- if so, frameless, */
> /* OBSOLETE otherwise, not. *x/ */
> /* OBSOLETE */
> ! /* OBSOLETE extern int convex_frameless_function_invocation (struct frame_info *fi);
> /* OBSOLETE #define FRAMELESS_FUNCTION_INVOCATION(FI) (convex_frameless_function_invocatio (FI)) */
> /* OBSOLETE */
> /* OBSOLETE #define FRAME_SAVED_PC(fi) (read_memory_integer ((fi)->frame, 4)) */
> --- 265,271 ----
> /* OBSOLETE On convex, check at the return address for `callq' -- if so, frameless, */
> /* OBSOLETE otherwise, not. *x/ */
> /* OBSOLETE */
> ! /* OBSOLETE extern int convex_frameless_function_invocation (struct frame_info *fi); */
> /* OBSOLETE #define FRAMELESS_FUNCTION_INVOCATION(FI) (convex_frameless_function_invocatio (FI)) */
> /* OBSOLETE */
> /* OBSOLETE #define FRAME_SAVED_PC(fi) (read_memory_integer ((fi)->frame, 4)) */
> ***************
> *** 277,283 ****
> /* OBSOLETE /* Return number of args passed to a frame. */
> /* OBSOLETE Can return -1, meaning no way to tell. *x/ */
> /* OBSOLETE */
> ! /* OBSOLETE extern int convex_frame_num_args (struct frame_info *fi);
> /* OBSOLETE #define FRAME_NUM_ARGS(fi) (convex_frame_num_args ((fi))) */
> /* OBSOLETE */
> /* OBSOLETE /* Return number of bytes at start of arglist that are not really args. *x/ */
> --- 277,283 ----
> /* OBSOLETE /* Return number of args passed to a frame. */
> /* OBSOLETE Can return -1, meaning no way to tell. *x/ */
> /* OBSOLETE */
> ! /* OBSOLETE extern int convex_frame_num_args (struct frame_info *fi); */
> /* OBSOLETE #define FRAME_NUM_ARGS(fi) (convex_frame_num_args ((fi))) */
> /* OBSOLETE */
> /* OBSOLETE /* Return number of bytes at start of arglist that are not really args. *x/ */
> *** config/m68k/tm-altos.h Tue Jul 25 10:54:57 2000
> --- config/m68k/tm-altos.h@@/main/cygnus/LATEST Wed Jun 14 12:45:07 2000
> ***************
> *** 38,44 ****
> /* OBSOLETE /* The only reason this is here is the tm-altos.h reference below. It */
> /* OBSOLETE was moved back here from tm-m68k.h. FIXME? *x/ */
> /* OBSOLETE */
> ! /* OBSOLETE extern CORE_ADDR altos_skip_prologue (CORE_ADDR);
> /* OBSOLETE #define SKIP_PROLOGUE(pc) (altos_skip_prologue (pc)) */
> /* OBSOLETE */
> /* OBSOLETE #include "m68k/tm-m68k.h" */
> --- 38,44 ----
> /* OBSOLETE /* The only reason this is here is the tm-altos.h reference below. It */
> /* OBSOLETE was moved back here from tm-m68k.h. FIXME? *x/ */
> /* OBSOLETE */
> ! /* OBSOLETE extern CORE_ADDR altos_skip_prologue (CORE_ADDR); */
> /* OBSOLETE #define SKIP_PROLOGUE(pc) (altos_skip_prologue (pc)) */
> /* OBSOLETE */
> /* OBSOLETE #include "m68k/tm-m68k.h" */
> *** config/tahoe/tm-tahoe.h Tue Jul 25 10:55:05 2000
> --- config/tahoe/tm-tahoe.h@@/main/cygnus/LATEST Wed Jun 14 12:48:01 2000
> ***************
> *** 34,40 ****
> /* OBSOLETE /* Advance PC across any function entry prologue instructions */
> /* OBSOLETE to reach some "real" code. *x/ */
> /* OBSOLETE */
> ! /* OBSOLETE extern CORE_ADDR tahoe_skip_prologue (CORE_ADDR);
> /* OBSOLETE #define SKIP_PROLOGUE(pc) (tahoe_skip_prologue (pc)) */
> /* OBSOLETE */
> /* OBSOLETE /* Immediately after a function call, return the saved pc. */
> --- 34,40 ----
> /* OBSOLETE /* Advance PC across any function entry prologue instructions */
> /* OBSOLETE to reach some "real" code. *x/ */
> /* OBSOLETE */
> ! /* OBSOLETE extern CORE_ADDR tahoe_skip_prologue (CORE_ADDR); */
> /* OBSOLETE #define SKIP_PROLOGUE(pc) (tahoe_skip_prologue (pc)) */
> /* OBSOLETE */
> /* OBSOLETE /* Immediately after a function call, return the saved pc. */
> ***************
> *** 190,196 ****
> /* OBSOLETE /* Return number of args passed to a frame. */
> /* OBSOLETE Can return -1, meaning no way to tell. *x/ */
> /* OBSOLETE */
> ! /* OBSOLETE extern int tahoe_frame_num_args (struct frame_info * fi);
> /* OBSOLETE #define FRAME_NUM_ARGS(fi) (tahoe_frame_num_args ((fi))) */
> /* OBSOLETE */
> /* OBSOLETE /* Return number of bytes at start of arglist that are not really args. *x/ */
> --- 190,196 ----
> /* OBSOLETE /* Return number of args passed to a frame. */
> /* OBSOLETE Can return -1, meaning no way to tell. *x/ */
> /* OBSOLETE */
> ! /* OBSOLETE extern int tahoe_frame_num_args (struct frame_info * fi); */
> /* OBSOLETE #define FRAME_NUM_ARGS(fi) (tahoe_frame_num_args ((fi))) */
> /* OBSOLETE */
> /* OBSOLETE /* Return number of bytes at start of arglist that are not really args. *x/ */