[mingw] build error of the latest CVS

Pedro Alves palves@redhat.com
Wed Jun 13 09:40:00 GMT 2012


On 06/13/2012 10:22 AM, Pedro Alves wrote:

> On 06/13/2012 01:22 AM, asmwarrior wrote:
> 
>> On 2012-6-13 8:19, asmwarrior wrote:
>>> f:\build_gdb\gdb\gdbgit\newbuild\gdb/../../gdb/gdb/mingw-hdep.c:125: undefined reference to `serial_for_fd'
>>
>> Ok, I found that this function body was deleted in:
>>
>> SHA-1: 877dce5b0d75d33cf93a4cda88a73cf828be5875
>>
>> * 2012-06-11  Pedro Alves  <palves@redhat.com>
>>
>>     Remove #if 0'd "connect" command, and unnecessary associated
>>     refcounting and serial reuse bits.
>>
>>     * serial.h (struct serial): Remove fields 'next' and 'refcnt'.
>>     * serial.c (last_serial_opened): Delete.
>>     (scb_base): Delete.
>>     (serial_open): Adjust.
>>     (serial_for_fd): Delete.
>>     (serial_fdopen_ops, do_serial_close): Adjust.
>>     (serial_fdopen_ops): Adjust.
> 
> 
> Whoops, I didn't notice there were other users of that function.  I'll take a look.


We can just restore the function.  I'm testing a patch.

-- 
Pedro Alves



More information about the Gdb mailing list