public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: fix-n-continue
       [not found] ` <B5CEB264-E2C2-11D8-A75B-003065BDF310@apple.com>
@ 2004-08-01  5:51   ` Geoffrey Keating
  0 siblings, 0 replies; 2+ messages in thread
From: Geoffrey Keating @ 2004-08-01  5:51 UTC (permalink / raw)
  To: Mike Stump; +Cc: gcc-patches

Mike Stump <mrs@apple.com> writes:

> On Friday, July 30, 2004, at 07:04  PM, David Edelsohn wrote:
> > 	Can you make the new target bits local to darwin.h and overlap
> > some of the SVR4 bits instead of taking up the remaining generally
> > available bits for something that is Darwin-specific?
> 
> Yes.  I didn't like the overlap idea, as the bits can't be used
> simultaneously.  I moved them all into the darwin files.
> 
> Ok?

No.  This patch has many problems, most notably lack of any
explanation as to what it does.  At the very least,

> *** ./doc/invoke.texi.~1~	Mon Jul 26 19:11:21 2004
> --- ./doc/invoke.texi	Wed Jul 28 19:02:35 2004
> *************** This is by default ON.
> *** 6930,6935 ****
> --- 6930,6951 ----
>   @opindex -gfull
>   Emit debugging information for all symbols and types.
>   
> + @item -mfix-and-continue
> + @itemx -ffix-and-continue
> + @opindex mfix-and-continue
> + @opindex ffix-and-continue
> + Generate code suitable for fast turn around development.  Needed to
> + enable gdb to dynamically load @code{.o} files into already running
> + programs.
> + 
> + @item -mindirect-data
> + @itemx -findirect-data
> + @opindex mindirect-data
> + @opindex findirect-data
> + Generate code suitable for fast turn around development.  Needed to
> + enable gdb to dynamically load @code{.o} files into already running
> + programs.
> + 
>   @item -all_load
>   @opindex all_load
>   Loads all members of static archive libraries.
> --------------

Why are there two switches with identical documentation?  Why are
these target-specific switches documented as starting with -f?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fix-n-continue
       [not found] <F411B1AC-E287-11D8-A75B-003065BDF310@apple.com>
@ 2004-08-03 18:15 ` Mark Mitchell
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Mitchell @ 2004-08-03 18:15 UTC (permalink / raw)
  To: Mike Stump; +Cc: gcc-patches

Mike Stump wrote:

> Here are some patches to support fast turn around debugging for darwin...

Minor point:

>+   lprefix = (((name[0] == '*' || name[0] == '&')
>+               && (name[1] == 'L' || (name[1] == '"' && name[2] == 'L')))
>+              || (name[0] == '_'
>+                  && name[1] == 'O'
>+                  && name[2] == 'B'
>+                  && name[3] == 'J'
>+                  && name[4] == 'C'
>+                  && name[5] == '_'));
>
>  
>
Should just be "strncmp (name, "_OBJC_", 6)" -- unless you're convinced 
that you get inferior code that way?

-- 
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-03 18:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200407310204.i6V24SD27210@makai.watson.ibm.com>
     [not found] ` <B5CEB264-E2C2-11D8-A75B-003065BDF310@apple.com>
2004-08-01  5:51   ` fix-n-continue Geoffrey Keating
     [not found] <F411B1AC-E287-11D8-A75B-003065BDF310@apple.com>
2004-08-03 18:15 ` fix-n-continue Mark Mitchell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).