[haiku-bugs] Re: [Haiku] #8173: Weird characters in gdb Terminal title

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Tue, 06 Dec 2011 03:08:06 -0000

#8173: Weird characters in gdb Terminal title
-------------------------------------+----------------------------
   Reporter:  humdinger              |      Owner:  anevilyak
       Type:  bug                    |     Status:  assigned
   Priority:  normal                 |  Milestone:  R1
  Component:  Applications/Terminal  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by anevilyak):

 Attached a patch for review: We now pass in a BString object that
 _SetupGDBArguments() can build up its command string in, with marker
 characters indicating the bounds of the arguments, then replace those with
 nulls before building up the argv array. This ensures that the character
 buffer for all the args is valid when calling load_image(). Thoughts?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8173#comment:11>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: