aboutsummaryrefslogtreecommitdiff
path: root/gdb/source.c
AgeCommit message (Expand)AuthorFilesLines
2018-11-19Change get_filename_and_charpos to return voidTom Tromey1-12/+2
2018-11-09Return scoped_fd from open_source_file and find_and_open_sourceTom Tromey1-34/+31
2018-11-05Fix 4K leak in open_source_file each time next/step changes of function.Philippe Waroquiers1-1/+2
2018-09-13Remove cleanup from add_pathTom Tromey1-9/+7
2018-06-09Remove two more uses of make_cleanup_closeTom Tromey1-18/+12
2018-03-08Use scoped_fd in more placesTom Tromey1-7/+5
2018-03-02Make delim_string_to_char_ptr_vec return an std::vectorSimon Marchi1-15/+9
2018-02-28Make gdbserver work with filename-only binariesSergio Durigan Junior1-34/+0
2018-02-28Create new common/pathstuff.[ch]Sergio Durigan Junior1-0/+1
2018-02-14Change openp et al to use a unique_xmalloc_ptrTom Tromey1-22/+19
2018-02-13Use enum flags for flags passed to openpSimon Marchi1-1/+1
2018-02-09Don't reference past the end of the vectorTom Tromey1-1/+1
2018-02-08Use gdb::def_vector in find_source_linesTom Tromey1-12/+8
2018-01-02Update copyright year range in all GDB filesJoel Brobecker1-1/+1
2017-11-07Constify add_setshow_*Tom Tromey1-1/+2
2017-11-07Remove cmd_cfunc_ftypeTom Tromey1-1/+1
2017-11-07Constify add_infoTom Tromey1-6/+2
2017-11-07Constify add_comTom Tromey1-6/+2
2017-11-07Constify add_path and friendsTom Tromey1-3/+3
2017-09-27Constify some commands in source.cTom Tromey1-3/+3
2017-09-09Remove unnecessary function prototypes.John Baldwin1-4/+0
2017-09-04Kill init_salPedro Alves1-7/+6
2017-09-04struct symtabs_and_lines -> std::vector<symtab_and_line>Pedro Alves1-25/+18
2017-08-22Rename some command functionsSimon Marchi1-6/+6
2017-08-22Change rewrite_source_path to return a unique_xmalloc_ptrTom Tromey1-31/+19
2017-08-22Change gdb_realpath to return a unique_xmalloc_ptrTom Tromey1-2/+2
2017-08-22Change gdb_abspath to return a unique_xmalloc_ptrTom Tromey1-1/+1
2017-08-05Use gdb::unique_xmalloc_ptr when calling tilde_expandTom Tromey1-5/+3
2017-08-03Introduce gdb_argv, a class wrapper for buildargvTom Tromey1-24/+6
2017-08-03Use gdb_file_up in source.cTom Tromey1-29/+16
2017-01-01update copyright year range in GDB filesJoel Brobecker1-1/+1
2016-12-22Class-ify ui_outSimon Marchi1-17/+14
2016-09-16gdb: Use std::min and std::max throughoutPedro Alves1-3/+4
2016-04-21Add missing sentinel 'char *' casts in concat/reconcat callsPedro Alves1-2/+2
2016-04-19* source.c (is_regular_file): New arg errno_ptr.Doug Evans1-8/+27
2016-01-01GDB copyright headers update after running GDB's copyright.py script.Joel Brobecker1-1/+1
2015-12-11gdb: Make lines_to_list variable static.Andrew Burgess1-1/+1
2015-11-17Type-safe wrapper for enum flagsPedro Alves1-3/+4
2015-10-27source.c:openp: save/restore errnoPedro Alves1-0/+7
2015-09-25Add casts to memory allocation related callsSimon Marchi1-8/+8
2015-08-26Replace some xmalloc-family functions with XNEW-family onesSimon Marchi1-5/+3
2015-08-01Replace the block_found global with explicit data-flowPierre-Marie de Rodat1-1/+1
2015-04-11Remove --xdbJan Kratochvil1-16/+0
2015-01-30Add producer string to output of info source.Doug Evans1-2/+8
2015-01-01Update year range in copyright notice of all files owned by the GDB project.Joel Brobecker1-1/+1
2014-11-20Split struct symtab into two: struct symtab and compunit_symtab.Doug Evans1-4/+8
2014-11-18SYMTAB_DIRNAME: New macro.Doug Evans1-6/+8
2014-11-18SYMTAB_OBJFILE: New macro.Doug Evans1-4/+5
2014-11-10source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.Doug Evans1-11/+8
2014-08-07Include string.h in common-defs.hGary Benson1-1/+0