This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] fullname attribute for GDB/MI stack frames


> Please! I'm gonna cry! you are suggesting to revert the code that took
> hard work to get right!  openp used to do d:foo -> d:/foo, but that
> was blatantly wrong and caused bugs.  Let's not go that way just
> because some test case doesn't seem 100% right!
> 
> I am frustrated by my evident inability to communicate to you all the
> simple truth: openp IS OKAY, IT DOESN'T NEED ANY FIXING!

>From this email, I understand completly why it would be impossible for
GDB to translate \abc into an absolute path. If the compiler was nieve
enought to put \abc, it's possible that the current drive is different
when GDB looks for the file then when the user compiled it. (Sorry, I
know you already said this, but I believe if I type it all out, it just
might sink in)

I asked a question in this Email,
http://sources.redhat.com/ml/gdb-patches/2005-05/msg00100.html

>From the understanding I have now, there is still two options,

   - Use .* as a regex and say anthing goes
   - Use a regex that detects absolute paths and the 2 special case's
     you know of. When this breaks, fix the fullname machinery.

Now, if from the beggining, your original regex was solving the second
problem, I've very sorry for the trouble my hard head put you through.

Would the second solution above satisfy you? anyone else? I'd prefer
that solution.

Thanks,
Bob Rossi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]