This is the mail archive of the gdb-patches@sourceware.org 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] |
Hi Tom, According to your comments in "[PATCH] Add CTF support to GDB [1/4] Add "-ctf" to tsave command". I make this patch to add fseek to ui-file. Please help me review it. And stdio_file_fseek has a place different from the other stdio_file functions. It check the return of fseek. If it got error, it will throw error. If you think it is OK, I will post patch for other stdio_file functions. If not, it will update this patch. Thanks, Hui 2012-12-06 Hui Zhu <hui_zhu@mentor.com> * ui-file.c (ui_file): Add to_fseek. (ui_file_new): Call set_ui_file_fseek. (null_file_fseek, ui_file_fseek, set_ui_file_fseek, stdio_file_fseek): New functions. (stdio_file_new): Call set_ui_file_fseek. * ui-file.h (ui_file_fseek_ftype): New typedef. (set_ui_file_fseek, ui_file_fseek): New externs.
Attachment:
ui-file-fseek.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |