]>
Commit | Line | Data |
---|---|---|
70976b65 YQ |
1 | 2012-07-31 Yao Qi <[email protected]> |
2 | ||
3 | * go32-nat.c: Declare _initialize_go32_nat. | |
4 | * ser-go32.c: Declare _initialize_ser_dos. | |
5 | * top.c (do_chdir_cleanup): Add 'static'. | |
6 | ||
eff9c3e6 KS |
7 | 2012-07-30 Keith Seitz <[email protected]> |
8 | ||
9 | * linespec.c (linespec_lex_number): A number followed | |
10 | by quotes is a valid number, too. | |
11 | ||
728400d7 TT |
12 | 2012-07-30 Tom Tromey <[email protected]> |
13 | ||
14 | * remote-sim.c (gdb_os_poll_quit): Don't check immediate_quit. | |
15 | ||
fcf303ab UW |
16 | 2012-07-30 Ulrich Weigand <[email protected]> |
17 | ||
18 | * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Do not | |
19 | attempt to 4-byte-align HW breakpoint addresses for Thumb. | |
20 | ||
4e969b4f AB |
21 | 2012-07-30 Andrew Burgess <[email protected]> |
22 | ||
23 | * varobj.c (varobj_invalidate_iter): All varobj must be marked as | |
24 | invalid or reevaluated to prevent prevent references to possibly | |
25 | delete'd type objects being left in the varobj. | |
26 | ||
c4bfde41 JK |
27 | 2012-07-27 Tom Tromey <[email protected]> |
28 | Jan Kratochvil <[email protected]> | |
29 | ||
30 | * copying.awk: Print buffer-read-only and vi ro markers. | |
31 | * copying.c: Rebuild. | |
32 | * gdbarch.sh (copyright): Print buffer-read-only and vi ro markers. | |
33 | * gdbarch.c, gdbarch.h: Rebuild. | |
34 | * target-descriptions.c (maint_print_c_tdesc_cmd): Print | |
35 | buffer-read-only and vi ro markers. | |
36 | * features/arm-with-iwmmxt.c: Rebuild. | |
37 | * features/arm-with-m-fpa-layout.c: Rebuild. | |
38 | * features/arm-with-m-vfp-d16.c: Rebuild. | |
39 | * features/arm-with-m.c: Rebuild. | |
40 | * features/arm-with-neon.c: Rebuild. | |
41 | * features/arm-with-vfpv2.c: Rebuild. | |
42 | * features/arm-with-vfpv3.c: Rebuild. | |
43 | * features/i386/amd64-avx-linux.c: Rebuild. | |
44 | * features/i386/amd64-avx.c: Rebuild. | |
45 | * features/i386/amd64-linux.c: Rebuild. | |
46 | * features/i386/amd64.c: Rebuild. | |
47 | * features/i386/i386-avx-linux.c: Rebuild. | |
48 | * features/i386/i386-avx.c: Rebuild. | |
49 | * features/i386/i386-linux.c: Rebuild. | |
50 | * features/i386/i386-mmx-linux.c: Rebuild. | |
51 | * features/i386/i386-mmx.c: Rebuild. | |
52 | * features/i386/i386.c: Rebuild. | |
53 | * features/i386/x32-avx-linux.c: Rebuild. | |
54 | * features/i386/x32-avx.c: Rebuild. | |
55 | * features/i386/x32-linux.c: Rebuild. | |
56 | * features/i386/x32.c: Rebuild. | |
57 | * features/mips-dsp-linux.c: Rebuild. | |
58 | * features/mips-linux.c: Rebuild. | |
59 | * features/mips64-dsp-linux.c: Rebuild. | |
60 | * features/mips64-linux.c: Rebuild. | |
61 | * features/rs6000/powerpc-32.c: Rebuild. | |
62 | * features/rs6000/powerpc-32l.c: Rebuild. | |
63 | * features/rs6000/powerpc-403.c: Rebuild. | |
64 | * features/rs6000/powerpc-403gc.c: Rebuild. | |
65 | * features/rs6000/powerpc-405.c: Rebuild. | |
66 | * features/rs6000/powerpc-505.c: Rebuild. | |
67 | * features/rs6000/powerpc-601.c: Rebuild. | |
68 | * features/rs6000/powerpc-602.c: Rebuild. | |
69 | * features/rs6000/powerpc-603.c: Rebuild. | |
70 | * features/rs6000/powerpc-604.c: Rebuild. | |
71 | * features/rs6000/powerpc-64.c: Rebuild. | |
72 | * features/rs6000/powerpc-64l.c: Rebuild. | |
73 | * features/rs6000/powerpc-7400.c: Rebuild. | |
74 | * features/rs6000/powerpc-750.c: Rebuild. | |
75 | * features/rs6000/powerpc-860.c: Rebuild. | |
76 | * features/rs6000/powerpc-altivec32.c: Rebuild. | |
77 | * features/rs6000/powerpc-altivec32l.c: Rebuild. | |
78 | * features/rs6000/powerpc-altivec64.c: Rebuild. | |
79 | * features/rs6000/powerpc-altivec64l.c: Rebuild. | |
80 | * features/rs6000/powerpc-cell32l.c: Rebuild. | |
81 | * features/rs6000/powerpc-cell64l.c: Rebuild. | |
82 | * features/rs6000/powerpc-e500.c: Rebuild. | |
83 | * features/rs6000/powerpc-e500l.c: Rebuild. | |
84 | * features/rs6000/powerpc-isa205-32l.c: Rebuild. | |
85 | * features/rs6000/powerpc-isa205-64l.c: Rebuild. | |
86 | * features/rs6000/powerpc-isa205-altivec32l.c: Rebuild. | |
87 | * features/rs6000/powerpc-isa205-altivec64l.c: Rebuild. | |
88 | * features/rs6000/powerpc-isa205-vsx32l.c: Rebuild. | |
89 | * features/rs6000/powerpc-isa205-vsx64l.c: Rebuild. | |
90 | * features/rs6000/powerpc-vsx32.c: Rebuild. | |
91 | * features/rs6000/powerpc-vsx32l.c: Rebuild. | |
92 | * features/rs6000/powerpc-vsx64.c: Rebuild. | |
93 | * features/rs6000/powerpc-vsx64l.c: Rebuild. | |
94 | * features/rs6000/rs6000.c: Rebuild. | |
95 | * features/s390-linux32.c: Rebuild. | |
96 | * features/s390-linux32v1.c: Rebuild. | |
97 | * features/s390-linux32v2.c: Rebuild. | |
98 | * features/s390-linux64.c: Rebuild. | |
99 | * features/s390-linux64v1.c: Rebuild. | |
100 | * features/s390-linux64v2.c: Rebuild. | |
101 | * features/s390x-linux64.c: Rebuild. | |
102 | * features/s390x-linux64v1.c: Rebuild. | |
103 | * features/s390x-linux64v2.c: Rebuild. | |
104 | * features/tic6x-c62x-linux.c: Rebuild. | |
105 | * features/tic6x-c62x.c: Rebuild. | |
106 | * features/tic6x-c64x-linux.c: Rebuild. | |
107 | * features/tic6x-c64x.c: Rebuild. | |
108 | * features/tic6x-c64xp-linux.c: Rebuild. | |
109 | * features/tic6x-c64xp.c: Rebuild. | |
110 | ||
826f0041 TT |
111 | 2012-07-27 Tom Tromey <[email protected]> |
112 | ||
113 | * c-exp.y (classify_name): Avoid assignment in condition. | |
114 | ||
84552b16 PA |
115 | 2012-07-27 Roland Schwingel <[email protected]> |
116 | ||
117 | * amd64-windows-tdep.c: Include "frame.h". | |
118 | (amd64_windows_skip_trampoline_code): New function. | |
119 | (amd64_windows_init_abi): Add trampoline registration. | |
120 | ||
a8a64aa8 YQ |
121 | 2012-07-27 Yao Qi <[email protected]> |
122 | ||
123 | * tracepoint.c (cur_traceframe_number): Remove. | |
124 | (set_tfile_traceframe): Remove. | |
125 | (tfile_trace_find, tfile_fetch_registers): Update callers. | |
126 | (tfile_xfer_partial, tfile_get_trace_state_variable_value): Likewise. | |
127 | (tfile_open, tfile_trace_find): Likewise. | |
128 | ||
d99067cb YQ |
129 | 2012-07-27 Yao Qi <[email protected]> |
130 | ||
131 | * thread.c (switch_to_thread): Don't call registers_changed. | |
132 | ||
f2e8016f TT |
133 | 2012-07-26 Tom Tromey <[email protected]> |
134 | ||
135 | * Makefile.in (SFILES): Remove objc-exp.y. | |
136 | (YYFILES): Remove objc-exp.c. | |
137 | (YYOBJ): Remove objc-exp.o. | |
138 | (local-maintainer-clean): Don't mention objc-exp.c. | |
139 | * c-exp.y: Include objc-lang.h. | |
140 | (%union) <class>: New field. | |
141 | (NSSTRING, SELECTOR, CLASSNAME, OBJC_LBRAC): New tokens. | |
142 | (exp): Clone subscript production for OBJC_LBRAC. Add various | |
143 | Objective C productions. | |
144 | (msglist, msgarglist, msgarg): New productions. | |
145 | (array_mod, func_mod, operator): Clone productions for | |
146 | OBJC_LBRAC. | |
147 | (parse_string_or_char): Handle '@' strings. | |
148 | (lex_one_token): Return OBJC_LBRAC. Recognize @selector. | |
149 | (classify_name): Check la_name_of_this. Recognize ObjC class | |
150 | names. | |
151 | * objc-exp.y: Remove. | |
152 | * objc-lang.c (objc_language_defn): Use c_parse, c_error. | |
153 | * objc-lang.h (objc_parse, objc_error): Don't declare. | |
154 | ||
f66713d2 JK |
155 | 2012-07-26 Markus Metzger <[email protected]> |
156 | ||
157 | * python/py-inferior.c (infpy_threads): Call update_thread_list (). | |
158 | ||
7cfe01b4 JK |
159 | 2012-07-26 Jan Kratochvil <[email protected]> |
160 | ||
161 | * auto-load.c (auto_load_info_scripts): Remove immediate_quit increment | |
162 | and decrement. | |
163 | ||
5ba19b4c TT |
164 | 2012-07-26 Tom Tromey <[email protected]> |
165 | ||
166 | * copying.c: Rebuild. | |
167 | * copying.awk: Don't use immediate_quit. Use 'no_set_class', not | |
168 | 'no_class'. | |
169 | ||
27618ce4 TT |
170 | 2012-07-26 Tom Tromey <[email protected]> |
171 | ||
172 | * symmisc.c (print_symbol_bcache_statistics): Use QUIT, not | |
173 | immediate_quit. | |
174 | (print_objfile_statistics): Likewise. | |
175 | (maintenance_print_symbols): Likewise. | |
176 | (maintenance_print_msymbols): Likewise. | |
177 | (maintenance_print_objfiles): Likewise. | |
178 | * psymtab.c (print_partial_symbols): Call QUIT. | |
179 | (maintenance_print_psymbols): Likewise. Don't modify | |
180 | immediate_quit. | |
181 | * copying.c (show_copying_command): Don't modify immediate_quit. | |
182 | (show_warranty_command): Likewise. | |
183 | * cli/cli-cmds.c (show_version): Don't modify immediate_quit. | |
184 | ||
dd3818c8 KS |
185 | 2012-07-26 Keith Seitz <[email protected]> |
186 | ||
187 | * linespec.c (linespec_lexer_lex_number): The input | |
188 | is also a valid number if the next character is a comma | |
189 | or colon. | |
190 | ||
23a80689 JB |
191 | 2012-07-26 Joel Brobecker <[email protected]> |
192 | ||
193 | * NEWS: Document new --enable-libmcheck/--disable-libmcheck | |
194 | configure options. | |
195 | ||
29f77997 TG |
196 | 2012-07-26 Tristan Gingold <[email protected]> |
197 | ||
198 | * machoread.c: Include gdb_bfd.h. | |
199 | ||
a55c1f32 TG |
200 | 2012-07-26 Tristan Gingold <[email protected]> |
201 | ||
202 | * dwarf2loc.c (locexpr_describe_location_piece): Use uint64_t for | |
203 | offset. | |
204 | ||
56eb65bd SP |
205 | 2012-07-26 Siddhesh Poyarekar <[email protected]> |
206 | ||
207 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Expand parameter | |
208 | SIZE to size_t. | |
209 | (dwarf2_evaluate_loc_desc): Likewise. | |
210 | (dwarf2_loc_desc_needs_frame): Likewise. | |
211 | (locexpr_describe_location_1): Likewise. | |
212 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Make SIZE as | |
213 | size_t. | |
214 | (struct dwarf2_loclist_baton): Likewise. | |
215 | * dwarf2read.c (struct dwarf_block): Likewise. | |
216 | (dump_die_shallow): Use pulongest to print dwarf_block.size. | |
217 | (decode_locdesc): Expand SIZE and I to size_t. | |
218 | ||
aec8845c JK |
219 | 2012-07-25 Jan Kratochvil <[email protected]> |
220 | ||
221 | * contrib/cc-with-tweaks.sh: Put into comment path gdb/contrib/. | |
222 | ||
33d7655b JB |
223 | 2012-07-25 Joel Brobecker <[email protected]> |
224 | ||
225 | * doublest.c (convert_doublest_to_floatformat): If the exponent | |
226 | is too small, treat the value as zero. If the exponent is too | |
227 | large, treat the value as infinity. | |
228 | ||
a22d44ff JB |
229 | 2012-07-25 Joel Brobecker <[email protected]> |
230 | ||
231 | * configure.ac: Add --enable-lmcheck configure option. | |
232 | * configure: Regenerate. | |
233 | ||
d6b28940 TT |
234 | 2012-07-25 Tom Tromey <[email protected]> |
235 | ||
236 | * NEWS: Mention maint info bfds. | |
237 | * gdb_bfd.c (all_bfds): New global. | |
238 | (gdb_bfd_ref, gdb_bfd_unref): Update all_bfds. | |
239 | (print_one_bfd, maintenance_info_bfds, _initialize_gdb_bfd): | |
240 | New functions. | |
241 | ||
6e73ba20 RC |
242 | 2012-07-25 Ralf Corsépius <[email protected]> |
243 | ||
244 | * configure.tgt: Add v850*-*-rtems*. | |
245 | ||
d560eebd TT |
246 | 2012-07-25 Tom Tromey <[email protected]> |
247 | ||
248 | * macrotab.c (macro_bcache_str): Remove cast. | |
249 | ||
d7cbec71 HZ |
250 | 2012-07-25 Hui Zhu <[email protected]> |
251 | ||
252 | * linespec.c (linespec_lexer_lex_number): Update comments, | |
253 | change the return and add check to make sure the input is | |
254 | the decimal numbers. | |
255 | (linespec_lexer_lex_one): If linespec_lexer_lex_number return | |
256 | false, call linespec_lexer_lex_string. | |
257 | ||
882f447f TT |
258 | 2012-07-24 Tom Tromey <[email protected]> |
259 | ||
260 | * symfile.c (symbol_file_add): Don't open BFD twice. | |
261 | ||
53ab4066 | 262 | 2012-07-24 Marc Khouzam <[email protected]> |
e12c7713 MK |
263 | |
264 | * breakpoint.c (create_breakpoint): Store condition for pending | |
265 | breakpoints. | |
266 | ||
108fb0f7 AS |
267 | 2012-07-24 Andreas Schwab <[email protected]> |
268 | ||
269 | * m68k-tdep.c (m68k_reg_struct_return_p): Accept complex types. | |
270 | (m68k_return_value): Handle complex types like structures. | |
271 | (m68k_svr4_return_value): Likewise. | |
272 | ||
1634dcbe JK |
273 | 2012-07-24 Marcus Shawcroft <[email protected]> |
274 | ||
275 | * gdb_bfd.c (zlib_decompress_section) <!HAVE_ZLIB_H>: Adjust | |
276 | parameters to bfd_get_section_name. | |
277 | ||
e2d12c21 YQ |
278 | 2012-07-24 Yao Qi <[email protected]> |
279 | ||
280 | * cli/cli-setshow.c: Handle case 'var_uinteger' | |
281 | and 'var_zuninteger' together. Handle case 'var_integer' and | |
282 | 'var_zinteger' together. | |
283 | ||
64b92e45 KS |
284 | 2012-07-23 Keith Seitz <[email protected]> |
285 | ||
286 | * linespec.c (convert_linespec_to_sal): Don't add | |
287 | any symbols to the result vector if symbol_to_sal | |
288 | returns zero. | |
289 | ||
0f5f4ffe KS |
290 | 2012-07-23 Keith Seitz <[email protected]> |
291 | ||
292 | * linespec.c (decode_objc): Record the function name | |
293 | in the linespec. | |
294 | ||
da1cc82f TT |
295 | 2012-07-23 Tom Tromey <[email protected]> |
296 | ||
297 | * rs6000-nat.c (add_vmap): Rewrite archive loop. Fix reference | |
298 | counting. | |
299 | * exec.c (exec_close_1): Unconditionally release vmap's BFD. | |
300 | (map_vmap): Acquire a reference to the BFD. | |
301 | ||
6c18f3e0 SP |
302 | 2012-07-23 Siddhesh Poyarekar <[email protected]> |
303 | ||
304 | * p-valprint.c (pascal_object_print_value): Replace potentially | |
305 | unsafe alloca with xmalloc/xfree. | |
306 | * valops.c (search_struct_method): Likewise. | |
307 | ||
695c3173 TT |
308 | 2012-07-23 Tom Tromey <[email protected]> |
309 | ||
310 | * solib-svr4.c (enable_break): Update. | |
311 | * bfd-target.h (target_bfd_reopen): Update documentation. | |
312 | ||
08d2cd74 TT |
313 | 2012-07-23 Tom Tromey <[email protected]> |
314 | ||
315 | * symfile.c (separate_debug_file_exists): Update. | |
316 | (gdb_bfd_open_maybe_remote): Rename from bfd_open_maybe_remote. | |
317 | (reread_symbols): Update. | |
318 | * elfread.c (build_id_verify): Update. | |
319 | * symfile.h (gdb_bfd_open_maybe_remote): Rename from | |
320 | bfd_open_maybe_remote. | |
321 | ||
596f7d67 TT |
322 | 2012-07-23 Tom Tromey <[email protected]> |
323 | ||
324 | * gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Fix comment. | |
325 | ||
8ac244b4 TT |
326 | 2012-07-23 Tom Tromey <[email protected]> |
327 | ||
328 | * coffread.c (coff_symfile_read): Make a cleanup for 'debugfile' | |
329 | and 'abfd'. | |
330 | * elfread.c (elf_symfile_read): Make a cleanup for 'debugfile' | |
331 | and 'abfd'. | |
332 | * jit.c (jit_bfd_try_read_symtab): Make a cleanup for 'nbfd'. | |
333 | * machoread.c (macho_add_oso_symfile): Make a cleanup for | |
334 | 'abfd'. | |
335 | (macho_symfile_read): Make a cleanup for 'dsym_bfd'. | |
336 | * objfiles.c (allocate_objfile): Acquire a new reference. | |
337 | * rs6000-nat.c (add_vmap): Don't acquire a BFD reference. | |
338 | * solib.c (solib_read_symbols): Don't acquire a BFD reference. | |
339 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Make | |
340 | a cleanup for 'nbfd'. | |
341 | * symfile-mem.c (symbol_file_add_from_memory): Make a cleanup | |
342 | for 'nbfd'. | |
343 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Don't | |
344 | make a cleanup for 'abfd'. | |
345 | (symbol_file_add): Make a BFD cleanup. | |
346 | ||
64c31149 TT |
347 | 2012-07-23 Tom Tromey <[email protected]> |
348 | ||
349 | * cli/cli-dump.c (bfd_openr_with_cleanup): Use gdb_bfd_openr. | |
350 | (bfd_openw_with_cleanup): Use gdb_bfd_openw. | |
351 | * corelow.c (core_open): Use gdb_bfd_fopen. | |
352 | * dsrec.c (load_srec): Use gdb_bfd_openr. | |
353 | * exec.c (exec_file_attach): Use gdb_bfd_fopen. | |
354 | * gcore.c (gcore_memory_sections): Use gdb_bfd_openw. | |
355 | * gdb_bfd.c (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw) | |
356 | (gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file) | |
357 | (gdb_bfd_fdopenr): New functions. | |
358 | * gdb_bfd.h (gdb_bfd_fopen, gdb_bfd_openr, gdb_bfd_openw) | |
359 | (gdb_bfd_openr_iovec, gdb_bfd_openr_next_archived_file) | |
360 | (gdb_bfd_fdopenr): Declare. | |
361 | * jit.c (bfd_open_from_target_memory): Use gdb_bfd_openr_iovec. | |
362 | * m32-rom.c (m32r_load, m32r_upload_command): Use gdb_bfd_openr. | |
363 | * machoread.c (macho_symfile_read_all_oso): Use gdb_bfd_openr, | |
364 | gdb_bfd_openr_next_archived_file. | |
365 | (macho_check_dsym): Use gdb_bfd_openr. | |
366 | (macho_add_oso_symfile): Don't call gdb_bfd_stash_filename. | |
367 | * procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_fdopenr. | |
368 | * remote-m32r-sdi.c (m32r_load): Use gdb_bfd_openr. | |
369 | * remote-mips.c (mips_load_srec, pmon_load_fast): Use | |
370 | gdb_bfd_openr. | |
371 | * remote.c (remote_bfd_open): Use gdb_bfd_openr_iovec. | |
372 | * rs6000-nat.c (add_vmap): Use gdb_bfd_openr, gdb_bfd_fdopenr, | |
373 | gdb_bfd_openr_next_archived_file. | |
374 | * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): | |
375 | Use gdb_bfd_openr. | |
376 | * solib-pa64.c (pa64_solib_create_inferior_hook): Use | |
377 | gdb_bfd_openr. | |
378 | * solib-spu.c (spu_bfd_fopen): Use gdb_bfd_openr_iovec. | |
379 | * solib.c (solib_bfd_fopen): Use gdb_bfd_fopen. | |
380 | * spu-linux-nat.c (spu_bfd_open): Use gdb_bfd_openr_iovec. | |
381 | * symfile.c (bfd_open_maybe_remote): Use gdb_bfd_openr. | |
382 | (symfile_bfd_open): Use gdb_bfd_fopen. | |
383 | (generic_load): Use gdb_bfd_openr. | |
384 | * windows-nat.c (windows_make_so): Use gdb_bfd_openr. | |
385 | ||
520b0001 TT |
386 | 2012-07-23 Tom Tromey <[email protected]> |
387 | ||
388 | * bfd-target.c (target_bfd_reopen): Update. | |
389 | * cli/cli-dump.c (bfd_openr_with_cleanup) | |
390 | (bfd_openw_with_cleanup): Update. | |
391 | * corelow.c (core_open): Update. | |
392 | * dsrec.c (load_srec): Update. | |
393 | * exec.c (exec_file_attach): Update. | |
394 | * gcore.c (create_gcore_bfd): Update. | |
395 | * gdb_bfd.c (gdb_bfd_ref): Return void. | |
396 | (gdb_bfd_open): Update. | |
397 | * gdb_bfd.h (gdb_bfd_ref): Return void. | |
398 | Update comments. | |
399 | * jit.c (jit_bfd_try_read_symtab): Update. | |
400 | * m32r-rom.c (m32r_load, m32r_upload_command): Update. | |
401 | * machoread.c (macho_symfile_read_all_oso): Update. | |
402 | (macho_check_dsym): Update. | |
403 | * procfs.c (insert_dbx_link_bpt_in_file): Update. | |
404 | * remote-m32r-sdi.c (m32r_load): Update. | |
405 | * remote-mips.c (mips_load_srec, pmon_load_fast): Update. | |
406 | * rs6000-nat.c (add_vmap): Update. | |
407 | * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): | |
408 | Update. | |
409 | * solib-pa64.c (pa64_solib_create_inferior_hook): Update. | |
410 | * solib-spu.c (spu_bfd_open): Update. | |
411 | * solib.c (solib_bfd_fopen, solib_read_symbols): Update. | |
412 | * spu-linux-nat.c (spu_bfd_open): Update. | |
413 | * symfile.c (bfd_open_maybe_remote, symfile_bfd_open) | |
414 | (generic_load): Update. | |
415 | * windows-nat.c (windows_make_so): Update. | |
416 | ||
2322ff16 SP |
417 | 2012-07-22 Siddhesh Poyarekar <[email protected]> |
418 | ||
419 | * sh-tdep.c (sh_treat_as_flt_p): Remove unused variable LEN. | |
420 | ||
3def0b36 PA |
421 | 2012-07-20 Jeff Kenton <[email protected]> |
422 | ||
423 | * tilegx-linux-tdep.c (tilegx_linux_sigframe_init): Fix | |
424 | SIGTRAMP_FRAME unwinding. | |
425 | ||
e615022a DE |
426 | 2012-07-20 Doug Evans <[email protected]> |
427 | ||
428 | * NEWS: Document new options "set/show use-deprecated-index-sections", | |
429 | and delete reference to --use-deprecated-index-sections. | |
430 | * symfile.h (use_deprecated_index_sections): Delete. | |
431 | * dwarf2read.c (use_deprecated_index_sections): Make static. | |
432 | (read_index_from_section): Update wording of how to load | |
433 | deprecated index sections. | |
434 | (_initialize_dwarf2_read): New options | |
435 | "set/show use-deprecated-index-sections". | |
436 | * main.c (captured_main): Delete --use-deprecated-index-sections. | |
437 | ||
64776a0b PA |
438 | 2012-07-20 Pedro Alves <[email protected]> |
439 | ||
440 | PR threads/11692 | |
441 | PR gdb/12203 | |
442 | ||
443 | * infrun.c (handle_inferior_event) <new thread>: Don't special | |
444 | case minus_one_ptid. | |
445 | <TARGET_WAITKIND_SPURIOUS>: Ditto. | |
446 | * linux-thread-db.c (thread_get_info_callback): Don't return early | |
447 | if the thread is zombie. | |
448 | (thread_from_lwp): Change return type to void. Rewrite stale | |
449 | comment. | |
450 | (attach_thread): Don't return early if the thread is zombie, | |
451 | instead set its "dying" flag. | |
452 | (thread_db_wait): Don't return TARGET_WAITKIND_SPURIOUS anymore. | |
453 | (find_new_threads_callback): Don't return early if the thread is | |
454 | zombie. | |
455 | ||
09826ec5 PA |
456 | 2012-07-20 Pedro Alves <[email protected]> |
457 | ||
458 | * linux-nat.c (linux_nat_wait): Dump the passed in target options. | |
459 | * target.c (target_wait): Likewise. | |
460 | (str_comma_list_concat_elem, do_option, target_options_to_string): | |
461 | New functions. | |
462 | * target.h (target_options_to_string): Declare. | |
463 | ||
f7a35f02 TT |
464 | 2012-07-20 Jan Kratochvil <[email protected]> |
465 | Tom Tromey <[email protected]> | |
466 | ||
467 | * dwarf2read.c (dwarf_decode_macros) | |
468 | <DW_MACRO_GNU_define_indirect_alt, DW_MACRO_GNU_undef_indirect_alt, | |
469 | DW_MACRO_GNU_transparent_include_alt>: New cases. | |
470 | (dwarf_decode_macro_bytes) <DW_MACRO_GNU_define_indirect, | |
471 | DW_MACRO_GNU_undef_indirect>: Examine 'section_is_dwz'. | |
472 | ||
b81e1ee0 TT |
473 | 2012-07-20 Tom Tromey <[email protected]> |
474 | ||
475 | * dwarf2read.c (try_open_dwo_file): Don't call | |
476 | gdb_bfd_stash_filename. | |
477 | ||
99c1624c PA |
478 | 2012-07-20 Pedro Alves <[email protected]> |
479 | ||
480 | * i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr) | |
481 | (i386_record_lea_modrm, i386_record_push, i386_record_floats) | |
482 | (i386_process_record): Tweak description comments. | |
483 | ||
4ffa4fc7 PA |
484 | 2012-07-20 Pedro Alves <[email protected]> |
485 | ||
486 | * i386-tdep.c (i386_record_modrm, i386_record_lea_modrm_addr) | |
487 | (i386_process_record): Use record_read_memory. | |
488 | * record.c (record_read_memory): New function. | |
489 | (record_arch_list_add_mem, record_exec_insn): Use | |
490 | record_read_memory. | |
491 | * record.h (record_read_memory): Declare. | |
492 | ||
c24343e2 YQ |
493 | 2012-07-20 Yao Qi <[email protected]> |
494 | ||
495 | * cli/cli-setshow.c (do_setshow_command): Don't check pointer is | |
496 | NULL for xfree. | |
497 | ||
90f47860 PA |
498 | 2012-07-19 Pedro Alves <[email protected]> |
499 | ||
500 | * record.c (record_resume): Ask the target beneath to report all | |
501 | signals. | |
502 | ||
01093045 DE |
503 | 2012-07-19 Doug Evans <[email protected]> |
504 | ||
505 | * dwarf2read.c (dwarf2_ranges_read): Ignore ranges starting at zero if | |
506 | there's no section at address zero. | |
507 | (dwarf2_record_block_ranges): Ditto. | |
508 | ||
a7c3d162 YQ |
509 | 2012-07-19 Yao Qi <[email protected]> |
510 | ||
511 | * command.h, remote.c: Fix a typo in comment. | |
512 | ||
608b4967 TT |
513 | 2012-07-19 Tom Tromey <[email protected]> |
514 | ||
515 | PR exp/13206: | |
516 | * ax-gdb.c (gen_expr) <OP_TYPEOF, OP_DECLTYPE>: New cases. | |
517 | * breakpoint.c (watchpoint_exp_is_const) <OP_TYPEOF, | |
518 | OP_DECLTYPE>: New cases. | |
519 | * c-exp.y (TYPEOF, DECLTYPE): New tokens. | |
520 | (type_exp): Add new productions. | |
521 | (ident_tokens): Add __typeof__, typeof, __typeof, __decltype, | |
522 | and decltype. | |
523 | * eval.c (evaluate_subexp_standard) <OP_TYPEOF, OP_DECLTYPE>: | |
524 | New case. | |
525 | * expprint.c (dump_subexp_body_standard) <OP_TYPEOF, | |
526 | OP_DECLTYPE>: New case. | |
527 | * parse.c (operator_length_standard) <OP_TYPEOF, OP_DECLTYPE>: | |
528 | New case. | |
529 | * std-operator.def (OP_TYPEOF, OP_DECLTYPE): New constants. | |
530 | * varobj.c (varobj_create): Handle OP_TYPEOF, OP_DECLTYPE. | |
531 | ||
274b54d7 TT |
532 | 2012-07-19 Tom Tromey <[email protected]> |
533 | ||
534 | * c-exp.y (enum token_flags): New. | |
535 | (struct token) <cxx_only>: Remove. | |
536 | <flags>: New field. | |
537 | (tokentab3, tokentab2, ident_tokens): Update. | |
538 | (lex_one_token): Update. Handle FLAG_SHADOW. | |
539 | ||
9eaf6705 TT |
540 | 2012-07-19 Tom Tromey <[email protected]> |
541 | ||
542 | * ax-gdb.c (gen_expr): Handle UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE. | |
543 | * breakpoint.c (watchpoint_exp_is_const): Handle UNOP_CAST_TYPE, | |
544 | UNOP_REINTERPRET_CAST, UNOP_DYNAMIC_CAST. | |
545 | * c-exp.y (exp): Emit UNOP_MEMVAL_TYPE, UNOP_CAST_TYPE. Update | |
546 | for changes to UNOP_REINTERPRET_CAST, UNOP_DYNAMIC_CAST. Use | |
547 | type_exp production where appropriate. | |
548 | * eval.c (evaluate_subexp_standard) <UNOP_CAST_TYPE>: New case. | |
549 | <UNOP_DYNAMIC_CAST, UNOP_REINTERPRET_CAST>: Update. | |
550 | <UNOP_MEMVAL_TYPE>: New case. | |
551 | (evaluate_subexp_for_address) <UNOP_MEMVAL_TYPE>: New case. | |
552 | (evaluate_subexp_for_sizeof) <UNOP_MEMVAL_TYPE>: New case. | |
553 | * expprint.c (print_subexp_standard) <UNOP_CAST_TYPE>: New case. | |
554 | <UNOP_MEMVAL_TYPE>: New case. | |
555 | (dump_subexp_body_standard) <UNOP_DYNAMIC_CAST, | |
556 | UNOP_REINTERPRET_CAST>: Update. | |
557 | <UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE>: New cases. | |
558 | * parse.c (operator_length_standard) <UNOP_DYNAMIC_CAST, | |
559 | UNOP_REINTERPRET_CAST>: Update. | |
560 | <UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE>: New cases. | |
561 | * stack.c (return_command): Also check for UNOP_CAST_TYPE. | |
562 | * std-operator.def (UNOP_CAST_TYPE, UNOP_MEMVAL_TYPE): New | |
563 | constants. | |
564 | ||
6ace3df1 YQ |
565 | 2012-07-19 Yao Qi <[email protected]> |
566 | Jan Kratochvil <[email protected]> | |
567 | ||
568 | * cli/cli-setshow.c (do_setshow_command): Handle case 'var_filename' | |
569 | and case 'var_optional_filename' together. | |
570 | * infcmd.c (_initialize_infcmd): Call add_setshow_string_noescape_cmd | |
571 | instead of add_setshow_optional_filename_cmd for setshow command | |
572 | 'args'. Set completer for 'set args'. | |
573 | ||
48faced0 DE |
574 | 2012-07-18 Doug Evans <[email protected]> |
575 | ||
576 | * common/gdb_vecs.h: Moved here from ./gdb_vecs.h. | |
577 | * common/gdb_vecs.c: New file, contents from utils.c. | |
578 | * common/host-defs.h: New file, contents from defs.h. | |
579 | * utils.h: New file, contents from defs.h. | |
580 | * defs.h: Move all declarations of objects defined in utils.c | |
581 | to utils.h (except QUIT() and related). | |
582 | #include "utils.h", "host-defs.h". | |
583 | * probe.h (probe_p): Move here from gdb_vecs.h. | |
584 | * symfile.c: #include "probe.h" instead of "gdb_vecs.h". | |
585 | * utils.c (free_char_ptr_vec): Moved to common/gdb_vecs.c. | |
586 | (dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): Ditto. | |
587 | * Makefile.in (SFILES): Add common/gdb_vecs.c. | |
588 | (HFILES_NO_SRCDIR): Add common/gdb_vecs.h, common/host-defs.h, utils.h. | |
589 | (COMMON_OBS): Add gdb_vecs.o. | |
590 | (gdb_vecs.o): New rule. | |
591 | ||
66f1999b KS |
592 | 2012-07-18 Keith Seitz <[email protected]> |
593 | ||
594 | * linespec.c (add_sal_to_sals): Add LITERAL_CANONICAL | |
595 | parameter. If non-zero, use SYMNAME as the canonical name | |
596 | for the SaL. | |
597 | Update all callers. | |
598 | (convert_linespec_to_sals): Use add_sal_to_sals for | |
599 | expressions, too. | |
600 | (decode_line_full): No need to "fill in missing canonical names" | |
601 | anymore. Simply make cleanups for the allocated names. | |
602 | ||
5d94e27b KS |
603 | 2012-07-18 Keith Seitz <[email protected]> |
604 | ||
605 | * linespec.c (struct linespec): Constify expression, | |
606 | source_filename, function_name, and label_name. | |
607 | (symbol_not_found_error): Make all parameters const. | |
608 | (linespec_parser_delete): No need to check for NULL | |
609 | when using xfree. Cast const char * to char * for xfree. | |
610 | ||
af4908ba KS |
611 | 2012-07-18 Keith Seitz <[email protected]> |
612 | ||
613 | * breakpoint.c (invalid_thread_id_error): New function. | |
614 | (find_condition_and_thread): Use invalid_thread_id_error. | |
615 | (watch_command_1): Likewise. | |
616 | ||
853254db TT |
617 | 2012-07-18 Tom Tromey <[email protected]> |
618 | ||
619 | * cc-with-index.sh, cc-with-dwz.sh: Remove. | |
620 | * contrib/cc-with-tweaks.sh: New file. | |
621 | ||
2ec9a5e0 TT |
622 | 2012-07-18 Tom Tromey <[email protected]> |
623 | ||
624 | * dwarf2read.c (struct dwz_file) <gdb_index>: New field. | |
625 | (locate_dwz_sections): Recognize .gdb_index. | |
626 | (create_cus_from_index_list): New function. | |
627 | (create_cus_from_index): Use it. Handle .dwz data. | |
628 | (read_index_from_section): New function, extracted from | |
629 | dwarf2_read_index. | |
630 | (dwarf2_read_index): Use it. Read .gdb_index from dwz file, | |
631 | if needed. | |
632 | ||
36586728 TT |
633 | 2012-07-18 Tom Tromey <[email protected]> |
634 | ||
635 | * dwarf2read.c (struct dwarf2_per_objfile) <dwz_file>: New field. | |
636 | (struct dwarf2_per_cu_data) <length>: No longer bitfield. | |
637 | <is_dwz>: New field. | |
638 | (struct dwz_file): New. | |
639 | (struct partial_die_info) <is_dwz, spec_is_dwz>: New fields. | |
640 | (locate_dwz_sections, dwarf2_get_dwz_file) | |
641 | (get_abbrev_section_for_cu): New functions. | |
642 | (error_check_comp_unit_head, read_and_check_comp_unit_head) | |
643 | (read_and_check_type_unit_head): Add abbrev_section argument. | |
644 | (create_debug_types_hash_table): Update. | |
645 | (init_cutu_and_read_dies): Use proper abbrev section. | |
646 | (init_cutu_and_read_dies_no_follow): Likewise. | |
647 | (set_partial_user): Do nothing if PST==NULL. | |
648 | (read_comp_units_from_section): New function. | |
649 | (create_all_comp_units): Use it. | |
650 | (scan_partial_symbols, partial_die_parent_scope): Update. | |
651 | (skip_one_die): Handle DW_FORM_GNU_ref_alt, DW_FORM_GNU_strp_alt. | |
652 | (process_imported_unit_die, read_partial_die): Handle .dwz files. | |
653 | (find_partial_die): Add offset_in_dwz argument. Update. | |
654 | (guess_partial_die_structure_name, fixup_partial_die): Update. | |
655 | (read_attribute_value): Handle DW_FORM_GNU_ref_alt, | |
656 | DW_FORM_GNU_strp_alt. | |
657 | (read_indirect_string_from_dwz): New function. | |
658 | (dwarf2_const_value_attr): Handle DW_FORM_GNU_strp_alt. | |
659 | (dump_die_shallow): Handle DW_FORM_GNU_ref_alt, DW_FORM_GNU_strp_alt. | |
660 | (is_ref_attr): Handle DW_FORM_GNU_ref_alt. | |
661 | (follow_die_offset): Add offset_in_dwz argument. | |
662 | (follow_die_ref, dwarf2_fetch_die_location_block): Update. | |
663 | (skip_form_bytes): Handle DW_FORM_GNU_strp_alt. | |
664 | (dwarf_decode_macro_bytes): Add section_is_dwz argument. | |
665 | Handle new macro forms. | |
666 | (dwarf_decode_macros): Update. | |
667 | (dwarf2_find_containing_comp_unit): Add offset_in_dwz argument. | |
668 | (dwarf2_per_objfile_free): Unref dwz_bfd, if it exists | |
669 | (lookup_die_type): Handle DW_FORM_GNU_ref_alt. | |
670 | (create_debug_types_hash_table): Use correct abbrev section. | |
671 | (get_debug_line_section): New function. | |
672 | (dwarf_decode_line_header, dwarf_decode_lines_1): Use it. | |
673 | (process_full_comp_unit): Pass 'required' argument to | |
674 | end_symtab_get_static_block. | |
675 | * buildsym.h (end_symtab_get_static_block): Update. | |
676 | * buildsym.c (end_symtab_get_static_block): Add 'required' | |
677 | argument. | |
678 | (end_symtab, end_expandable_symtab): Update. | |
679 | ||
4bf44c1c TT |
680 | 2012-07-18 Tom Tromey <[email protected]> |
681 | ||
682 | * dwarf2read.c: Don't include zlib.h or sys/mman.h. | |
683 | (pagesize): Remove. | |
684 | (struct dwarf2_section_info) <map_addr, map_len>: Remove. | |
685 | (zlib_decompress_section): Remove. | |
686 | (dwarf2_read_section): Use gdb_bfd_map_section. | |
687 | (munmap_section_buffer): Remove. | |
688 | (free_dwo_file, dwarf2_per_objfile_free): Don't use | |
689 | munmap_section_buffer. | |
690 | * gdb_bfd.c: Include zlib.h, sys/mman.h. | |
691 | (struct gdb_bfd_section_data): New. | |
692 | (free_one_bfd_section): New function. | |
693 | (gdb_bfd_close_or_warn): Use free_one_bfd_section. | |
694 | (get_section_descriptor, zlib_decompress_section) | |
695 | (gdb_bfd_map_section): New functions. | |
696 | * gdb_bfd.h (gdb_bfd_map_section): Declare. | |
697 | ||
bb397797 TT |
698 | 2012-07-18 Tom Tromey <[email protected]> |
699 | ||
700 | * dwarf2read.c (try_open_dwo_file): use gdb_bfd_open. | |
701 | ||
6ec53d05 TT |
702 | 2012-07-18 Tom Tromey <[email protected]> |
703 | ||
704 | * gdb_bfd.c (struct gdb_bfd_data): New. | |
705 | (gdb_bfd_cache): New global. | |
706 | (struct gdb_bfd_cache_search): New. | |
707 | (hash_bfd, eq_bfd, gdb_bfd_open): New functions. | |
708 | (gdb_bfd_ref, gdb_bfd_unref): Use gdb_bfd_data. | |
709 | * gdb_bfd.h (gdb_bfd_open): Declare. | |
710 | ||
f9a062ff TT |
711 | 2012-07-18 Tom Tromey <[email protected]> |
712 | ||
713 | * utils.c (make_cleanup_bfd_unref): Rename from | |
714 | make_cleanup_bfd_close. | |
715 | * defs.h (make_cleanup_bfd_unref): Rename from | |
716 | make_cleanup_bfd_close. | |
717 | * cli/cli-dump.c (bfd_openr_with_cleanup): Update. | |
718 | (bfd_openw_with_cleanup): Update. | |
719 | * corelow.c (core_open): Update. | |
720 | * dsrec.c (load_srec): Update. | |
721 | * m32r-rom.c (m32r_load, m32r_upload_command): Update. | |
722 | * remote-m32r-sdi.c (m32r_load): Update. | |
723 | * remote-mips.c (mips_load_srec): Update. | |
724 | (pmon_load_fast): Update. | |
725 | * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): | |
726 | Update. | |
727 | (darwin_bfd_open): Update. | |
728 | * solib.c (solib_bfd_fopen): Update. | |
729 | * symfile-mem.c (symbol_file_add_from_memory): Update. | |
730 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Update. | |
731 | (symfile_bfd_open): Update. | |
732 | (generic_load): Update. | |
733 | ||
d6ad71ba TT |
734 | 2012-07-18 Tom Tromey <[email protected]> |
735 | ||
736 | * remote-mips.c (mips_load_srec): Use make_cleanup_bfd_close. | |
737 | (pmon_load_fast): Likewise. | |
738 | * m32r-rom.c (m32r_load): Use make_cleanup_bfd_close. | |
739 | (m32r_upload_command): Likewise. | |
740 | * dsrec.c (load_srec): Use make_cleanup_bfd_close. | |
741 | * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): | |
742 | Use make_cleanup_bfd_close. | |
743 | ||
a4453b7e TT |
744 | 2012-07-18 Tom Tromey <[email protected]> |
745 | ||
746 | * symfile.c (symfile_bfd_open): Don't copy name. Call | |
747 | gdb_bfd_stash_filename. | |
748 | (load_command): Open the new BFD before freeing the old. | |
749 | (bfd_open_maybe_remote): Call gdb_bfd_stash_filename. | |
750 | * symfile-mem.c (symbol_file_add_from_memory): Don't copy name. | |
751 | Call gdb_bfd_stash_filename. | |
752 | * spu-linux-nat.c (spu_bfd_open): Don't copy name. | |
753 | * solib-spu.c (spu_bfd_fopen): Don't copy name. Call | |
754 | gdb_bfd_stash_filename. | |
755 | * solib-darwin.c (darwin_solib_get_all_image_info_addr_at_init): | |
756 | Free found_pathname. | |
757 | * rs6000-nat.c (add_vmap): Don't copy filename. Call | |
758 | gdb_bfd_stash_filename. | |
759 | * remote.c (remote_bfd_open): Call gdb_bfd_stash_filename. | |
760 | * machoread.c (macho_add_oso_symfile): Call | |
761 | gdb_bfd_stash_filename. | |
762 | (macho_symfile_read_all_oso): Arrange to free archive_name. Call | |
763 | gdb_bfd_stash_filename. | |
764 | (macho_check_dsym): Don't copy filename. Call | |
765 | gdb_bfd_stash_filename. | |
766 | * jit.c (bfd_open_from_target_memory): Don't copy the filename. | |
767 | * gdb_bfd.c (gdb_bfd_stash_filename): New function. | |
768 | * gdb_bfd.h (gdb_bfd_stash_filename): Declare. | |
769 | * gcore.c (create_gcore_bfd): Call gdb_bfd_stash_filename. | |
770 | * exec.c (exec_close): Don't free the BFD's filename. | |
771 | (exec_file_attach): Don't copy the filename. Call | |
772 | gdb_bfd_stash_filename. | |
773 | * corelow.c (core_close): Don't free the BFD's filename. | |
774 | (core_open): Call gdb_bfd_stash_filename. | |
775 | * corefile.c (reopen_exec_file): Remove #if 0 code. | |
776 | * solib.c (solib_bfd_fopen): Call gdb_bfd_stash_filename. Free | |
777 | pathname. | |
778 | * dwarf2read.c (try_open_dwo_file): Call gdb_bfd_stash_filename. | |
779 | ||
cbb099e8 TT |
780 | 2012-07-18 Tom Tromey <[email protected]> |
781 | ||
782 | * dwarf2read.c (try_open_dwo_file): Use gdb_bfd_ref and | |
783 | gdb_bfd_unref. | |
784 | (free_dwo_file): Use gdb_bfd_unref. | |
785 | * cli/cli-dump.c: Include gdb_bfd.h. | |
786 | (bfd_openw_with_cleanup): Use gdb_bfd_ref. | |
787 | (bfd_openr_with_cleanup): Likewise. | |
788 | * windows-nat.c (windows_make_so): Use gdb_bfd_ref, | |
789 | gdb_bfd_unref. | |
790 | * utils.c: Include gdb_bfd.h. | |
791 | (do_bfd_close_cleanup): Use gdb_bfd_unref. | |
792 | * symfile.c: Include gdb_bfd.h. | |
793 | (separate_debug_file_exists): Use gdb_bfd_unref. | |
794 | (bfd_open_maybe_remote): Use gdb_bfd_ref. | |
795 | (symfile_bfd_open): Use gdb_bfd_ref, gdb_bfd_unref. | |
796 | (generic_load): Use gdb_bfd_ref. | |
797 | (reread_symbols): Use gdb_bfd_unref. | |
798 | * symfile-mem.c: Include gdb_bfd.h. | |
799 | (symbol_file_add_from_memory): Use make_cleanup_bfd_close. | |
800 | * spu-linux-nat.c (spu_bfd_open): Use gdb_bfd_ref, gdb_bfd_unref. | |
801 | * solib.c: Include gdb_bfd.h. | |
802 | (solib_bfd_fopen): Use gdb_bfd_ref. | |
803 | (solib_bfd_open): Use gdb_bfd_unref. | |
804 | (free_so_symbols): Use gdb_bfd_unref. | |
805 | (reload_shared_libraries_1): Use gdb_bfd_unref. | |
806 | * solib-spu.c: Include gdb_bfd.h. | |
807 | (spu_bfd_fopen): Use gdb_bfd_ref, gdb_bfd_unref. | |
808 | * solib-pa64.c (pa64_solib_create_inferior_hook): Use gdb_bfd_ref, | |
809 | gdb_bfd_unref. | |
810 | * solib-frv.c: Include gdb_bfd.h. | |
811 | (enable_break2): Use gdb_bfd_unref. | |
812 | * solib-dsbt.c: Include gdb_bfd.h. | |
813 | (enable_break2): Use gdb_bfd_unref. | |
814 | * solib-darwin.c: Include gdb_bfd.h. | |
815 | (darwin_solib_get_all_image_info_addr_at_init): Use gdb_bfd_ref, | |
816 | gdb_bfd_unref. | |
817 | (darwin_bfd_open): Use gdb_bfd_unref. | |
818 | * rs6000-nat.c (add_vmap): Use gdb_bfd_ref, gdb_bfd_unref. | |
819 | * remote-mips.c: Include gdb_bfd.h. | |
820 | (mips_load_srec): Use gdb_bfd_ref. | |
821 | (pmon_load_fast): Use gdb_bfd_ref. | |
822 | * remote-m32r-sdi.c: Include gdb_bfd.h. | |
823 | (m32r_load): Use gdb_bfd_ref. | |
824 | * record.c: Include gdb_bfd.h. | |
825 | (record_save_cleanups): Use gdb_bfd_unref. | |
826 | (cmd_record_save): Use gdb_bfd_unref. | |
827 | * procfs.c (insert_dbx_link_bpt_in_file): Use gdb_bfd_ref, | |
828 | gdb_bfd_unref. | |
829 | * objfiles.h (gdb_bfd_close_or_warn): Remove. | |
830 | (gdb_bfd_ref, gdb_bfd_unref): Move to gdb_bfd.h. | |
831 | * objfiles.c: Include gdb_bfd.h. | |
832 | (free_objfile): Use gdb_bfd_unref. | |
833 | (gdb_bfd_close_or_warn, gdb_bfd_ref, gdb_bfd_unref): Move to | |
834 | gdb_bfd.c. | |
835 | * machoread.c (macho_add_oso_symfile): Use gdb_bfd_unref. | |
836 | (macho_symfile_read_all_oso): Use gdb_bfd_ref, gdb_bfd_unref. | |
837 | (macho_check_dsym): Likewise. | |
838 | * m32r-rom.c: Include gdb_bfd.h. | |
839 | (m32r_load): Use gdb_bfd_ref. | |
840 | (m32r_upload_command): Use gdb_bfd_ref. | |
841 | * jit.c: Include gdb_bfd.h. | |
842 | (jit_bfd_try_read_symtab): Use gdb_bfd_ref, gdb_bfd_unref. | |
843 | * gdb_bfd.h: New file. | |
844 | * gdb_bfd.c: New file. | |
845 | * gcore.c: Include gdb_bfd.h. | |
846 | (create_gcore_bfd): Use gdb_bfd_ref. | |
847 | (do_bfd_delete_cleanup): Use gdb_bfd_unref. | |
848 | (gcore_command): Use gdb_bfd_unref. | |
849 | * exec.c: Include gdb_bfd.h. | |
850 | (exec_close): Use gdb_bfd_unref. | |
851 | (exec_close_1): Use gdb_bfd_unref. | |
852 | (exec_file_attach): Use gdb_bfd_ref. | |
853 | * elfread.c: Include gdb_bfd.h. | |
854 | (build_id_verify): Use gdb_bfd_unref. | |
855 | * dsrec.c: Include gdb_bfd.h. | |
856 | (load_srec): Use gdb_bfd_ref. | |
857 | * corelow.c: Include gdb_bfd.h. | |
858 | (core_close): Use gdb_bfd_unref. | |
859 | (core_open): Use gdb_bfd_ref. | |
860 | * bfd-target.c: Include gdb_bfd.h. | |
861 | (target_bfd_xclose): Use gdb_bfd_unref. | |
862 | (target_bfd_reopen): Use gdb_bfd_ref. | |
863 | * Makefile.in (SFILES): Add gdb_bfd.c. | |
864 | (HFILES_NO_SRCDIR): Add gdb_bfd.h. | |
865 | (COMMON_OBS): Add gdb_bfd.o. | |
866 | ||
ed1d1739 KS |
867 | 2012-07-18 Keith Seitz <[email protected]> |
868 | ||
869 | * breakpoint.c (find_condition_and_thread): Initialize | |
870 | TASK and REST. | |
871 | (create_breakpiont): find_condition_and_thread will now | |
872 | initialize COND_STRING, THREAD, and REST (and TASK). | |
873 | (addr_string_to_sals): Likewise. | |
874 | ||
eab402df PA |
875 | 2012-07-18 Pedro Alves <[email protected]> |
876 | ||
877 | * infrun.c (handle_inferior_event) <TARGET_WAITKIND_NO_HISTORY>: | |
878 | Pull the single step breakpoints out of the target. | |
879 | ||
2b963b68 SDJ |
880 | 2012-07-18 Sergio Durigan Junior <[email protected]> |
881 | ||
882 | * probe.c (probe_safe_evaluate_at_pc): Rename variable `n_probes'. | |
883 | * stap-probe.c (compile_probe_arg): Likewise. | |
884 | ||
6bac7473 SDJ |
885 | 2012-07-18 Sergio Durigan Junior <[email protected]> |
886 | ||
887 | * elfread.c (elf_get_probe_argument_count): Remove `objfile' argument. | |
888 | (elf_compile_to_ax): Likewise. | |
889 | * infrun.c (insert_exception_resume_from_probe): Likewise. | |
890 | (check_exception_resume): Remove `objfile' variable. | |
891 | * probe.c (find_probe_by_pc): Remove `objfile' argument. | |
892 | (struct probe_and_objfile, probe_and_objfile_s): Delete. | |
893 | (collect_probes): Adjust return value to `VEC (probe_p) *'. | |
894 | (compare_entries): Rename to... | |
895 | (compare_probes): ...this. Adjust function to work with | |
896 | `struct probe *'. Rename variables `ea' and `eb' to `pa' and `pb' | |
897 | respectively. | |
898 | (gen_ui_out_table_header_info): Adjust `probes' argument to be | |
899 | `VEC (probe_p) *'. | |
900 | (print_ui_out_info): Adjust argument to be `struct probe *'. | |
901 | (info_probes_for_ops): Adjust internal computations to use | |
902 | `VEC (probe_p) *'. | |
903 | (probe_safe_evaluate_at_pc): Refactor to not pass `objfile' anymore. | |
904 | * probe.h (struct probe_ops) <get_probe_argument_count, compile_to_ax, | |
905 | gen_info_probes_table_values>: Remove `objfile' argument. | |
906 | (struct probe) <objfile>: New field. | |
907 | (find_probe_by_pc): Remove `objfile' argument. | |
908 | * stap-probe.c (stap_parse_probe_arguments): Likewise. | |
909 | (stap_get_probe_argument_count): Likewise. | |
910 | (stap_get_arg): Likewise. | |
911 | (stap_evaluate_probe_argument): Likewise. | |
912 | (stap_compile_to_ax): Likewise. | |
913 | (compile_probe_arg): Refactor not to pass `objfile' anymore. | |
914 | (handle_stap_probe): Fill `objfile' field from `struct probe'. | |
915 | (stap_gen_info_probes_table_header): Remove `objfile' argument. | |
916 | * symfile.h (struct sym_probe_fns) <sym_evaluate_probe_argument, | |
917 | sym_compile_to_ax>: Likewise. | |
918 | ||
3347eb1a | 919 | 2012-07-18 Terry Guo <[email protected]> |
920 | ||
921 | PR 14329 | |
922 | * defs.h (GDB_MI_MSG_WIDTH): New. | |
923 | * ser_base (ser_base_read_error_fd): New function. | |
924 | (do_ser_base_readchar): Poll error file descriptor as well as | |
925 | standard output. | |
926 | (generic_readchar): Refactor error handling. | |
927 | ||
80c8d323 JB |
928 | 2012-07-18 Joel Brobecker <[email protected]> |
929 | ||
930 | * NEWS: Create a new section for the next release branch. | |
931 | Rename the section of the current branch, now that it has | |
932 | been cut. | |
933 | ||
b45a0664 | 934 | 2012-07-18 Joel Brobecker <[email protected]> |
935 | ||
936 | GDB 7.5 branch created (branch timestamp: 2012-07-18 03:22 UTC) | |
937 | * version.in: Bump version to 7.5.50.20120718-cvs. | |
938 | ||
09cf2b22 KS |
939 | 2012-07-17 Keith Seitz <[email protected]> |
940 | ||
941 | * linespec.c (linespec_parse_line_offset): Make parameter | |
942 | const. | |
943 | ||
8f043999 JK |
944 | 2012-07-16 Jan Kratochvil <[email protected]> |
945 | ||
946 | PR 11914 | |
947 | * f-valprint.c (info_common_command): New variable frame_id. | |
948 | Reinitialize FI form FRAME_ID after each print_variable_and_value. | |
949 | * printcmd.c (print_variable_and_value): Extend function comment. | |
950 | Add comment for invalidated FRAME. | |
951 | * stack.c (backtrace_command_1): New variable frame_id. Reinitialize | |
952 | FI form FRAME_ID after each print_frame_local_vars. | |
953 | (struct print_variable_and_value_data): Change frame to frame_id. | |
954 | (do_print_variable_and_value): New variable frame, initialize it from | |
955 | p->frame_id. Add comment for invalidated FRAME. | |
956 | (print_frame_local_vars, print_frame_arg_vars): New function comment. | |
957 | Update CB_DATA.FRAME to CB_DATA.FRAME_ID initialization. Add comment | |
958 | for invalidated FRAME. | |
959 | ||
ae5e0686 MK |
960 | 2012-07-16 Marc Khouzam <[email protected]> |
961 | Pedro Alves <[email protected]> | |
962 | ||
963 | * linux-nat.c (linux_nat_detach): Don't unregister from the event | |
964 | loop. | |
965 | ||
5049c5be TT |
966 | 2012-07-16 Tom Tromey <[email protected]> |
967 | ||
968 | * jv-typeprint.c (c_type_print_varspec_suffix): Don't declare. | |
969 | ||
2908cac6 DE |
970 | 2012-07-15 Doug Evans <[email protected]> |
971 | ||
094b34ac DE |
972 | * dwarf2read.c (stmt_list_hash): New struct. |
973 | (type_unit_group): Embed "per_cu" member, remove pointer. | |
974 | New union member "t", move member "tus" into it, all uses updated. | |
975 | New member "hash", replaces member "line_offset, all uses updated. | |
976 | (quick_file_names): Replace member "offset" with "hash", all uses | |
977 | updated. | |
978 | (hash_stmt_list_entry, eq_stmt_list_entry): New functions. | |
979 | (hash_file_name_entry, eq_file_name_entry): Call them. | |
980 | (hash_type_unit_group, eq_type_unit_group): Ditto. | |
981 | (dw2_get_cu, dw2_get_primary_cu): Replace assert with a better one. | |
982 | (dw2_get_file_names_reader): Fix file name table calculation for TUs. | |
983 | (dw2_get_file_names): Update. | |
984 | (create_type_unit_group): Replace "per_cu" arg with "cu". | |
985 | All callers updated. Fix "quick" (.gdb_index) handling. | |
986 | (get_type_unit_group): Replace "per_cu" arg with "cu". | |
987 | All callers updated. | |
988 | (build_type_unit_groups): Don't reset tu_stats. | |
989 | ||
2908cac6 DE |
990 | * symtab.c (filename_seen_cache): Delete members "tab_alloc_size", |
991 | "tab_cur_size". Change member "tab" to be a htab_t. | |
992 | (create_filename_seen_cache): Update. | |
993 | (clear_filename_seen_cache, delete_filename_seen_cache): Update. | |
994 | (filename_seen): Update. | |
995 | ||
a2b6eff5 DE |
996 | 2012-07-13 Doug Evans <[email protected]> |
997 | ||
998 | * symtab.c (filename_seen): Update comment. | |
999 | ||
4359dff1 JK |
1000 | 2012-07-13 Jan Kratochvil <[email protected]> |
1001 | Doug Evans <[email protected]> | |
1002 | ||
1003 | * buildsym.c (end_symtab_1): Split it to ... | |
1004 | (end_symtab_get_static_block): ... this ... | |
1005 | (end_symtab_from_static_block): ... and this function. | |
1006 | (end_symtab, end_expandable_symtab): Call them. | |
1007 | * buildsym.h (end_symtab_get_static_block) | |
1008 | (end_symtab_from_static_block): New declarations. | |
1009 | * dwarf2read.c (process_full_comp_unit): New variable static_block. | |
1010 | Set its valid CU ranges. | |
1011 | ||
a24f71ab JK |
1012 | 2012-07-13 Jan Kratochvil <[email protected]> |
1013 | ||
1014 | * dwarf2loc.c (disassemble_dwarf_expression): Handle | |
1015 | DW_OP_GNU_parameter_ref. | |
1016 | ||
d76b7dbc JK |
1017 | 2012-07-13 Jan Kratochvil <[email protected]> |
1018 | ||
1019 | * dwarf2read.c (read_call_site_scope): Do not gdb_assert for invalid | |
1020 | read-in CALL_SITE_PARAMETER_PARAM_OFFSET. | |
1021 | ||
9fdc877b DE |
1022 | 2012-07-13 Doug Evans <[email protected]> |
1023 | ||
1024 | * symtab.c (output_source_filename): Delete unnecessary forward decl. | |
1025 | (filename_seen_cache): New struct. | |
1026 | (INITIAL_FILENAME_SEEN_CACHE_SIZE): New macro. | |
1027 | (create_filename_seen_cache): New function. | |
1028 | (clear_filename_seen_cache, delete_filename_seen_cache): New functions. | |
1029 | (filename_seen): Delete arg "first". New arg "cache". All callers | |
1030 | updated. | |
1031 | (output_source_filename_data): New struct. | |
1032 | (output_source_filename): Delete arg "first". New arg "data". | |
1033 | All callers updated. | |
1034 | (sources_info): Delete local "first". New locals "data", "cleanups". | |
1035 | Rewrite to use filename_seen_cache. | |
1036 | (add_partial_filename_data): Delete member "first". New member | |
1037 | "filename_seen_cache". All uses updated. | |
1038 | (make_source_files_completion_list): Rewrite to use | |
1039 | filename_seen_cache. | |
1040 | ||
f80c6f3f DE |
1041 | 2012-07-12 Doug Evans <[email protected]> |
1042 | ||
1043 | * psymtab.c (map_symbol_filenames_psymtab): Skip shared psymtabs. | |
1044 | ||
0bfa869d DE |
1045 | 2012-07-10 Doug Evans <[email protected]> |
1046 | ||
f4dc4d17 DE |
1047 | PR gdb/13498 |
1048 | * dwarf2read.c (dwarf2_per_objfile): New members n_type_unit_groups, | |
1049 | all_type_unit_groups, type_unit_groups, tu_stats. | |
1050 | (dwarf2_per_cu_data): Move "imported_symtabs" into new union "s". | |
1051 | All uses updated. Add type_unit_group to union "s". | |
1052 | (type_unit_group): New struct. | |
1053 | (IS_TYPE_UNIT_GROUP): New macro. | |
1054 | (abbrev_table): Delete unused member "section". | |
1055 | (dw2_do_instantiate_symtab): Early exit if type_unit_group. | |
1056 | (dw2_get_cu): Assert not used with type_unit_group. | |
1057 | (dw2_get_primary_cu): New function. | |
1058 | (dw2_build_type_unit_groups_reader): New function. | |
1059 | (dw2_build_type_unit_groups): New function. | |
1060 | (dw2_get_file_names): Assert not called on type units. | |
1061 | (dw2_map_symtabs_matching_filename): Call dw2_build_type_unit_groups. | |
1062 | Redo loop to iterate over type unit groups instead of type units. | |
1063 | (dw2_expand_symtabs_matching, dw2_map_symbol_filenames): Ditto. | |
1064 | (read_abbrev_offset): New function. | |
1065 | (init_cutu_and_read_dies): New arg "abbrev_table". All callers | |
1066 | updated. | |
1067 | (create_partial_symtab): New function. | |
1068 | (process_psymtab_comp_unit_reader): Assert not used with type units. | |
1069 | Call create_partial_symtab. | |
1070 | (process_psymtab_type_unit): Delete. | |
1071 | (hash_type_unit_group, eq_type_unit_group): New functions. | |
1072 | (allocate_type_unit_groups_table): New function. | |
1073 | (NO_STMT_LIST_TYPE_UNIT_PSYMTAB): New macro. | |
1074 | (NO_STMT_LIST_TYPE_UNIT_PSYMTAB_SIZE): New macro. | |
1075 | (create_type_unit_group, get_type_unit_group): New functions. | |
1076 | (tu_abbrev_offset): New struct. | |
1077 | (sort_tu_by_abbrev_offset): New function. | |
1078 | (add_type_unit_group_to_table): New function. | |
1079 | (build_type_unit_groups): New function. | |
1080 | (build_type_psymtabs_reader): New function. | |
1081 | (build_type_psymtab_dependencies): New function. | |
1082 | (build_type_psymtabs): Rewrite. | |
1083 | (scan_partial_symbols): Flag an error if a DW_TAG_imported_unit | |
1084 | is seen in a type unit. | |
1085 | (process_queue): Move symtab expansion debugging printfs here. | |
1086 | Call process_full_type_unit for type units. | |
1087 | (compute_symtab_includes): Assert not called for type units. | |
1088 | (process_cu_includes): Don't call compute_symtab_includes for | |
1089 | type units. | |
1090 | (process_full_type_unit): New function. | |
1091 | (process_imported_unit_die): Flag an error if called for type units. | |
1092 | (handle_DW_AT_stmt_list): Delete arg "want_line_info". All callers | |
1093 | updated. Assert not called for type units. | |
1094 | (read_file_scope): Call dwarf2_start_symtab. | |
1095 | (setup_type_unit_groups): New function. | |
1096 | (read_type_unit_scope): Rewrite. | |
1097 | (abbrev_table_read_table): Initialize abbrev_table->offset. | |
1098 | (abbrev_table_free_cleanup): New function. | |
1099 | (dwarf2_start_symtab): New function. | |
1100 | (load_full_type_unit): Assert not called for type unit groups. | |
6d30eef8 DE |
1101 | * buildsym.c (finish_block_internal): New arg "expandable". |
1102 | All callers updated. | |
1103 | (start_symtab): Move most contents to ... | |
1104 | (restart_symtab): ... here. New function. | |
1105 | (reset_symtab_globals): New function. | |
1106 | (end_symtab_1): Renamed from end_symtab. New arg "expandable". | |
1107 | Call reset_symtab_globals. | |
1108 | (end_symtab, end_expandable_symtab): New functions. | |
1109 | (set_missing_symtab, augment_type_symtab): New functions. | |
1110 | * buildsym.h (end_expandable_symtab): Declare. | |
1111 | (augment_type_symtab, restart_symtab): Declare. | |
b4c41fc7 DE |
1112 | * psympriv.h (struct partial_symtab): New member "anonymous". |
1113 | * psymtab.c (partial_map_symtabs_matching_filename): Ignore | |
1114 | anonymous psymtabs. | |
1115 | (read_psymtabs_with_filename): Ditto. | |
1116 | (map_symbol_filenames_psymtab, psymtab_to_fullname): Ditto. | |
1117 | (expand_symtabs_matching_via_partial): Ditto. | |
1118 | (dump_psymtab): Update. | |
0bfa869d DE |
1119 | * dictionary.c (dict_add_pending): New function. |
1120 | * dictionary.h (dict_add_pending): Declare. | |
1121 | ||
45e58e77 DE |
1122 | 2012-07-09 Doug Evans <[email protected]> |
1123 | ||
b74db436 DE |
1124 | * buildsym.c (start_subfile): Remove unnecessary check for |
1125 | name == NULL. | |
1126 | ||
fd55216c DE |
1127 | * psymtab.c (allocate_psymtab): Use host_address_to_string. |
1128 | ||
6721b2ec DE |
1129 | * dwarf2read.c (load_full_type_unit): Simplify. |
1130 | ||
b4dd5633 DE |
1131 | * dwarf2read.c (dwarf2_per_objfile): Change type of all_type_units |
1132 | to struct signatured_type **. All uses updated. | |
1133 | ||
45e58e77 DE |
1134 | * dwarf2read.c (dwarf2_attr_no_follow): Delete unused arg "cu". |
1135 | All callers updated. | |
1136 | ||
e314d629 TT |
1137 | 2012-07-09 Tom Tromey <[email protected]> |
1138 | ||
1139 | * c-exp.y (check_parameter_typelist): New function. | |
1140 | (parameter_typelist): Call it. | |
1141 | * eval.c (make_params): Handle '(void)' case. | |
1142 | * gdbtypes.c (lookup_function_type_with_arguments): Handle | |
1143 | '(void)' case. | |
1144 | ||
aa7c7447 JK |
1145 | 2012-07-07 Jan Kratochvil <[email protected]> |
1146 | ||
1147 | * common/linux-ptrace.c: Include gdb_assert.h. | |
1148 | <__i386__> (linux_ptrace_test_ret_to_nx_instr): New declaration. | |
1149 | <__i386__>: Include sys/reg.h, sys/mman.h, signal.h, sys/wait.h and | |
1150 | stdint.h. | |
1151 | (linux_ptrace_test_ret_to_nx, linux_ptrace_init_warnings): New | |
1152 | functions. | |
1153 | * common/linux-ptrace.h (linux_ptrace_init_warnings): New declarations. | |
1154 | * linux-nat.c (linux_child_post_attach) | |
1155 | (linux_child_post_startup_inferior): Call linux_ptrace_init_warnings. | |
1156 | ||
889003ed JK |
1157 | 2012-07-07 Jan Kratochvil <[email protected]> |
1158 | ||
1159 | * linux-thread-db.c (thread_db_find_new_threads_silently): Do not apply | |
1160 | nptl <2.7 bug workaround for core files. | |
1161 | ||
da559b09 JK |
1162 | 2012-07-06 Jan Kratochvil <[email protected]> |
1163 | ||
1164 | * linux-nat.c (resume_lwp, linux_nat_resume): Remove LP->SIGINFO | |
1165 | clearing. | |
1166 | (save_siginfo): Remove. | |
1167 | (stop_wait_callback, linux_nat_filter_event): Remove the save_siginfo | |
1168 | call. | |
1169 | (resume_stopped_resumed_lwps): Remove LP->SIGINFO clearing. | |
1170 | (linux_nat_get_siginfo): Use PTRACE_GETSIGINFO. | |
1171 | * linux-nat.h (struct lwp_info): Remove field siginfo. | |
1172 | ||
f865ee35 JK |
1173 | 2012-07-06 Jan Kratochvil <[email protected]> |
1174 | ||
1175 | Code cleanup for the next patch. | |
1176 | * arm-linux-nat.c (arm_linux_stopped_data_address): Change variable | |
1177 | siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo | |
1178 | call for it. | |
1179 | * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise. | |
1180 | (ia64_linux_stopped_data_address): | |
1181 | * linux-nat.c (linux_nat_get_siginfo): Add parameter siginfo, change | |
1182 | the return value. | |
1183 | * linux-nat.h (linux_nat_get_siginfo): Likewise. | |
1184 | * ppc-linux-nat.c (ppc_linux_stopped_data_address): Change variable | |
1185 | siginfo_p to siginfo, update its users incl. the linux_nat_get_siginfo | |
1186 | call for it. | |
1187 | ||
76b83c51 JK |
1188 | 2012-07-06 Jan Kratochvil <[email protected]> |
1189 | ||
1190 | PR 14321 | |
1191 | * findcmd.c (parse_find_args): New variable pattern_buf_size_need. | |
1192 | Increase buffer sizes to 2x we need, not just 2x of the previous size. | |
1193 | ||
a6fb9c08 TT |
1194 | 2012-07-06 Tom Tromey <[email protected]> |
1195 | ||
1196 | * c-exp.y (DOTDOTDOT): New token. | |
1197 | (func_mod, exp): Use parameter_typelist. | |
1198 | (parameter_typelist): New production. | |
1199 | (tokentab3): Add "..." token. | |
1200 | * eval.c (make_params): Handle varargs. | |
1201 | * gdbtypes.c (lookup_function_type_with_arguments): Handle | |
1202 | varargs. | |
1203 | ||
71918a86 TT |
1204 | 2012-07-06 Tom Tromey <[email protected]> |
1205 | ||
1206 | PR exp/9608: | |
1207 | * c-exp.y (%union) <tvec>: Change type. | |
1208 | (func_mod): Now uses <tvec> type. | |
1209 | (exp): Update for tvec change. | |
1210 | (direct_abs_decl): Push the typelist. | |
1211 | (func_mod): Return a typelist. | |
1212 | (nonempty_typelist): Update for tvec change. | |
1213 | * gdbtypes.c (lookup_function_type_with_arguments): New function. | |
1214 | * gdbtypes.h (lookup_function_type_with_arguments): Declare. | |
1215 | * parse.c (pop_type_list): New function. | |
1216 | (push_typelist): New function. | |
1217 | (follow_types): Handle tp_function_with_arguments. | |
1218 | * parser-defs.h (type_ptr): New typedef. Define a VEC. | |
1219 | (enum type_pieces) <tp_function_with_arguments>: New constant. | |
1220 | (union type_stack_elt) <typelist_val>: New field. | |
1221 | (push_typelist): Declare. | |
1222 | ||
fcde5961 TT |
1223 | 2012-07-06 Tom Tromey <[email protected]> |
1224 | ||
1225 | * c-exp.y (%union) <type_stack>: New field. | |
1226 | (abs_decl, direct_abs_decl): Use <type_stack> type. Update. | |
1227 | (ptr_operator_ts): New production. | |
1228 | (ptype): Update. | |
1229 | * parse.c (type_stack_reserve): New function. | |
1230 | (check_type_stack_depth): Use it. | |
1231 | (pop_type_stack, append_type_stack, push_type_stack) | |
1232 | (get_type_stack, type_stack_cleanup): New functions. | |
1233 | (follow_types): Handle tp_type_stack. | |
1234 | (_initialize_parse): Simplify initialization. | |
1235 | * parser-defs.h (enum type_pieces) <tp_type_stack>: New | |
1236 | constant. | |
1237 | (union type_stack_elt) <stack_val>: New field. | |
1238 | (get_type_stack, append_type_stack, push_type_stack) | |
1239 | (type_stack_cleanup): Declare. | |
1240 | ||
1a7d0ce4 TT |
1241 | 2012-07-06 Tom Tromey <[email protected]> |
1242 | ||
1243 | * parser-defs.h (type_stack, type_stack_size, type_stack_depth): | |
1244 | Remove. | |
1245 | (struct type_stack): New. | |
1246 | * parse.c (type_stack, type_stack_size, type_stack_depth): | |
1247 | Remove. | |
1248 | (type_stack): New global. | |
1249 | (parse_exp_in_context, check_type_stack_depth) | |
1250 | (insert_into_type_stack, insert_type, push_type, push_type_int) | |
1251 | (insert_type_address_space, pop_type, pop_type_int) | |
1252 | (_initialize_parse): Update. | |
1253 | ||
16d01384 TT |
1254 | 2012-07-06 Tom Tromey <[email protected]> |
1255 | ||
1256 | * c-exp.y (func_mod, direct_abs_decl, abs_decl, ptr_operator): | |
1257 | Remove %type. | |
1258 | ||
9bfc60bf SP |
1259 | 2012-07-06 Siddhesh Poyarekar <[email protected]> |
1260 | ||
1261 | * c-lang.c (c_printstr): Remove ununsed variable WIDTH. | |
1262 | ||
d5161074 SP |
1263 | 2012-07-06 Siddhesh Poyarekar <[email protected]> |
1264 | Jan Kratochvil <[email protected]> | |
1265 | ||
1266 | * cp-valprint.c (cp_print_value): Replace potentially unsafe | |
1267 | alloca with xmalloc/xfree. | |
1268 | ||
a74bc576 SP |
1269 | 2012-07-06 Siddhesh Poyarekar <[email protected]> |
1270 | ||
1271 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
1272 | ||
667e0a4b DE |
1273 | 2012-07-05 Doug Evans <[email protected]> |
1274 | ||
1275 | * dwarf2read.c (dw2_expand_symtabs_matching): Fix typo. | |
1276 | ||
34b536a8 HZ |
1277 | 2012-07-05 Hui Zhu <[email protected]> |
1278 | ||
1279 | * ax-gdb.c (cli/cli-utils.h): New include. | |
1280 | (linespec.h): Ditto. | |
1281 | (agent_eval_command_one): New function. | |
1282 | (agent_command_1): Ditto. | |
1283 | (agent_command): Call function agent_command_1. | |
1284 | (agent_eval_command): Ditto. | |
1285 | (_initialize_ax_gdb): Change help for "maint agent" | |
1286 | and "maint agent-eval". | |
1287 | ||
e6f0bce7 HZ |
1288 | 2012-07-05 Hui Zhu <[email protected]> |
1289 | ||
1290 | * breakpoint.c (check_for_argument): Move to file cli/cli-utils.c. | |
1291 | * cli/cli-utils.c (check_for_argument): New function. | |
1292 | * cli/cli-utils.h (check_for_argument): Ditto. | |
1293 | ||
1b3371b1 L |
1294 | 2012-07-04 H.J. Lu <[email protected]> |
1295 | ||
1296 | * NEWS: Mention x32 ABI support. | |
1297 | ||
23e2d720 L |
1298 | 2012-07-04 H.J. Lu <[email protected]> |
1299 | ||
1300 | * amd64-tdep.c (amd64_x32_init_abi): Set sp_regnum_from_eax to | |
1301 | AMD64_RSP_REGNUM and pc_regnum_from_eax to AMD64_RIP_REGNUM. | |
1302 | ||
1303 | * i386-tdep.c (i386_gdbarch_init): Initialize sp_regnum_from_eax | |
1304 | and pc_regnum_from_eax to -1. Update SP regnum from | |
1305 | sp_regnum_from_eax and PC regnum from pc_regnum_from_eax if | |
1306 | needed. | |
1307 | ||
1308 | * i386-tdep.h (gdbarch_tdep): Add sp_regnum_from_eax and | |
1309 | pc_regnum_from_eax. | |
1310 | ||
836bf454 JK |
1311 | 2012-07-03 Jan Kratochvil <[email protected]> |
1312 | ||
1313 | Fix 'warning: parameter has incomplete type' with gcc-3.4.6. | |
1314 | * dwarf2expr.h: Include gdbtypes.h. | |
1315 | (enum call_site_parameter_kind, union call_site_parameter_u): Remove | |
1316 | these forward declarations. | |
1317 | (cu_offset, sect_offset): Move these ... | |
1318 | * gdbtypes.h: Remove include dwarf2expr.h. | |
1319 | (cu_offset, sect_offset): ... here. | |
1320 | ||
1e55e04f L |
1321 | 2012-07-03 H.J. Lu <[email protected]> |
1322 | ||
1323 | * amd64-linux-tdep.c (linux_sigtramp_code): Renamed to ... | |
1324 | (amd64_linux_sigtramp_code): This. | |
1325 | (amd64_x32_linux_sigtramp_code): New. | |
1326 | (LINUX_SIGTRAMP_LEN): Updated. | |
1327 | (amd64_linux_sigtramp_start): Check x32 sigtramp. | |
1328 | ||
7d0e21ad JK |
1329 | 2012-07-02 Jan Kratochvil <[email protected]> |
1330 | ||
1331 | * linux-thread-db.c (thread_db_new_objfile): Fix comment typos. | |
1332 | ||
8775fd2d JK |
1333 | 2012-07-02 Jan Kratochvil <[email protected]> |
1334 | ||
1335 | * config.in: Regenerate. | |
1336 | * configure: Regenerate. | |
1337 | * configure.ac: Remove check for gnu/libc-version.h. | |
1338 | * linux-thread-db.c <HAVE_GNU_LIBC_VERSION_H>: Remove include of | |
1339 | gnu/libc-version.h. | |
1340 | (enable_thread_event_reporting) <HAVE_GNU_LIBC_VERSION_H>: Remove | |
1341 | variables libc_version, libc_major and libc_minor. Replace sscanf by | |
1342 | inferior_has_bug. Extend the comment. | |
1343 | ||
fcb44371 JK |
1344 | 2012-07-02 Jan Kratochvil <[email protected]> |
1345 | ||
1346 | * linux-thread-db.c (inferior_has_bug): New function. | |
1347 | (thread_db_find_new_threads_silently): Return boolean as checked by | |
1348 | inferior_has_bug, describe it in the comments. | |
1349 | (try_thread_db_load_1): Move call to thread_db_find_new_threads_silently | |
1350 | earlier. Abort the initialization if it returned non-zero. | |
7d0e21ad | 1351 | (thread_db_new_objfile): Exclude debug files. |
fcb44371 JK |
1352 | (thread_db_find_new_threads_2): Preinitialize ERR. Check errors also |
1353 | if UNTIL_NO_NEW, | |
1354 | ||
09406207 DE |
1355 | 2012-07-02 Doug Evans <[email protected]> |
1356 | ||
0907af0c DE |
1357 | * dwarf2read.c (maybe_queue_comp_unit): Move definition next to others |
1358 | related to queue management. | |
1359 | ||
09406207 DE |
1360 | * dwarf2read.c (create_debug_types_hash_table): Use "debug dwarf2-read" |
1361 | instead of "debug dwarf2-die" in debugging printfs. | |
1362 | (create_debug_info_hash_table_reader): Ditto. | |
1363 | (create_debug_info_hash_table): Ditto. | |
1364 | (init_dwo_file): Ditto. | |
1365 | (init_cutu_and_read_dies): Add debugging printf. | |
1366 | (init_cutu_and_read_dies_no_follow): Ditto. | |
1367 | (process_psymtab_comp_unit_reader): Ditto. | |
1368 | ||
d3ce09f5 SS |
1369 | 2012-07-02 Stan Shebs <[email protected]> |
1370 | ||
1371 | Add target-side support for dynamic printf. | |
1372 | * NEWS: Mention the additional style. | |
1373 | * breakpoint.h (struct bp_target_info): New fields tcommands, persist. | |
1374 | (struct bp_location): New field cmd_bytecode. | |
1375 | * breakpoint.c: Include format.h. | |
1376 | (disconnected_dprintf): New global. | |
1377 | (parse_cmd_to_aexpr): New function. | |
1378 | (build_target_command_list): New function. | |
1379 | (insert_bp_location): Call it. | |
1380 | (remove_breakpoints_pid): Skip dprintf breakpoints. | |
1381 | (print_one_breakpoint_location): Ditto. | |
1382 | (dprintf_style_agent): New global. | |
1383 | (dprintf_style_enums): Add dprintf_style_agent. | |
1384 | (update_dprintf_command_list): Add agent case. | |
1385 | (agent_printf_command): New function. | |
1386 | (_initialize_breakpoint): Add new commands. | |
1387 | * common/ax.def (printf): New bytecode. | |
1388 | * ax.h (ax_string): Declare. | |
1389 | * ax-gdb.h (gen_printf): Declare. | |
1390 | * ax-gdb.c: Include cli-utils.h, format.h. | |
1391 | (gen_printf): New function. | |
1392 | (maint_agent_print_command): New function. | |
1393 | (_initialize_ax_gdb): Add maint agent-printf command. | |
1394 | * ax-general.c (ax_string): New function. | |
1395 | (ax_print): Add printf disassembly. | |
1396 | * Makefile.in (SFILES): Add format.c | |
1397 | (COMMON_OBS): Add format.o. | |
1398 | * common/format.h: New file. | |
1399 | * common/format.c: New file. | |
1400 | * printcmd.c: Include format.h. | |
1401 | (ui_printf): Call parse_format_string. | |
1402 | * remote.c (remote_state): New field breakpoint_commands. | |
1403 | (PACKET_BreakpointCommands): New enum. | |
1404 | (remote_breakpoint_commands_feature): New function. | |
1405 | (remote_protocol_features): Add new BreakpointCommands entry. | |
1406 | (remote_can_run_breakpoint_commands): New function. | |
1407 | (remote_add_target_side_commands): New function. | |
1408 | (remote_insert_breakpoint): Call it. | |
1409 | (remote_insert_hw_breakpoint): Ditto. | |
1410 | (_initialize_remote): Add new packet configuration for | |
1411 | target-side breakpoint commands. | |
1412 | * target.h (struct target_ops): New field | |
1413 | to_can_run_breakpoint_commands. | |
1414 | (target_can_run_breakpoint_commands): New macro. | |
1415 | * target.c (update_current_target): Handle | |
1416 | to_can_run_breakpoint_commands. | |
1417 | ||
2d7b58e8 JK |
1418 | 2012-07-02 Jan Kratochvil <[email protected]> |
1419 | ||
1420 | Execute -ix and -iex only after system and user gdbinit files. | |
1421 | * main.c (captured_main): Move CMDARG_INIT_FILE and CMDARG_INIT_COMMAND | |
1422 | processing down after gdbinit files. | |
1423 | ||
8690e634 JK |
1424 | 2012-07-02 Jan Kratochvil <[email protected]> |
1425 | ||
1426 | Add fnmatch-gnu module. | |
1427 | * gnulib/Makefile.in (aclocal_m4_deps): Add new files and remove one. | |
1428 | * gnulib/configure.ac (AC_INIT): Use now import/memmem.c. | |
1429 | * gnulib/aclocal.m4: Regenerate. | |
1430 | * gnulib/config.in: Regenerate. | |
1431 | * gnulib/configure: Regenerate. | |
1432 | * gnulib/import/dummy.c: Remove. | |
1433 | * gnulib/import/Makefile.am: Regenerate. | |
1434 | * gnulib/import/Makefile.in: Likewise. | |
1435 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
1436 | * gnulib/import/m4/gnulib-comp.m4: Likewise. | |
1437 | * gnulib/import/alloca.c: New file. | |
1438 | * gnulib/import/alloca.in.h: Likewise. | |
1439 | * gnulib/import/config.charset: Likewise. | |
1440 | * gnulib/import/fnmatch.c: Likewise. | |
1441 | * gnulib/import/fnmatch.in.h: Likewise. | |
1442 | * gnulib/import/fnmatch_loop.c: Likewise. | |
1443 | * gnulib/import/localcharset.c: Likewise. | |
1444 | * gnulib/import/localcharset.h: Likewise. | |
1445 | * gnulib/import/m4/alloca.m4: Likewise. | |
1446 | * gnulib/import/m4/codeset.m4: Likewise. | |
1447 | * gnulib/import/m4/configmake.m4: Likewise. | |
1448 | * gnulib/import/m4/fcntl-o.m4: Likewise. | |
1449 | * gnulib/import/m4/fnmatch.m4: Likewise. | |
1450 | * gnulib/import/m4/glibc21.m4: Likewise. | |
1451 | * gnulib/import/m4/localcharset.m4: Likewise. | |
1452 | * gnulib/import/m4/locale-fr.m4: Likewise. | |
1453 | * gnulib/import/m4/locale-ja.m4: Likewise. | |
1454 | * gnulib/import/m4/locale-zh.m4: Likewise. | |
1455 | * gnulib/import/m4/mbrtowc.m4: Likewise. | |
1456 | * gnulib/import/m4/mbsinit.m4: Likewise. | |
1457 | * gnulib/import/m4/mbsrtowcs.m4: Likewise. | |
1458 | * gnulib/import/m4/mbstate_t.m4: Likewise. | |
1459 | * gnulib/import/m4/stdbool.m4: Likewise. | |
1460 | * gnulib/import/m4/wchar_h.m4: Likewise. | |
1461 | * gnulib/import/m4/wctype_h.m4: Likewise. | |
1462 | * gnulib/import/m4/wint_t.m4: Likewise. | |
1463 | * gnulib/import/mbrtowc.c: Likewise. | |
1464 | * gnulib/import/mbsinit.c: Likewise. | |
1465 | * gnulib/import/mbsrtowcs-impl.h: Likewise. | |
1466 | * gnulib/import/mbsrtowcs-state.c: Likewise. | |
1467 | * gnulib/import/mbsrtowcs.c: Likewise. | |
1468 | * gnulib/import/ref-add.sin: Likewise. | |
1469 | * gnulib/import/ref-del.sin: Likewise. | |
1470 | * gnulib/import/stdbool.in.h: Likewise. | |
1471 | * gnulib/import/streq.h: Likewise. | |
1472 | * gnulib/import/strnlen1.c: Likewise. | |
1473 | * gnulib/import/strnlen1.h: Likewise. | |
1474 | * gnulib/import/verify.h: Likewise. | |
1475 | * gnulib/import/wchar.in.h: Likewise. | |
1476 | * gnulib/import/wctype.in.h: Likewise. | |
1477 | ||
202cbf1c JK |
1478 | 2012-07-02 Jan Kratochvil <[email protected]> |
1479 | ||
1480 | Support shell wildcards for 'set auto-load safe-path'. | |
1481 | * auto-load.c: Include fnmatch.h. | |
1482 | (filename_is_in_dir): Rename to ... | |
1483 | (filename_is_in_pattern_1, filename_is_in_pattern): ... here and split | |
1484 | it. Update function comment. Rename dir_len to pattern_len. New | |
1485 | variables filename_len, pattern and filename. Add more DEBUG_AUTO_LOAD | |
1486 | messages. Use gdb_filename_fnmatch. | |
1487 | (filename_is_in_auto_load_safe_path_vec): Rename variable dir to | |
1488 | pattern. | |
1489 | (_initialize_auto_load): Extend the "set auto-load safe-path" help text. | |
1490 | * defs.h (gdb_filename_fnmatch): New declaration. | |
1491 | * utils.c: Include fnmatch.h. | |
1492 | (gdb_filename_fnmatch): New function. | |
1493 | ||
fb7b5af4 SDJ |
1494 | 2012-07-02 Sergio Durigan Junior <[email protected]> |
1495 | ||
1496 | * breakpoint.c (BREAK_ARGS_HELP): Include help message for the new | |
1497 | `-probe' and `-probe-stap' options. | |
1498 | ||
72d0e2c5 YQ |
1499 | 2012-07-01 Yao Qi <[email protected]> |
1500 | ||
1501 | * breakpoint.c: Removed always_inserted_auto, always_inserted_on, | |
1502 | always_inserted_off, and always_inserted_enums. | |
1503 | Change always_inserted_mode's type to 'enum auto_boolean'. | |
1504 | (show_always_inserted_mode, breakpoint_always_inserted_mode): Update | |
1505 | callers. | |
1506 | (_initialize_breakpoint): Call add_setshow_auto_boolean_cmd instead | |
1507 | of add_setshow_enum_cmd. | |
1508 | * infrun.c: Remove can_use_displaced_stepping_auto, | |
1509 | can_use_displaced_stepping_on, can_use_displaced_stepping_off, and | |
1510 | can_use_displaced_stepping_enum. | |
1511 | Change can_use_displaced_stepping's type to 'enum auto_boolean'. | |
1512 | (show_can_use_displaced_stepping, use_displaced_stepping): Update callers. | |
1513 | (_initialize_infrun): Call add_setshow_auto_boolean_cmd instead of | |
1514 | add_setshow_enum_cmd. | |
1515 | ||
42e7ad6c DE |
1516 | 2012-06-30 Doug Evans <[email protected]> |
1517 | ||
1518 | * dwarf2read.c (signatured_type): Make "per_cu" member first. | |
1519 | (init_cutu_and_read_dies): Handle rereading a DWO CU while it's | |
1520 | currently being read. Propagate DW_AT_comp_dir to DWO DIE. | |
1521 | ||
39cf75f7 DE |
1522 | 2012-06-29 Doug Evans <[email protected]> |
1523 | ||
1524 | * linespec.c: #include "stack.h". | |
1525 | (decode_line_with_current_source): Moved here from symtab.c and | |
1526 | renamed from decode_line_spec. All callers updated. | |
1527 | (decode_line_with_last_displayed): Moved here from breakpoint.c and | |
1528 | renamed from decode_line_spec_1. All callers updated. | |
1529 | * linespec.h (decode_line_with_current_source): Move declaration here | |
1530 | from symtab.h and renamed from decode_line_spec. | |
1531 | (decode_line_with_last_displayed): Move declaration here from symtab.h | |
1532 | and renamed from decode_line_spec_1. | |
1533 | * macrocmd.c: #include "linespec.h". | |
1534 | * symtab.c: Remove #include "linespec.h". | |
1535 | ||
433df2d4 DE |
1536 | 2012-06-28 Doug Evans <[email protected]> |
1537 | ||
1ce1cefd DE |
1538 | * dwarf2read.c (get_cu_length): New function. |
1539 | (offset_in_cu_p, error_check_comp_unit_head): Call it. | |
1540 | (create_debug_types_hash_table): Ditto. | |
1541 | (init_cutu_and_read_dies): Ditto. | |
1542 | (init_cutu_and_read_dies_no_follow): Ditto. | |
1543 | ||
3b80fe9b DE |
1544 | * dwarf2read.c (dwarf2_find_base_address): Move definition. |
1545 | ||
433df2d4 DE |
1546 | * dwarf2read.c (ABBREV_HASH_SIZE): Remove enclosing #ifndef/#endif. |
1547 | (struct abbrev_table): Define. | |
1548 | (dwarf2_cu): Replace members dwarf2_abbrevs, abbrev_obstack with | |
1549 | abbrev_table. | |
1550 | (init_cutu_and_read_dies): Update. | |
1551 | (abbrev_table_alloc_abbrev): New function. Replaces | |
1552 | dwarf_alloc_abbrev. All callers updated. | |
1553 | (abbrev_table_add_abbrev): New function. | |
1554 | (abbrev_table_lookup_abbrev): New function. Replaces | |
1555 | dwarf2_lookup_abbrev. All callers updated. | |
1556 | (abbrev_table_read_table): New function. Contents moved here from | |
1557 | dwarf2_read_abbrevs. | |
1558 | (dwarf2_read_abbrevs): Call it. | |
1559 | (abbrev_table_free): New function. | |
1560 | (dwarf2_free_abbrev_table): Call it. | |
1561 | ||
71caed83 SS |
1562 | 2012-06-28 Stan Shebs <[email protected]> |
1563 | ||
1564 | * osdata.c (info_osdata_command): Filter out "Title" columns | |
1565 | from non-MI uses. | |
1566 | * common/linux-osdata.c (struct osdata_type): Add title field. | |
1567 | (osdata_table): Add titles to each entry. | |
1568 | (linux_command_xfer_osdata): Add a column for title data. | |
1569 | ||
37ce89eb SS |
1570 | 2012-06-28 Stan Shebs <[email protected]> |
1571 | ||
1572 | Make logging work for MI. | |
1573 | * NEWS: Mention it. | |
1574 | * interps.h (interp_set_logging_ftype): New typedef. | |
1575 | (struct interp_procs): New field set_logging_proc. | |
1576 | (current_interp_set_logging): Declare. | |
1577 | * interps.c (current_interp_set_logging): New function. | |
1578 | * cli/cli-logging.c: Include interps.h. | |
1579 | (set_logging_redirect): Call current_interp_set_logging. | |
1580 | (pop_output_files): Ditto. | |
1581 | (handle_redirections): Ditto, plus skip ui-out redirect if MI. | |
1582 | * mi/mi-console.h (mi_console_set_raw): Declare. | |
1583 | * mi/mi-console.c (mi_console_set_raw): New function. | |
1584 | * mi/mi-interp.c (saved_raw_stdout): New global. | |
1585 | (mi_set_logging): New function. | |
1586 | (_initialize_mi_interp): Add it to interp procs. | |
1587 | ||
659c9f3a DE |
1588 | 2012-06-28 Doug Evans <[email protected]> |
1589 | ||
a743abeb DE |
1590 | * symtab.c (lookup_symbol_aux_objfile): Use |
1591 | ALL_OBJFILE_PRIMARY_SYMTABS. | |
1592 | ||
659c9f3a DE |
1593 | * gdbtypes.c (lookup_typename): Rename local variable "tmp" to "type". |
1594 | ||
da2d6d3d JK |
1595 | 2012-06-28 Jan Kratochvil <[email protected]> |
1596 | ||
1597 | * common/buffer.c: Include inttypes.h and stdint.h. | |
1598 | (buffer_xml_printf): Use PRId64, PRIu64, PRIx64 and PRIo64. | |
1599 | ||
e5ef252a PA |
1600 | 2012-06-28 Jan Kratochvil <[email protected]> |
1601 | Pedro Alves <[email protected]> | |
1602 | ||
1603 | * gdbthread.h (ALL_THREADS): New macro. | |
1604 | (thread_list): Declare. | |
1605 | * infrun.c (handle_inferior_event) <spurious signal>: Don't keep | |
1606 | going, but instead fall through to the stepping handling. | |
1607 | * linux-nat.c (resume_lwp): New parameter 'signo'. Resume with | |
1608 | the passed in signal. Adjust debug output. | |
1609 | (resume_callback): Rename to ... | |
1610 | (linux_nat_resume_callback): ... this. Pass the thread's last | |
1611 | stop signal, if in "pass" state. | |
1612 | (linux_nat_resume): Adjust to rename. | |
1613 | (stop_wait_callback): New assertion. Don't respawn signals; | |
1614 | instead let the LWP remain with SIGNALLED set. | |
1615 | (linux_nat_wait_1): Remove flushing of pending SIGSTOPs. | |
1616 | * remote.c (append_pending_thread_resumptions): New. | |
1617 | (remote_vcont_resume): Call it. | |
1618 | * target.h (target_resume): Extend comment. | |
1619 | ||
1d7975eb IS |
1620 | 2012-06-28 Iain Sandoe <[email protected]> |
1621 | ||
1622 | * auxv.c (fprint_target_auxv): Handle extended cache data tags. | |
1623 | ||
2e3cf129 DE |
1624 | 2012-06-27 Doug Evans <[email protected]> |
1625 | ||
1626 | * dwarf2read.c (dwarf2_cu): Add ranges_base. | |
1627 | Delete have_addr_base, unused. All uses updated. | |
1628 | (init_cutu_and_read_dies): Process DW_AT_GNU_ranges_base. | |
1629 | (dwarf2_get_pc_bounds): Add ranges_base. | |
1630 | (dwarf2_record_block_ranges): Ditto. | |
1631 | ||
1bb9788d TT |
1632 | 2012-06-27 Tom Tromey <[email protected]> |
1633 | ||
1634 | PR macros/7961: | |
1635 | * varobj.c (varobj_create): Update. | |
1636 | (varobj_set_value): Update. | |
1637 | * tracepoint.c (validate_actionline): Update. | |
1638 | (encode_actions_1): Update. | |
1639 | * parse.c (parse_exp_1): Add 'pc' argument. | |
1640 | (parse_exp_in_context): Add 'pc' argument. Change how | |
1641 | expression_context_pc is set. | |
1642 | (parse_expression): Update. | |
1643 | (parse_field_expression): Update. | |
1644 | * expression.h (parse_exp_1): Update. | |
1645 | * eval.c (parse_to_comma_and_eval): Update. | |
1646 | * breakpoint.c (set_breakpoint_condition): Update. | |
1647 | (update_watchpoint): Update. | |
1648 | (init_breakpoint_sal): Update | |
1649 | (find_condition_and_thread): Update. | |
1650 | (watch_command_1): Update. | |
1651 | (update_breakpoint_locations): Update. | |
1652 | * ada-lang.c (ada_read_renaming_var_value): Update. | |
1653 | (create_excep_cond_exprs): Update. | |
1654 | ||
0bc3a05c DE |
1655 | 2012-06-27 Doug Evans <[email protected]> |
1656 | ||
1657 | * dwarf2read.c (per_cu_header_read_in): Simplify, and handle | |
1658 | type units. | |
1659 | ||
4bdcc0c1 DE |
1660 | 2012-06-26 Doug Evans <[email protected]> |
1661 | ||
1662 | * dwarf2read.c (read_and_check_comp_unit_head): Delete unnecessary | |
1663 | prototype. | |
1664 | (error_check_comp_unit_head): New arg abbrev_section. All callers | |
1665 | updated. | |
1666 | (read_and_check_comp_unit_head): Ditto. | |
1667 | (read_and_check_type_unit_head): Ditto. | |
1668 | ||
ee0bf529 SCR |
1669 | 2012-06-26 Siva Chandra Reddy <[email protected]> |
1670 | ||
1671 | New attribute 'last' for gdb.Symtab_and_line. | |
1672 | * NEWS (Python Scripting): Add entry about the new attribute. | |
1673 | * python/py-symtab.c (salpy_get_last): New function which | |
1674 | implements the get method for the 'last' attribute of | |
1675 | gdb.Symtab_and_line. | |
1676 | (sal_object_getset): Add entry for the 'last' attribute. | |
1677 | ||
1c658ad5 DE |
1678 | 2012-06-26 Doug Evans <[email protected]> |
1679 | ||
09262596 DE |
1680 | * dwarf2read.c (dwo_section_names): Add macinfo_dwo, macro_dwo. |
1681 | (dwo_sections): Add macinfo, macro. | |
1682 | (dwarf2_locate_dwo_sections): Watch for macro sections. | |
1683 | (dwarf_decode_macros): Remove args lh, abfd, section, section_name. | |
1684 | All callers updated. Handle DWO files. | |
1685 | ||
45cfd468 DE |
1686 | * NEWS: Mention new options "set debug dwarf2-read" and |
1687 | "set debug symtab-create". | |
1688 | * dwarf2read.c (dwarf2_read_debug): New static global. | |
1689 | (dwarf2_build_psymtabs_hard): Add debugging printfs. | |
1690 | (process_queue): Ditto. | |
1691 | (process_full_comp_unit): Ditto. | |
1692 | (_initialize_dwarf2_read): Add new option "set debug dwarf2-read". | |
1693 | * elfread.c (elf_symfile_read): Add debugging printf. | |
1694 | * minsyms.c (install_minimal_symbols): Ditto. | |
1695 | * psymtab.c (allocate_psymtab): Ditto. | |
1696 | * symfile.c (allocate_symtab): Ditto. | |
1697 | * symtab.c (symtab_create_debug): New global. | |
1698 | (_initialize_symtab): Add new option "set debug symtab-create". | |
1699 | * symtab.h (symtab_create_debug): Declare. | |
1700 | ||
1c658ad5 DE |
1701 | * dwarf2read.c (lookup_dwo_comp_unit): Enhance comment. |
1702 | (lookup_dwo_type_unit): Ditto. | |
1703 | ||
6fea9e18 L |
1704 | 2012-06-26 Roland McGrath <[email protected]> |
1705 | H.J. Lu <[email protected]> | |
1706 | ||
1707 | * amd64-linux-nat.c: Include <sys/user.h>. | |
1708 | (ps_get_thread_area): Use PTRACE_PEEKUSER to get fs_base/gs_base | |
1709 | if HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE or | |
1710 | HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE is defined. | |
1711 | ||
1712 | * configure.ac: Check if the fs_base and gs_base members of | |
1713 | `struct user_regs_struct' exist. | |
1714 | * config.in: Regenerated. | |
1715 | * configure: Likewise. | |
1716 | ||
adb4fe3b ME |
1717 | 2012-06-25 Michael Eager <[email protected]> |
1718 | ||
1719 | PR python/14291 | |
1720 | * python/python.c (gdbpy_write): Check for interrupted output. | |
1721 | ||
fc51cce1 MGD |
1722 | 2012-06-25 Greta Yorsh <[email protected]> |
1723 | ||
1724 | * arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single | |
1725 | register as a stack alignment in ARM mode. | |
1726 | ||
40a73391 JK |
1727 | 2012-06-24 Jan Kratochvil <[email protected]> |
1728 | ||
1729 | Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e. | |
1730 | * gnulib/config.in: Regenerate. | |
1731 | * gnulib/configure: Likewise. | |
1732 | * gnulib/import/m4/extensions.m4: Update it. | |
1733 | * gnulib/import/m4/gnulib-common.m4: Likewise. | |
1734 | * gnulib/import/m4/memmem.m4: Likewise. | |
1735 | * gnulib/import/m4/mmap-anon.m4: Likewise. | |
1736 | * gnulib/import/m4/multiarch.m4: Likewise. | |
1737 | * gnulib/import/stdint.in.h: Likewise. | |
1738 | ||
972daa01 YQ |
1739 | 2012-06-24 Yao Qi <[email protected]> |
1740 | ||
1741 | * corefile.c (write_memory_with_notification): New. | |
1742 | * gdbcore.h: Declare write_memory_with_notification. | |
1743 | * ada-lang.c (ada_value_assign): Replace 'write_memory' and | |
1744 | 'observer_notify_memory_changed' with 'write_memory_with_notification'. | |
1745 | * valops.c (value_assign): Likewise. | |
1746 | * python/py-inferior.c (infpy_write_memory): Call | |
1747 | 'write_memory_with_notification'. | |
1748 | ||
8d6e0714 JK |
1749 | 2012-06-24 Jan Kratochvil <[email protected]> |
1750 | ||
1751 | * cc-with-index.sh: Use also -ex "set auto-load no". | |
1752 | ||
156942c7 DE |
1753 | 2012-06-23 Doug Evans <[email protected]> |
1754 | ||
1755 | PR 14125 | |
1756 | * NEWS: Document additions to .gdb_index. | |
1757 | * dwarf2read.c: #include "gdb/gdb-index.h". | |
1758 | (DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro. | |
1759 | (DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro. | |
1760 | (DW2_GDB_INDEX_CU_SET_VALUE): New macro. | |
1761 | (dwarf2_read_index): Recognize version 7. | |
1762 | (dw2_do_expand_symtabs_matching): New args want_specific_block, | |
1763 | block_kind, domain): All callers updated. | |
1764 | (dw2_find_symbol_file): Handle new index CU values. | |
1765 | (dw2_expand_symtabs_matching): Match symbol kind if requested. | |
1766 | (add_index_entry): New args is_static, kind. All callers updated. | |
1767 | (offset_type_compare, uniquify_cu_indices): New functions | |
1768 | (symbol_kind): New function. | |
1769 | (write_psymtabs_to_index): Remove duplicate CU values. | |
1770 | (write_psymtabs_to_index): Write .gdb_index version 7. | |
1771 | ||
352b3eda JB |
1772 | 2012-06-22 Joel Brobecker <[email protected]> |
1773 | ||
1774 | * configure.ac (build_warnings): Add -Wdeclaration-after-statement. | |
1775 | * configure: Regenerate. | |
1776 | ||
2678e2af YQ |
1777 | 2012-06-20 Yao Qi <[email protected]> |
1778 | ||
1779 | * python/py-inferior.c: Update comments of infpy_read_memory | |
1780 | and infpy_write_memory. | |
1781 | ||
95c391b6 TT |
1782 | 2012-06-19 Tom Tromey <[email protected]> |
1783 | ||
1784 | PR exp/9514: | |
1785 | * parser-defs.h (insert_type, insert_type_address_space): Declare. | |
1786 | (push_type_address_space): Remove. | |
1787 | * parse.c (insert_into_type_stack): New function. | |
1788 | (insert_type): Likewise. | |
1789 | (insert_type_address_space): Rename from push_type_address_space. | |
1790 | Insert tp_space_identifier. | |
1791 | * c-exp.y (ptr_operator): New production. | |
1792 | (abs_decl): Use ptr_operator. | |
1793 | (space_identifier): Call insert_type_address_space. | |
1794 | (ptype): Don't use const_or_volatile_or_space_identifier. | |
1795 | (const_or_volatile_noopt): Call insert_type. | |
1796 | (conversion_type_id, conversion_declarator): New productions. | |
1797 | (operator): Use conversion_type_id. | |
1798 | ||
6ac9ef80 DE |
1799 | 2012-06-18 Doug Evans <[email protected]> |
1800 | ||
422d65e7 DE |
1801 | * symtab.h (minimal_symbol): New member created_by_gdb. |
1802 | * elfread.c (elf_symtab_read): Set created_by_gdb for @plt minsym | |
1803 | created by gdb. | |
1804 | * symtab.c (lookup_symbol_in_objfile_from_linkage_name): New function. | |
1805 | (search_symbols): Call it instead of lookup_symbol. | |
1806 | Skip symbols created by gdb. Only scan minsyms if nfiles == 0. | |
1807 | ||
49f6c839 DE |
1808 | * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index. |
1809 | Adjust address for DW_OP_GNU_addr_index. | |
1810 | * dwarf2expr.h (dwarf_expr_context): Update comment. | |
1811 | * dwarf2loc.c (locexpr_describe_location_piece): New arg per_cu, | |
1812 | all callers updated. Handle TLS vars described with | |
1813 | DW_OP_GNU_const_index. | |
1814 | (disassemble_dwarf_expression): Handle DW_OP_GNU_addr_index | |
1815 | and DW_OP_GNU_const_index. | |
1816 | * dwarf2read.c (decode_locdesc): Handle DW_OP_GNU_addr_index. | |
1817 | ||
6ac9ef80 DE |
1818 | * block.c (find_block_in_blockvector): Make explicit the fact that we |
1819 | ignore GLOBAL_BLOCK. | |
1820 | ||
4cd18215 TT |
1821 | 2012-06-18 Tom Tromey <[email protected]> |
1822 | ||
1823 | * c-exp.y (operator): Remove trailing space after "delete" and | |
1824 | "delete[]". | |
1825 | ||
a9b8d892 JK |
1826 | 2012-06-18 Mark Kettenis <[email protected]> |
1827 | Jan Kratochvil <[email protected]> | |
1828 | ||
1829 | Switch i386 and derived targets to ON_STACK. | |
1830 | * amd64-dicos-tdep.c (amd64_dicos_push_dummy_code): Remove. | |
1831 | (amd64_dicos_init_abi): Remove its installment. | |
1832 | * dicos-tdep.c (dicos_init_abi): Remove the | |
1833 | set_gdbarch_call_dummy_location call. Update the comment here. | |
1834 | * i386-dicos-tdep.c (i386_dicos_push_dummy_code): Remove. | |
1835 | (i386_dicos_init_abi): Remove its installment. | |
1836 | * i386-tdep.c (i386_push_dummy_code): New function. | |
1837 | (i386_gdbarch_init): Call set_gdbarch_call_dummy_location, install | |
1838 | i386_push_dummy_code. | |
1839 | ||
e2e4d78b JK |
1840 | 2012-06-18 Jan Kratochvil <[email protected]> |
1841 | ||
1842 | Remove stale dummy frames. | |
1843 | * breakpoint.c: Include dummy-frame.h. | |
1844 | (longjmp_breakpoint_ops): New variable. | |
1845 | (update_breakpoints_after_exec, breakpoint_init_inferior): Delete also | |
1846 | bp_longjmp_call_dummy. | |
1847 | (bpstat_what, bptype_string, print_one_breakpoint_location) | |
1848 | (init_bp_location): Support bp_longjmp_call_dummy. | |
1849 | (set_longjmp_breakpoint): Use longjmp_breakpoint_ops. Comment why. | |
1850 | (set_longjmp_breakpoint_for_call_dummy) | |
1851 | (check_longjmp_breakpoint_for_call_dummy, longjmp_bkpt_dtor): New | |
1852 | functions. | |
1853 | (initialize_breakpoint_ops): Initialize longjmp_breakpoint_ops. | |
1854 | * breakpoint.h (enum bptype): New item bp_longjmp_call_dummy. Delete | |
1855 | FIXME comment and extend the other comment for bp_call_dummy. | |
1856 | (set_longjmp_breakpoint_for_call_dummy) | |
1857 | (check_longjmp_breakpoint_for_call_dummy): New declarations. | |
1858 | * dummy-frame.c: Include gdbthread.h. | |
1859 | (pop_dummy_frame_bpt): New function. | |
1860 | (pop_dummy_frame): Call pop_dummy_frame_bpt. | |
1861 | (dummy_frame_discard): New function. | |
1862 | (cleanup_dummy_frames): Update the comment about longjmps. | |
1863 | * dummy-frame.h (dummy_frame_discard): New declaration. | |
1864 | * gdbthread.h (struct thread_info): Extend initiating_frame comment. | |
1865 | * infcall.c (call_function_by_hand): New variable longjmp_b. Call | |
1866 | set_longjmp_breakpoint_for_call_dummy. Chain its breakpoints with BPT. | |
1867 | * infrun.c (handle_inferior_event) <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>: | |
1868 | Add case 4 comment. Call check_longjmp_breakpoint_for_call_dummy and | |
1869 | keep_going if IS_LONGJMP and there is no other reason to stop. | |
1870 | ||
09d5912c TT |
1871 | 2012-06-18 Greta Yorsh <[email protected]> |
1872 | ||
1873 | * remote-sim.c (sim_command_completer): Initialize | |
1874 | variable 'result'. | |
1875 | ||
1788b2d3 JK |
1876 | 2012-06-17 Jan Kratochvil <[email protected]> |
1877 | ||
1878 | * dwarf2expr.c (execute_stack_op): Support DW_OP_GNU_parameter_ref. | |
1879 | * dwarf2loc.c (call_site_parameter_matches): Support | |
1880 | CALL_SITE_PARAMETER_PARAM_OFFSET. | |
1881 | (needs_dwarf_reg_entry_value): Push stub value. | |
1882 | * dwarf2read.c (read_call_site_scope): New variable origin. Support | |
1883 | CALL_SITE_PARAMETER_PARAM_OFFSET and its DW_AT_abstract_origin. | |
1884 | * gdbtypes.h (enum call_site_parameter_kind): New item | |
1885 | CALL_SITE_PARAMETER_PARAM_OFFSET. | |
1886 | (struct call_site.parameter.u): New field param_offset. | |
1887 | ||
24c5c679 JK |
1888 | 2012-06-17 Jan Kratochvil <[email protected]> |
1889 | ||
1890 | Code cleanup: Generalize call_site.parameter key. | |
1891 | * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_entry_value>: Remove | |
1892 | variable dwarf_reg. New variable kind_u. Update parameters to | |
1893 | push_dwarf_reg_entry_value. | |
1894 | (ctx_no_push_dwarf_reg_entry_value): Update parameters. | |
1895 | * dwarf2expr.h (enum call_site_parameter_kind) | |
1896 | (union call_site_parameter_u): Forward declarations. | |
1897 | (struct dwarf_expr_context_funcs): Update parameters and their | |
1898 | description for push_dwarf_reg_entry_value. | |
1899 | (ctx_no_push_dwarf_reg_entry_value): Update parameters. | |
1900 | * dwarf2loc.c (call_site_parameter_matches): New function. | |
1901 | (dwarf_expr_reg_to_entry_parameter): Update parameters and their | |
1902 | description. Use call_site_parameter_matches. | |
1903 | (dwarf_expr_push_dwarf_reg_entry_value, value_of_dwarf_reg_entry): | |
1904 | Update parameters and their description. | |
1905 | (value_of_dwarf_block_entry): Remove variables dwarf_reg and fb_offset. | |
1906 | New variable kind_u. Adjust the caller for updated parameters. | |
1907 | (needs_dwarf_reg_entry_value): Update parameters. | |
1908 | * dwarf2read.c (read_call_site_scope): New variable loc. Use it | |
1909 | instead of attr. Update for the changed fields of struct | |
1910 | call_site_parameter. | |
1911 | * gdbtypes.h: Include dwarf2expr.h. | |
1912 | (enum call_site_parameter_kind): New. | |
1913 | (struct call_site.parameter): New field kind. Wrap dwarf_reg and | |
1914 | fb_offset into new union u. | |
1915 | ||
ac142d96 L |
1916 | 2012-06-16 H.J. Lu <[email protected]> |
1917 | ||
1918 | * amd64-tdep.c (amd64_x32_analyze_stack_align): New function. | |
1919 | (amd64_analyze_prologue): Call amd64_x32_analyze_stack_align | |
1920 | for x32. | |
1921 | ||
ba224c70 L |
1922 | 2012-06-16 H.J. Lu <[email protected]> |
1923 | ||
1924 | * amd64-linux-nat.c (compat_x32_clock_t): New. | |
1925 | (compat_x32_siginfo_t): Likewise. | |
1926 | (compat_x32_siginfo_from_siginfo): Likewise. | |
1927 | (siginfo_from_compat_x32_siginfo): Likewise. | |
1928 | (amd64_linux_siginfo_fixup): Call compat_x32_siginfo_from_siginfo | |
1929 | and siginfo_from_compat_x32_siginfo for x32. | |
1930 | ||
7ecbc825 HZ |
1931 | 2012-06-15 Hui Zhu <[email protected]> |
1932 | ||
1933 | * tracepoint.c (tfile_xfer_partial): Add a lseek. | |
1934 | ||
233dfcf0 L |
1935 | 2012-06-15 H.J. Lu <[email protected]> |
1936 | ||
1937 | * amd64-linux-nat.c (ps_get_thread_area): Check bits_per_word | |
1938 | instead of gdbarch_ptr_bit. | |
1939 | * amd64-nat.c (amd64_native_gregset_reg_offset): Likewise. | |
1940 | (amd64_supply_native_gregset): Likewise. | |
1941 | (amd64_collect_native_gregset): Likewise. | |
1942 | * amd64-tdep.c (amd64_supply_fxsave): Likewise. | |
1943 | (amd64_supply_xsave): Likewise. | |
1944 | (amd64_collect_fxsave): Likewise. | |
1945 | (amd64_collect_xsave): Likewise. | |
1946 | ||
6da38f42 L |
1947 | 2012-06-15 H.J. Lu <[email protected]> |
1948 | ||
1949 | * amd64-linux-nat.c (AMD64_LINUX_X32_DS): New. | |
1950 | (amd64_linux_read_description): Check DS segment register for | |
1951 | x32 process. | |
1952 | ||
663b969e TT |
1953 | 2012-06-15 Tom Tromey <[email protected]> |
1954 | ||
1955 | * dwarf2read.c (dw2_find_symbol_file): Unconditionally use | |
1956 | init_cutu_and_read_dies. | |
1957 | ||
d6f05027 IS |
1958 | 2012-06-15 Iain Sandoe <[email protected]> |
1959 | ||
1960 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
1961 | ||
6598ed07 TT |
1962 | 2012-06-15 Tom Tromey <[email protected]> |
1963 | ||
1964 | * valops.c (value_find_oload_method_list): Now static. | |
1965 | * value.h (value_find_oload_method_list): Don't declare. | |
1966 | ||
2b214ea6 TT |
1967 | 2012-06-15 Tom Tromey <[email protected]> |
1968 | ||
1969 | * valops.c (find_overload_match): Use value_ind. | |
1970 | ||
a210c238 MR |
1971 | 2012-06-15 Maciej W. Rozycki <[email protected]> |
1972 | ||
1973 | * infrun.c (handle_inferior_event): Correct indentation. | |
1974 | ||
3771a44c DE |
1975 | 2012-06-14 Doug Evans <[email protected]> |
1976 | ||
1977 | * dwarf2loc.c (debug_loc_kind): Add DEBUG_LOC_START_LENGTH. | |
1978 | (DEBUG_LOC_START_END): Renamed from DEBUG_LOC_NORMAL. | |
1979 | All uses updated. | |
1980 | (decode_debug_loc_dwo_addresses): New arg "byte_order". All callers | |
1981 | updated. Handle DEBUG_LOC_START_LENGTH. | |
1982 | (dwarf2_find_location_expression): Handle DEBUG_LOC_START_LENGTH. | |
1983 | (loclist_describe_location): Ditto. | |
1984 | ||
1c5a993e MR |
1985 | 2012-06-14 Maciej W. Rozycki <[email protected]> |
1986 | ||
1987 | PR backtrace/13866 | |
1988 | * infrun.c (handle_inferior_event): Re-fetch frame and gdbarch | |
1989 | after hiding inline functions. | |
1990 | ||
0b155465 JB |
1991 | 2012-06-13 Joel Brobecker <[email protected]> |
1992 | ||
1993 | * inf-ttrace.c (_initialize_hppa_hpux_nat): Rename into | |
1994 | _initialize_inf_ttrace. | |
1995 | ||
45717bac JB |
1996 | 2012-06-13 Joel Brobecker <[email protected]> |
1997 | ||
1998 | * ia64-hpux-nat.c (_initialize_ia64_hpux_nat): Renames | |
1999 | _initialize_hppa_hpux_nat. | |
2000 | ||
34370865 JB |
2001 | 2012-06-13 Joel Brobecker <[email protected]> |
2002 | ||
2003 | * remote-sim.c (sim_command_completer): Change type of return | |
2004 | value to "VEC (char_ptr) *". Adjust implementation accordingly. | |
2005 | ||
284c5a60 MK |
2006 | 2012-06-13 Mark Kettenis <[email protected]> |
2007 | Jan Kratochvil <[email protected]> | |
2008 | ||
2009 | PR tdep/14222 | |
2010 | * i386-tdep.c (i386_push_dummy_call): Unconditionally align the | |
2011 | stack on a 16-byte boundary. | |
2012 | ||
2535757a TT |
2013 | 2012-06-13 Kaushik Srenevasan <[email protected]> |
2014 | ||
2015 | * jit.c (finalize_symtab): Set function's return type to 'void' by | |
2016 | default. | |
2017 | ||
fff4548b MK |
2018 | 2012-06-13 Mark Kettenis <[email protected]> |
2019 | H.J. Lu <[email protected]> | |
2020 | ||
5a83521a MK |
2021 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): New function. |
2022 | Move bits common to both the classic LP64 and the new x32 ILP32 | |
2023 | ABI here. | |
2024 | (amd64_linux_init_abi): Call amd64_linux_init_abi_common. | |
2025 | (amd64_x32_linux_init_abi): New function. | |
2026 | (_initialize_amd64_linux_tdep): Register osabi for bfd_mach_x64_32 | |
2027 | subtype. | |
2028 | ||
fff4548b MK |
2029 | * i386-tdep.h (i386_pseudo_register_name): New prototype. |
2030 | * i386-tdep.c (i386_pseudo_register_name): Make public. | |
2031 | * amd64-tdep.h (amd64_x32_init_abi): New prototype. | |
2032 | * amd64-tdep.c (amd64_dword_names): Add "eip". | |
2033 | (amd64_x32_pseudo_register_type): New function | |
2034 | (amd64_x32_init_abi): New function. | |
2035 | ||
dd80ea3c JK |
2036 | 2012-06-13 Jan Kratochvil <[email protected]> |
2037 | ||
2038 | PR build/14003 | |
2039 | * inferior.h (struct inferior_suspend_state): Comment out. | |
2040 | (struct inferior): Comment out the field suspend. | |
2041 | * infrun.c (struct infcall_suspend_state): Comment out the field | |
2042 | inferior_suspend. | |
2043 | (save_infcall_suspend_state, restore_infcall_suspend_state): Comment | |
2044 | out its assignment. | |
2045 | ||
50af5481 JK |
2046 | 2012-06-13 Jan Kratochvil <[email protected]> |
2047 | ||
2048 | PR c++/14177 - Fix parsing TYPENAME:: in parentheses. | |
2049 | * c-exp.y (classify_inner_name): Remove caller assumptions in the | |
2050 | function comment. Return ERROR for unresolved cases. Implement | |
2051 | returning proper NAME. | |
2052 | (yylex): Accept also NAME from classify_inner_name. | |
2053 | * cp-namespace.c (cp_lookup_nested_type): Rename to ... | |
2054 | (cp_lookup_nested_symbol): ... here. Return any found symbol, not just | |
2055 | LOC_TYPEDEF type. | |
2056 | * cp-support.h (cp_lookup_nested_type): Update its declaration. | |
2057 | ||
d55637df TT |
2058 | 2012-06-13 Tom Tromey <[email protected]> |
2059 | ||
2060 | * breakpoint.c (condition_completer): New function. | |
2061 | (_initialize_breakpoint): Use it. | |
2062 | * value.c (complete_internalvar): New function. | |
2063 | * value.h (complete_internalvar): Declare. | |
2064 | ||
49c4e619 TT |
2065 | 2012-06-13 Tom Tromey <[email protected]> |
2066 | ||
2067 | * ada-lang.c (ada_make_symbol_completion_list): Return a VEC. | |
2068 | * breakpoint.c (catch_syscall_completer): Return a VEC. | |
2069 | * cli/cli-cmds.c (complete_command): Update. | |
2070 | * cli/cli-decode.c (complete_on_cmdlist): Return a VEC. | |
2071 | (complete_on_enum): Likewise. | |
2072 | * command.h: Include gdb_vecs.h. | |
2073 | (completer_ftype): Change return type. | |
2074 | (complete_on_cmdlist, complete_on_enum): Likewise. | |
2075 | * completer.c (noop_completer, filename_completer) | |
2076 | (location_completer): Return a VEC. | |
2077 | (add_struct_fields): Remove 'nextp' argument. Change 'output' | |
2078 | to a VEC. | |
2079 | (expression_completer, complete_line_internal, complete_line) | |
2080 | (command_completer): Return a VEC. | |
2081 | (gdb_completion_word_break_characters, line_completion_function): | |
2082 | Update. | |
2083 | * completer.h: Include gdb_vecs.h. | |
2084 | (complete_line, noop_completer, filename_completer) | |
2085 | (expression_completer, location_completer, command_completer): | |
2086 | Update. | |
2087 | * f-lang.c (f_word_break_characters): Return a VEC. | |
2088 | * interps.c (interpreter_completer): Return a VEC. | |
2089 | * language.h (struct language_defn) | |
2090 | <la_make_symbol_completion_list>: Return a VEC. | |
2091 | * python/py-cmd.c (cmdpy_completer): Return a VEC. | |
2092 | * symtab.c (free_completion_list): Take a VEC. | |
2093 | (return_val_size, return_val_index): Remove. | |
2094 | (return_val): Now a VEC. | |
2095 | (completion_list_add_name): Update. | |
2096 | (default_make_symbol_completion_list_break_on) | |
2097 | (default_make_symbol_completion_list, make_symbol_completion_list) | |
2098 | (make_symbol_completion_list_fn, make_file_symbol_completion_list): | |
2099 | Return a VEC. | |
2100 | (add_filename_to_list): Update. | |
2101 | (struct add_partial_filename_data) <list_used, list_alloced>: Remove. | |
2102 | <list>: Now a VEC. | |
2103 | (maybe_add_partial_symtab_filename): Update. | |
2104 | (make_source_files_completion_list): Return a VEC. | |
2105 | * symtab.h (default_make_symbol_completion_list_break_on) | |
2106 | (default_make_symbol_completion_list, make_symbol_completion_list) | |
2107 | (make_symbol_completion_list_fn, make_file_symbol_completion_list) | |
2108 | (make_source_files_completion_list): Update. | |
2109 | ||
625e8578 TT |
2110 | 2012-06-13 Tom Tromey <[email protected]> |
2111 | ||
2112 | * breakpoint.c (add_catch_command): Use completer_ftype. | |
2113 | * breakpoint.h: Include command.h. | |
2114 | (add_catch_command): Use completer_ftype. | |
2115 | * cli/cli-decode.c (set_cmd_completer): Use completer_ftype. | |
2116 | * cli/cli-decode.h (struct cmd_list_element) <completer>: | |
2117 | Use completer_ftype. | |
2118 | * command.h (completer_ftype): New typedef. | |
2119 | (set_cmd_completer): Use it. | |
2120 | * python/py-cmd.c (struct cmdpy_completer) <completer>: Use | |
2121 | completer_ftype. | |
2122 | ||
5eb3b062 PA |
2123 | 2012-06-13 Pedro Alves <[email protected]> |
2124 | ||
2125 | Partial revert of previous change. | |
2126 | ||
2127 | * serial.c (scb_base): New global. | |
2128 | (serial_for_fd): New. | |
2129 | (serial_open, serial_fdopen_ops): Link new serial in open serials | |
2130 | chain. | |
2131 | (do_serial_close): Unlink serial from the open serials chain. | |
2132 | ||
8b3ee56d PA |
2133 | 2012-06-12 Pedro Alves <[email protected]> |
2134 | ||
2135 | * infrun.c (infrun_thread_stop_requested_callback): Don't switch | |
2136 | threads here. | |
2137 | (prepare_for_detach): No longer context switch here in non-stop | |
2138 | mode. | |
2139 | (fetch_inferior_event): Ditto. | |
2140 | (handle_inferior_event) <STOP_QUIETLY || NO_STOP_QUIETLY>: Switch | |
2141 | to the event thread before removing breakpoints. Switch to the | |
2142 | event thread before inserting breakpoints and resuming. | |
2143 | (handle_inferior_event) <TARGET_WAITKIND_SPURIOUS>: Switch to the | |
2144 | event thread before resuming. | |
2145 | (handle_inferior_event) <stepping_past_singlestep_breakpoint>: | |
2146 | Switch to the event thread before removing breakpoints. | |
2147 | ||
5d60742e EZ |
2148 | 2012-06-12 Eli Zaretskii <[email protected]> |
2149 | ||
2150 | * infcmd.c (construct_inferior_arguments) [__MINGW32__]: Quote | |
2151 | special characters correctly for the Windows shells. See | |
2152 | http://sourceware.org/ml/gdb/2012-06/msg00047.html for the bug | |
2153 | report. | |
2154 | [!__MINGW32__]: Remove extra double quote character from special | |
2155 | characters. | |
2156 | ||
a6feecf7 SS |
2157 | 2012-06-11 Stan Shebs <[email protected]> |
2158 | ||
2159 | * ui-out.h: Remove #if 0 declarations. | |
2160 | * ui-out.c: Remove #if 0 functions. | |
2161 | ||
ddefb60f PA |
2162 | 2012-06-11 Pedro Alves <[email protected]> |
2163 | ||
2164 | * ser-base.c (run_async_handler_and_reschedule): New. | |
2165 | (fd_event, push_event): Use it. | |
2166 | * serial.c (serial_open, serial_fdopen_ops): Set the initial | |
2167 | reference count to 1. | |
2168 | (do_serial_close): Set the bufp field to NULL. Use serial_unref | |
2169 | instead of xfree. | |
2170 | (serial_is_open, serial_ref, serial_unref): New. | |
2171 | * serial.h (serial_open): Adjust comment. | |
2172 | (serial_is_open): Declare. | |
2173 | (serial_close): Adjust comment. | |
2174 | (serial_ref, serial_unref) Declare. | |
2175 | (struct serial): New field 'refcnt'. | |
2176 | ||
d5ad6aa5 PA |
2177 | 2012-06-11 Pedro Alves <[email protected]> |
2178 | ||
2179 | Remove #if 0'd "connect" command, and unnecessary associated | |
2180 | refcounting and serial reuse bits. | |
2181 | ||
2182 | * serial.h (struct serial): Remove fields 'next' and 'refcnt'. | |
2183 | * serial.c (last_serial_opened): Delete. | |
2184 | (scb_base): Delete. | |
2185 | (serial_open): Adjust. | |
2186 | (serial_for_fd): Delete. | |
2187 | (serial_fdopen_ops, do_serial_close): Adjust. | |
2188 | (serial_fdopen_ops): Adjust. | |
2189 | ||
318aa544 PA |
2190 | 2012-06-11 Pedro Alves <[email protected]> |
2191 | ||
2192 | * serial.c (do_serial_close): Remove early return when SCB is | |
2193 | null. | |
2194 | ||
07261596 TT |
2195 | 2012-06-11 Tom Tromey <[email protected]> |
2196 | ||
2197 | * dwarf2read.c (dw2_get_file_names_reader): Ignore partial units. | |
2198 | ||
cc80f267 JK |
2199 | 2012-06-11 Jan Kratochvil <[email protected]> |
2200 | ||
2201 | Fix regression by the "ambiguous linespec" series. | |
2202 | * breakpoint.c (parse_breakpoint_sals): New variable cursal. Use | |
2203 | get_last_displayed_symtab and get_last_displayed_line and depending | |
2204 | on CURSAL. | |
2205 | ||
356d9f9d TT |
2206 | 2012-06-11 Tom Tromey <[email protected]> |
2207 | ||
2208 | * dwarf2read.c (dw2_get_primary_filename_reader): New function. | |
2209 | (dw2_find_symbol_file): Use it. | |
2210 | ||
232b8704 ME |
2211 | 2012-06-11 Michael Eager <[email protected]> |
2212 | ||
2213 | * mips-linux-tdep.c (mips_gdb_signal_from_target): New | |
2214 | * mips-linux-tdep.h (mips_signals): New | |
2215 | ||
e81a37f7 TT |
2216 | 2012-06-11 Tom Tromey <[email protected]> |
2217 | ||
2218 | * infrun.c (handle_inferior_event) | |
2219 | <BPSTAT_WHAT_SET_LONGJMP_RESUME>: Don't delete the step-resume | |
2220 | breakpoint. | |
2221 | <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>: Remove longjmp logic; use | |
2222 | exception logic in all cases. Update comments. | |
2223 | (insert_longjmp_resume_breakpoint): Set the exception resume | |
2224 | breakpoint. | |
2225 | ||
2e81047f MR |
2226 | 2012-06-11 Maciej W. Rozycki <[email protected]> |
2227 | ||
2228 | * mips-tdep.c (mips_push_dummy_code): Handle microMIPS code. | |
2229 | ||
4e32eda7 SCR |
2230 | 2012-06-09 Siva Chandra Reddy <[email protected]> |
2231 | ||
2232 | * valarith.c (binop_types_user_defined_p): Fix a typo. | |
2233 | ||
18648a37 YQ |
2234 | 2012-06-08 Yao Qi <[email protected]> |
2235 | Chung-Lin Tang <[email protected]> | |
2236 | ||
2237 | * arch-utils.c (default_return_in_first_hidden_param_p): New. | |
2238 | * arch-utils.h: Declare. | |
2239 | * gdbarch.sh: Add return_in_first_hidden_param_p. | |
2240 | * gdbarch.c, gdbarch.h: Regenerated. | |
2241 | * infcall.c (call_function_by_hand): Call | |
2242 | gdbarch_return_in_first_hidden_param_p instead of | |
2243 | language_pass_by_reference. | |
2244 | ||
2245 | * m68k-tdep.c (m68k_return_in_first_hidden_param_p): New. | |
2246 | (m68k_gdbarch_init): Install m68k_return_in_first_hidden_param_p. | |
2247 | * sh-tdep.c (sh_return_in_first_hidden_param_p): New. | |
2248 | (sh_gdbarch_init): Install sh_return_in_first_hidden_param_p. | |
2249 | * tic6x-tdep.c (tic6x_push_dummy_call): Remove local variable | |
2250 | `cplus_return_struct_by_reference'. | |
2251 | (tic6x_return_value): Handle language cplusplus. | |
2252 | (tic6x_return_in_first_hidden_param_p): New. | |
2253 | (tic6x_gdbarch_init): Install tic6x_return_in_first_hidden_param_p. | |
2254 | ||
034e5797 DE |
2255 | 2012-06-07 Doug Evans <[email protected]> |
2256 | ||
2257 | * dwarf2read.c (dwarf2_cu): Add comment. | |
2258 | ||
6a00aa1e MR |
2259 | 2012-06-06 Maciej W. Rozycki <[email protected]> |
2260 | ||
2261 | * mips-tdep.c (mips_pseudo_register_type): Remove tdep local | |
2262 | variable. | |
2263 | (mips_eabi_push_dummy_call): Likewise. | |
2264 | (mips_n32n64_push_dummy_call): Likewise. | |
2265 | (mips_o32_push_dummy_call): Likewise. | |
2266 | (mips_o64_push_dummy_call): Likewise. | |
2267 | ||
eaa05d59 MR |
2268 | 2012-06-06 Maciej W. Rozycki <[email protected]> |
2269 | ||
2270 | * mips-tdep.c (mips_convert_register_p): Correct coding style. | |
2271 | ||
de13fcf2 MR |
2272 | 2012-06-06 Maciej W. Rozycki <[email protected]> |
2273 | ||
2274 | * mips-tdep.c (mips_pseudo_register_type): Use | |
2275 | mips_float_register_p. | |
2276 | ||
c3a01a22 PA |
2277 | 2012-06-06 Pedro Alves <[email protected]> |
2278 | ||
2279 | * infrun.c (handle_inferior_event): Remove calls to | |
2280 | reinit_frame_cache that follow a context_switch call. | |
2281 | ||
d25f45d9 PA |
2282 | 2012-06-06 Pedro Alves <[email protected]> |
2283 | ||
2284 | * infrun.c (handle_inferior_event) <deferred_step_ptid>: Use | |
2285 | context_switch and remove stale comment. | |
2286 | ||
359f5fe6 PA |
2287 | 2012-06-06 Pedro Alves <[email protected]> |
2288 | ||
2289 | * infrun.c (struct execution_control_state): Remove | |
2290 | `new_thread_event' field. | |
2291 | (handle_inferior_event): Simplify new threads handling; don't | |
2292 | resume the inferior if we find a new thread. | |
2293 | ||
2d4c29c5 TS |
2294 | 2012-06-06 Thomas Schwinge <[email protected]> |
2295 | ||
2296 | * NEWS: Document the deprecation of SH's 'regs' command. | |
2297 | * inferior.h (all_registers_info): Add function declaration. | |
2298 | * sh-tdep.c (sh_show_regs): Remove variable. | |
2299 | (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs, sh2a_show_regs) | |
2300 | (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs) | |
2301 | (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs) | |
2302 | (sh_show_regs_command): Remove functions. | |
2303 | (sh_gdbarch_init): Don't set sh_show_regs. | |
2304 | (_initialize_sh_tdep): Make the 'regs' command an deprecated alias to | |
2305 | 'info all-registers'. | |
2306 | * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs) | |
2307 | (sh64_show_regs): Remove functions. | |
2308 | * sh64-tdep.h (sh64_show_regs): Remove function declaration. | |
2309 | ||
f5f1cdb6 JK |
2310 | 2012-06-06 Jan Kratochvil <[email protected]> |
2311 | ||
2312 | * configure.ac: Move development=true below AC_INIT. | |
2313 | * configure: Regenerate. | |
2314 | ||
bf6309af SS |
2315 | 2012-06-05 Stan Shebs <[email protected]> |
2316 | ||
2317 | * mi/mi-interp.c (mi_interpreter_init): Set raw_stdout from | |
2318 | gdb_stdout. | |
2319 | ||
45aa4659 JK |
2320 | 2012-06-05 Siddhesh Poyarekar <[email protected]> |
2321 | ||
2322 | * corefile.c (read_memory, read_stack, write_memory): Accept LEN | |
2323 | argument as ssize_t. | |
2324 | * gdbcore.h (read_memory, read_stack, write_memory): Likewise. | |
2325 | * remote.c (remote_write_bytes_aux, remote_write_bytes): Likewise. | |
2326 | * target.c (target_read_stack, target_write_memory) | |
2327 | (target_write_raw_memory): Likewise. | |
2328 | * target.h (target_read_stack, target_write_memory) | |
2329 | (target_write_raw_memory): Likewise. | |
2330 | ||
1b162304 JK |
2331 | 2012-06-05 Jan Kratochvil <[email protected]> |
2332 | ||
2333 | * symfile-mem.c: Change gdb_static_assert to ssize_t. | |
2334 | (target_read_memory_bfd): Cast gdb_assert LEN to ssize_t. | |
2335 | * target.c (target_read_memory): Change LEN to ssize_t. | |
2336 | * target.h (target_read_memory): Change LEN to ssize_t. | |
2337 | ||
8556afb4 PA |
2338 | 2012-06-05 Pedro Alves <[email protected]> |
2339 | ||
2340 | PR backtrace/13866 | |
2341 | ||
2342 | * breakpoint.c (until_break_command): Only fetch the selected | |
2343 | frame after decode_line_1. | |
2344 | ||
fb139f32 PA |
2345 | 2012-06-05 Joakim Tjernlund <[email protected]> |
2346 | ||
2347 | * solib-svr4.c (enable_break): Don't fallback to setting the solib | |
2348 | event breakpoint at _start, __start or main if a program | |
2349 | interpreter is not found. | |
2350 | ||
a8e1bb34 JB |
2351 | 2012-06-05 Joel Brobecker <[email protected]> |
2352 | ||
2353 | * windows-tdep.h (windows_iterate_over_objfiles_in_search_order): | |
2354 | Add declaration. | |
2355 | * windows-tdep.c: #include "objfiles.h". | |
2356 | (windows_iterate_over_objfiles_in_search_order): New function. | |
2357 | * amd64-windows-tdep.c (amd64_windows_init_abi): Set | |
2358 | iterate_over_objfiles_in_search_order gdbarch method to | |
2359 | windows_iterate_over_objfiles_in_search_order. | |
2360 | * i386-cygwin-tdep.c (i386_cygwin_init_abi): Likewise. | |
2361 | ||
19630284 JB |
2362 | 2012-06-05 Joel Brobecker <[email protected]> |
2363 | ||
2364 | * gdbarch.sh: Add generation of | |
2365 | "iterate_over_objfiles_in_search_order_cb_ftype" typedef in | |
2366 | gdbarch.h. Add include of "objfiles.h" in gdbarch.c. | |
2367 | (iterate_over_objfiles_in_search_order): New gdbarch method. | |
2368 | * gdbarch.h, gdbarch.c: Regenerate. | |
2369 | * objfiles.h (default_iterate_over_objfiles_in_search_order): | |
2370 | Add declaration. | |
2371 | * objfiles.c (default_iterate_over_objfiles_in_search_order): | |
2372 | New function. | |
2373 | * symtab.c (lookup_symbol_aux_objfile): New function, extracted | |
2374 | out of lookup_symbol_aux_symtabs. | |
2375 | (lookup_symbol_aux_symtabs): Replace extracted-out code by | |
2376 | call to lookup_symbol_aux_objfile. | |
2377 | (struct global_sym_lookup_data): New type. | |
2378 | (lookup_symbol_global_iterator_cb): New function. | |
2379 | (lookup_symbol_global): Search for symbol using | |
2380 | gdbarch_iterate_over_objfiles_in_search_order and | |
2381 | lookup_symbol_global_iterator_cb. | |
2382 | * findvar.c (struct minsym_lookup_data): New type. | |
2383 | (minsym_lookup_iterator_cb): New function. | |
2384 | (default_read_var_value) [case LOC_UNRESOLVED]: Resolve the | |
2385 | symbol's address via gdbarch_iterate_over_objfiles_in_search_order | |
2386 | and minsym_lookup_iterator_cb. | |
2387 | ||
67ff19f7 JB |
2388 | 2012-06-05 Joel Brobecker <[email protected]> |
2389 | ||
2390 | Revert the following patch: | |
2391 | * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols, | |
2392 | try locating the symbol in the symbol's own objfile first, before | |
2393 | extending the search to all objfiles. | |
2394 | * symtab.c (lookup_symbol_aux_objfile): New function, extracted | |
2395 | out of lookup_symbol_aux_symtabs. | |
2396 | (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile". | |
2397 | Replace extracted-out code by call to lookup_symbol_aux_objfile. | |
2398 | Do not search EXCLUDE_OBJFILE. | |
2399 | (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs. | |
2400 | (lookup_symbol_global): Search for matches in the block's objfile | |
2401 | first, before searching all other objfiles. | |
2402 | ||
ccab2054 JB |
2403 | 2012-06-05 Joel Brobecker <[email protected]> |
2404 | ||
2405 | * breakpoint.c (find_condition_and_thread): Stop parsing | |
2406 | as soon as the first invalid keyword is found. | |
2407 | ||
e23d4a9c JB |
2408 | 2012-06-05 Joel Brobecker <[email protected]> |
2409 | ||
2410 | * copyright.py (EXCLUDE_LIST): Add 'gdb/CONTRIBUTE' to list. | |
2411 | ||
70160166 JB |
2412 | 2012-06-05 Joel Brobecker <[email protected]> |
2413 | ||
2414 | * config/djgpp/djcheck.sh: Add copyright header. | |
2415 | ||
399501a5 JB |
2416 | 2012-06-05 Joel Brobecker <[email protected]> |
2417 | ||
2418 | * copyright.py (update_files, main): Fix path to update-copyright | |
2419 | script. | |
2420 | ||
3770a159 JB |
2421 | 2012-06-05 Joel Brobecker <[email protected]> |
2422 | ||
2423 | * copyright.py (MULTIPLE_COPYRIGHT_HEADERS): New constant. | |
2424 | (main): Add MULTIPLE_COPYRIGHT_HEADERS to the list of files | |
2425 | for which a reminder to update by hand is printed. | |
2426 | ||
4aad0dfc DE |
2427 | 2012-06-04 Doug Evans <[email protected]> |
2428 | ||
2429 | * buildsym.c (make_blockvector): Add comment. | |
2430 | ||
1f8cf220 PA |
2431 | 2012-06-04 Pedro Alves <[email protected]> |
2432 | ||
2433 | * arch-utils.c (default_gdb_signal_from_target): Delete. | |
2434 | * arch-utils.h (default_gdb_signal_from_target): Delete. | |
2435 | * corelow.c (core_open) <signal mapping>: Extended comment. Check | |
2436 | gdbarch_gdb_signal_from_target_p. | |
2437 | * gdbarch.sh (gdb_signal_from_target): Make it an M method (with | |
2438 | predicate). | |
2439 | * gdbarch.h: Regenerate. | |
2440 | * gdbarch.c: Regenerate. | |
2441 | ||
86b49880 PA |
2442 | 2012-06-04 Pedro Alves <[email protected]> |
2443 | ||
2444 | * gdbarch.sh (gdb_signal_from_target): Mention that the | |
2445 | implementation of the method must be host independent. | |
2446 | * gdbarch.h: Regenerate. | |
2447 | ||
fe78531d JK |
2448 | 2012-06-04 Jan Kratochvil <[email protected]> |
2449 | ||
2450 | * symfile-mem.c: 3 new gdb_static_assert for target_read_memory_bfd | |
2451 | parameters. | |
2452 | (target_read_memory_bfd): New function. | |
2453 | (symbol_file_add_from_memory): Use it. | |
2454 | ||
d790cf0a DE |
2455 | 2012-06-03 Doug Evans <[email protected]> |
2456 | ||
78e5175a DE |
2457 | * symtab.c (lookup_global_symbol_from_objfile): Only scan blockvector |
2458 | of primary symtab. | |
2459 | (basic_lookup_transparent_type): Ditto. | |
2460 | ||
d790cf0a DE |
2461 | * objfiles.h (ALL_OBJFILE_PRIMARY_SYMTABS): New macro. |
2462 | (ALL_PRIMARY_SYMTABS): Use it. | |
2463 | (ALL_PSPACE_PRIMARY_SYMTABS): Ditto. | |
2464 | * dwarf2read.c (dw2_find_symbol_file): Ditto. | |
2465 | * linespec.c (iterate_over_all_matching_symtabs): Ditto. | |
2466 | * symtab.c (lookup_symbol_aux_objfile): Ditto. | |
2467 | (basic_lookup_transparent_type): Ditto. | |
2468 | ||
c6e5ee5e SDJ |
2469 | 2012-06-02 Sergio Durigan Junior <[email protected]> |
2470 | ||
2471 | * symtab.c (symbol_demangled_name): New variable `dem_name'. Use | |
2472 | it to optimize resolution of demangled name. | |
2473 | ||
a68ffae9 JK |
2474 | 2012-06-01 Jan Kratochvil <[email protected]> |
2475 | ||
2476 | * configure.ac (development): Define new variable. | |
2477 | Call AC_CHECK_LIB for mcheck if $development. | |
2478 | (ERROR_ON_WARNING): Enable it by default only if $development. | |
2479 | * config.in: Regenerate. | |
2480 | * configure: Regenerate. | |
2481 | ||
5299c1c4 JK |
2482 | 2012-06-01 Siddhesh Poyarekar <[email protected]> |
2483 | ||
2484 | * target.c (target_read_memory): Make LEN argument as size_t. | |
2485 | * target.h (target_read_memory): Likewise. | |
2486 | ||
2487 | 2012-06-01 Jan Kratochvil <[email protected]> | |
7c71816c JK |
2488 | |
2489 | * tilegx-linux-tdep.c (tilegx_l): Use ULL for 64-bit values. | |
2490 | ||
0c56f59b EBM |
2491 | 2012-05-31 Edjunior Machado <[email protected]> |
2492 | ||
2493 | * ppc-linux-nat.c (have_ptrace_booke_interface): Disable ptrace | |
2494 | BookE interface for PowerPC server processors if not available | |
2495 | in the Linux Kernel. | |
2496 | ||
71bdabee KS |
2497 | 2012-05-31 Keith Seitz <[email protected]> |
2498 | ||
2499 | * linespec.c (decode_objc): Add cleanup to free | |
2500 | INFO.FILE_SYMTABS. | |
2501 | (find_linespec_symbols): Add cleanup to free CLASSES. | |
2502 | * symfile.c (find_separate_debug_file_by_debuglink): Add | |
2503 | cleanup to free DEBUGLINK. | |
2504 | * ui-out.c (clear_header_list): No need to check if | |
2505 | HEADER_NEXT.COLHDR is NULL. | |
2506 | Free HEADER_NEXT.COL_NAME. | |
2507 | ||
acbd605d MGD |
2508 | 2012-05-31 Matthew Gretton-Dann <[email protected]> |
2509 | ||
2510 | * ada-lang.c (standard_lookup): Prevent uninitialized variable | |
2511 | warning. | |
2512 | ||
65662cde PA |
2513 | 2012-05-30 Jeff Kenton <[email protected]> |
2514 | ||
2515 | * configure.host (gdb_host_cpu): Handle tilegx*. | |
2516 | (gdb_host): Handle tilegx-*-linux*. | |
2517 | * tilegx-linux-nat.c: New file. | |
2518 | * config/tilegx/linux.mh: New file. | |
2519 | ||
ade64f0e PA |
2520 | 2012-05-30 Jeff Kenton <[email protected]> |
2521 | ||
2522 | * Makefile.in (ALL_TARGET_OBJS): Add tilegx-tdep.o and | |
2523 | tilegx-linux-tdep.o. | |
2524 | (ALLDEPFILES): Add tilegx-linux-nat.c, tilegx-tdep.c and | |
2525 | tilegx-linux-tdep.c. | |
2526 | * configure.tgt: Handle tilegx-*-linux*. | |
2527 | * tilegx-tdep.h: New file. | |
2528 | * tilegx-tdep.c: New file. | |
2529 | * tilegx-linux-tdep.c: New file. | |
2530 | * regformats/reg-tilegx.dat: New file. | |
2531 | ||
bb08bdbd EBM |
2532 | 2012-05-30 Edjunior Machado <[email protected]> |
2533 | ||
2534 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): fix | |
2535 | accounting of hw watchpoints on ppc. | |
2536 | ||
ebd86fb5 TJB |
2537 | 2012-05-30 Thiago Jung Bauermann <[email protected]> |
2538 | ||
2539 | * source.c (openp): Expand tilde in path entries. | |
2540 | ||
0a0edcd5 DE |
2541 | 2012-05-29 Doug Evans <[email protected]> |
2542 | ||
98cc87bd DE |
2543 | * buildsym.c (block_compar): Fix comment. |
2544 | (end_symtab): Fix and clarify some comments. | |
2545 | ||
0a0edcd5 DE |
2546 | * stabsread.h (cleanup_undefined_stabs_types): Renamed from |
2547 | cleanup_undefined_types. | |
2548 | * stabsread.c (cleanup_undefined_stabs_types): Ditto. | |
2549 | All callers updated. | |
2550 | ||
6f0c7050 TT |
2551 | 2012-05-29 Tom Tromey <[email protected]> |
2552 | ||
2553 | * symfile.c (symfile_bfd_open): Don't close desc if bfd_fopen | |
2554 | fails. | |
2555 | * solib.c (solib_bfd_fopen): Don't close fd if bfd_fopen fails. | |
2556 | * exec.c (exec_file_attach): Don't close scratch_chan if bfd_fopen | |
2557 | fails. | |
2558 | * dwarf2read.c (try_open_dwo_file): Don't close fd if bfd_fopen | |
2559 | fails. | |
2560 | ||
ec95993c TG |
2561 | 2012-05-29 Tristan Gingold <[email protected]> |
2562 | ||
2563 | * solib-darwin.c (dyld_all_image_addr, dyld_all_image): Move into... | |
2564 | (struct darwin_info): ... New struct. | |
2565 | (solib_darwin_pspace_data): New variable. | |
2566 | (darwin_pspace_data_cleanup): New function. | |
2567 | (get_darwin_info): Likewise. | |
2568 | (darwin_dyld_version_ok, darwin_load_image_infos) | |
2569 | (darwin_solib_get_all_image_info_addr_at_init) | |
2570 | (darwin_solib_read_all_image_info_addr): Add info argument. | |
2571 | Adjust code. | |
2572 | (darwin_current_sos): Use per pspace structure. | |
2573 | (darwin_solib_create_inferior_hook): Likewise. | |
2574 | (darwin_clear_solib): Likewise. | |
2575 | (_initialize_darwin_solib): Initialize solib_darwin_pspace_data. | |
2576 | ||
ae25568b PA |
2577 | 2012-05-28 Pedro Alves <[email protected]> |
2578 | ||
2579 | * infrun.c (wait_for_inferior): Move ecss and ecs locals to the | |
2580 | block that uses them. Clear ecss before handling each event. | |
2581 | ||
0c5bf5a9 JK |
2582 | 2012-05-28 Jan Kratochvil <[email protected]> |
2583 | ||
2584 | * solib-svr4.c (svr4_current_sos): New comment on | |
2585 | svr4_current_sos_via_xfer_libraries fall back. | |
2586 | ||
bfb05775 JK |
2587 | 2012-05-24 Jan Kratochvil <[email protected]> |
2588 | ||
2589 | * psymtab.c (lookup_symbol_aux_psymtabs): New variable stab_best. Use | |
2590 | it as a fallback for TYPE_IS_OPAQUE. | |
2591 | * symfile.h (struct quick_symbol_functions): Mention TYPE_OPAQUE | |
2592 | symbols for lookup_symbol. | |
2593 | ||
685b1105 JK |
2594 | 2012-05-24 John Steele Scott <[email protected]> |
2595 | ||
2596 | PR symtab/13277: Resolving opaque structures in ICC generated binaries. | |
2597 | * dwarf2read.c (struct dwarf2_cu) <producer_is_icc>: New field. | |
2598 | (producer_is_gxx_lt_4_6): Move the checking and caching to... | |
2599 | (check_producer): ... this new function, which also checks for ICC | |
2600 | and caches the result. | |
2601 | (producer_is_icc): New function. | |
2602 | (read_structure_type): Don't set TYPE_STUB_SUPPORTED if the | |
2603 | producer was ICC. | |
2604 | ||
22203bbf PA |
2605 | 2012-05-24 Pedro Alves <[email protected]> |
2606 | ||
2607 | PR gdb/7205 | |
2608 | ||
2609 | * arch-utils.c (default_gdb_signal_to_host): Rename to ... | |
2610 | (default_gdb_signal_to_target): ... this. Add comment. | |
2611 | (default_gdb_signal_from_host): Rename to ... | |
2612 | (default_gdb_signal_from_target): ... this. Add comment. | |
2613 | * arch-utils.h (default_gdb_signal_to_host): Rename to ... | |
2614 | (default_gdb_signal_to_target): ... this. | |
2615 | (default_gdb_signal_from_host): Rename to ... | |
2616 | (default_gdb_signal_from_target): ... this. | |
2617 | * corelow.c (core_open): Adjust to naming change. Replace comment. | |
2618 | * gdbarch.sh (gdb_signal_from_host): Rename to ... | |
2619 | (gdb_signal_from_target): ... this. Adjust to | |
2620 | default_gdb_signal_from_host naming change. Extend comment. | |
2621 | (gdb_signal_to_host): Rename to ... | |
2622 | (gdb_signal_to_target): ... this. Adjust to | |
2623 | default_gdb_signal_to_host naming change. | |
2624 | * gdbarch.h, gdbarch.c: Renegerate. | |
2625 | ||
a493e3e2 PA |
2626 | 2012-05-24 Pedro Alves <[email protected]> |
2627 | ||
2628 | PR gdb/7205 | |
2629 | ||
2630 | Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. | |
2631 | ||
2ea28649 PA |
2632 | 2012-05-24 Pedro Alves <[email protected]> |
2633 | ||
2634 | PR gdb/7205 | |
2635 | ||
2636 | Replace target_signal with gdb_signal throughout. | |
2637 | ||
b09846a9 PA |
2638 | 2012-05-24 Pedro Alves <[email protected]> |
2639 | ||
2640 | PR tui/14159 | |
2641 | ||
2642 | * tui/tui-hooks.c (tui_query_hook): Pre-compute the question | |
2643 | string, instead of reusing the va_list argument. | |
2644 | ||
e77c107e TT |
2645 | 2012-05-24 Tom Tromey <[email protected]> |
2646 | ||
2647 | * cp-support.h (cp_finalize_namespace, cp_initialize_namespace): | |
2648 | Remove. | |
2649 | ||
9fccedf7 DE |
2650 | 2012-05-23 Doug Evans <[email protected]> |
2651 | ||
d50bd42b DE |
2652 | * symtab.c (search_symbols): Formatting fixes. |
2653 | (print_symbol_info): Formatting fixes. | |
2654 | ||
9fccedf7 DE |
2655 | * dwarf2-frame.c (execute_cfa_program): Update to handle long long -> |
2656 | int64_t change to leb128 API. | |
2657 | (read_encoded_value, decode_frame_entry_1): Ditto. | |
2658 | * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Ditto. | |
2659 | (dwarf_block_to_dwarf_reg, dwarf_block_to_dwarf_reg_deref): Ditto. | |
2660 | (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto. | |
2661 | (execute_stack_op): Ditto. | |
2662 | * dwarf2expr.h (gdb_read_uleb128, gdb_read_sleb128): Ditto. | |
2663 | (safe_read_uleb128, safe_read_sleb128): Ditto. | |
2664 | * dwarf2loc.c (decode_debug_loc_dwo_addresses): Ditto. | |
2665 | (dwarf2_compile_expr_to_ax): Ditto. | |
2666 | (locexpr_describe_location_piece): Ditto. | |
2667 | (disassemble_dwarf_expression): Ditto. | |
2668 | (locexpr_describe_location_1): Ditto. | |
2669 | ||
f3e0e960 SS |
2670 | 2012-05-23 Stan Shebs <[email protected]> |
2671 | Kwok Cheung Yeung <[email protected]> | |
2672 | ||
2673 | * Makefile.in (SUBDIR_MI_OBS): Add mi-cmd-info.o. | |
2674 | (SUBDIR_MI_SRCS): Add mi-cmd-info.c. | |
2675 | (mi-cmd-info.o): New rule. | |
2676 | * osdata.h (info_osdata_command): New declaration. | |
2677 | * osdata.c (info_osdata_command): Change to non-static. | |
2678 | * mi/mi-cmds.h (mi_cmd_info_os): New declaration. | |
2679 | * mi/mi-cmds.c (mi_cmds): Add -info-os MI command. | |
2680 | * mi/mi-cmd-info.c: New file. | |
2681 | ||
c51fe631 DE |
2682 | 2012-05-23 Doug Evans <[email protected]> |
2683 | ||
71cddcc1 DE |
2684 | * symtab.c (search_symbols): Pass NULL for file_matcher to |
2685 | expand_symtabs_matching if there are no files to match. | |
2686 | ||
c51fe631 DE |
2687 | * gdbtypes.c (lookup_typename): Simplify. |
2688 | ||
a79378d4 PA |
2689 | 2012-05-23 Pedro Alves <[email protected]> |
2690 | ||
2691 | * arch-utils.h (default_target_signal_to_host): Delete. | |
2692 | * arch-utils.c (default_target_signal_to_host): Delete. | |
2693 | * gdbarch.sh (target_signal_to_host): Remove. | |
2694 | * gdbarch.h, gdbarch.c: Regenerate. | |
2695 | ||
f664829e DE |
2696 | 2012-05-22 Doug Evans <[email protected]> |
2697 | ||
2698 | * dwarf2-frame.c (struct dwarf2_cie): Make initial_instructions, end | |
2699 | "const gdb_byte *". | |
2700 | (struct dwarf2_fde): Make instructions, end "const gdb_byte *". | |
2701 | (execute_cfa_program): Update to match API of leb128 functions. | |
2702 | (read_1_byte, read_4_bytes, read_8_bytes): Make buf parameter | |
2703 | "const gdb_byte *". | |
2704 | (read_unsigned_leb128, read_signed_leb128): Delete. | |
2705 | (read_initial_length): Change type of buf argument to | |
2706 | "const gdb_byte *". | |
2707 | (read_encoded_value): Update to match API of leb128 functions. | |
2708 | (decode_frame_entry): Change result to "const gdb_byte *", and | |
2709 | similarly for "start" parameter. | |
2710 | (decode_frame_entry_1): Ditto. Use new leb128 reader functions. | |
2711 | (dwarf2_build_frame_info): Change local frame_ptr to | |
2712 | "const gdb_byte *". | |
2713 | * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Replaces | |
2714 | read_uleb128, read_sleb128. All callers updated. | |
2715 | (safe_skip_leb128): New function. | |
2716 | (dwarf_block_to_dwarf_reg): Update to match API of leb128 functions. | |
2717 | Call gdb_read_uleb128, gdb_skip_leb128 instead of read_uleb128. | |
2718 | (dwarf_block_to_dwarf_reg_deref): Update to match API of leb128 | |
2719 | functions. Call gdb_read_uleb128, gdb_read_sleb128 instead of | |
2720 | read_uleb128, read_sleb128. | |
2721 | (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto. | |
2722 | (execute_stack_op): Update to match API of leb128 functions. | |
2723 | * dwarf2expr.h: #include "leb128.h". | |
2724 | (read_uleb128, read_sleb128): Delete. | |
2725 | (gdb_read_uleb128, gdb_read_sleb128, gdb_skip_leb128): New functions. | |
2726 | (safe_read_uleb128, safe_read_sleb128, safe_skip_leb128): Declare. | |
2727 | * dwarf2loc.c (debug_loc_kind): New enum. | |
2728 | (decode_debug_loc_addresses): New function. | |
2729 | (decode_debug_loc_dwo_addresses): New function. | |
2730 | (dwarf2_find_location_expression): Rewrite. | |
2731 | (dwarf2_compile_expr_to_ax): Update to match API of leb128 functions. | |
2732 | (locexpr_describe_location_piece): Ditto. | |
2733 | (disassemble_dwarf_expression): Ditto. | |
2734 | (locexpr_describe_location_1): Ditto. | |
2735 | (loclist_describe_location): Rewrite. | |
2736 | * dwarf2loc.h (dwarf2_loclist_baton): New member "from_dwo". | |
2737 | * dwarf2read.c (die_reader_specs): New member "buffer_end". | |
2738 | (dwarf2_section_buffer_overflow_complaint): Renamed from | |
2739 | dwarf2_macros_too_long_complaint. All callers updated. | |
2740 | (skip_leb128): Delete. | |
2741 | (init_cu_die_reader): Initialize reader->buffer_end. | |
2742 | (skip_one_die): Replace call to skip_leb128 with safe_skip_leb128. | |
2743 | (skip_form_bytes): New arg buffer_end. All callers updated. | |
2744 | Replace call to skip_leb128 with gdb_skip_leb128. | |
2745 | (skip_unknown_opcode): New arg mac_end. All callers updated. | |
2746 | (fill_in_loclist_baton): Initialize baton->from_dwo. | |
2747 | ||
837a1b32 MR |
2748 | 2012-05-22 Maciej W. Rozycki <[email protected]> |
2749 | ||
2750 | * mips-linux-nat.c (mips_linux_read_description): Use a more | |
2751 | verbose error message. | |
2752 | ||
d0e64392 MR |
2753 | 2012-05-22 Maciej W. Rozycki <[email protected]> |
2754 | ||
2755 | * NEWS: Add MIPS/Linux DSP support. | |
2756 | * mips-linux-tdep.c: Document post-2.6.12 o32 sigcontext layout. | |
2757 | (SIGCONTEXT_DSPCTL): New macro. | |
2758 | (SIGCONTEXT_HI1, SIGCONTEXT_LO1): Likewise. | |
2759 | (SIGCONTEXT_HI2, SIGCONTEXT_LO2): Likewise. | |
2760 | (SIGCONTEXT_HI3, SIGCONTEXT_LO3): Likewise. | |
2761 | (N64_SIGCONTEXT_HI1, N64_SIGCONTEXT_HI2): Likewise. | |
2762 | (N64_SIGCONTEXT_HI3): Likewise. | |
2763 | (N64_SIGCONTEXT_LO1, N64_SIGCONTEXT_LO2): Likewise. | |
2764 | (N64_SIGCONTEXT_LO3): Likewise. | |
2765 | (N64_SIGCONTEXT_DSPCTL): Likewise. | |
2766 | (N64_SIGCONTEXT_FPCSR): Clarify definition. | |
2767 | (mips_linux_o32_sigframe_init): Handle DSP registers. | |
2768 | (mips_linux_n32n64_sigframe_init): Likewise. | |
2769 | ||
8bea7ed1 PM |
2770 | 2012-05-22 Pierre Muller <[email protected]> |
2771 | ||
2772 | * common/buffer.c (buffer_grow): ARI fix: Remove unneeded | |
2773 | call to abort. | |
2774 | ||
dab06dbe PA |
2775 | 2012-05-22 Pedro Alves <[email protected]> |
2776 | ||
2777 | * target.h (store_waitstatus): Move declaration ... | |
2778 | * inf-child.h (store_waitstatus): ... here. | |
2779 | * target.c: Move inclusion of gdb_wait.h, and ... | |
2780 | (store_waitstatus): ... this ... | |
2781 | * inf-child.c: ... here. | |
2782 | * linux-nat.c: Include inf-child.h. | |
2783 | * rs6000-nat.c: Include inf-child.h. | |
2784 | * spu-linux-nat.c: Include inf-child.h. | |
2785 | ||
43011e52 PM |
2786 | 2012-05-22 Pierre Muller <[email protected]> |
2787 | ||
2788 | * tracepoint.c (start_tracing): Add missing i18n markup. | |
2789 | (stop_tracing, set_trace_user): Ditto. | |
2790 | (set_trace_notes, set_trace_stop_notes): Ditto. | |
2791 | ||
b1af9e97 TT |
2792 | 2012-05-21 Tom Tromey <[email protected]> |
2793 | ||
2794 | PR c++/7173: | |
2795 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Return early for Java | |
2796 | types. | |
2797 | * value.h (value_cast_pointers): Update. | |
2798 | * valops.c (value_cast_pointers): Add 'subclass_check' argument. | |
2799 | (value_cast): Update. | |
2800 | (update_search_result): New function. | |
2801 | (do_search_struct_field): New, from search_struct_field. Check | |
2802 | for ambiguous results. | |
2803 | (search_struct_field): Rewrite. | |
2804 | * infcall.c (value_arg_coerce): Update. | |
2805 | * eval.c (evaluate_subexp_standard) <STRUCTOP_MEMBER>: Use | |
2806 | value_cast_pointers. | |
2807 | * ada-lang.c (ada_convert_actual): Update. | |
2808 | ||
e9e5e6b3 TT |
2809 | 2012-05-21 Tom Tromey <[email protected]> |
2810 | ||
2811 | * macroexp.c (macro_stringify): Terminate the string. | |
2812 | ||
1564a261 JK |
2813 | 2012-05-20 Jan Kratochvil <[email protected]> |
2814 | ||
2815 | * NEWS (--with-auto-load-dir): Prepend $debugdir to the default path. | |
2816 | Describe it. | |
2817 | * auto-load.c (auto_load_expand_dir_vars): New function. | |
2818 | (auto_load_safe_path_vec_update): Use it, remove the | |
2819 | substitute_path_component call thanks to it. | |
2820 | (auto_load_objfile_script): Remove the debug_file_directory processing. | |
2821 | Use auto_load_expand_dir_vars, remove the substitute_path_component | |
2822 | call thanks to it. | |
2823 | * configure: Regenerate. | |
2824 | * configure.ac (--with-auto-load-dir): Prepend $debugdir to the default | |
2825 | path. Escape $ also for $debugdir. | |
2826 | (--with_auto_load_safe_path): Escape $ also for $debugdir. | |
2827 | * utils.c (substitute_path_component): Accept also DIRNAME_SEPARATOR. | |
2828 | ||
a3ec0bb1 DE |
2829 | 2012-05-20 Doug Evans <[email protected]> |
2830 | ||
2831 | * dwarf2read.c (recursively_find_pc_sect_symtab): Initialize "s" | |
2832 | before use. Check for symtab->includes == NULL before scanning it. | |
2833 | ||
d467df4e MR |
2834 | 2012-05-18 Maciej W. Rozycki <[email protected]> |
2835 | ||
2836 | * mips-tdep.c (mips_reg3_to_reg): Optimize storage. | |
2837 | ||
4cc0665f MR |
2838 | 2012-05-18 Maciej W. Rozycki <[email protected]> |
2839 | ||
2840 | * NEWS: Add microMIPS support and "set mips compression", | |
2841 | "show mips compression" commands. | |
2842 | * mips-tdep.h (mips_isa): New enum. | |
2843 | (gdbarch_tdep): Add mips_isa. | |
2844 | (mips_pc_is_mips16): Update prototype. | |
2845 | (mips_pc_is_mips, mips_pc_is_micromips): New prototypes. | |
2846 | * mips-tdep.c (mips_compression_mips16): New variable. | |
2847 | (mips_compression_micromips): Likewise. | |
2848 | (mips_compression_strings): Likewise. | |
2849 | (mips_compression_string): Likewise. | |
2850 | (is_mips16_isa, is_micromips_isa): New functions. | |
2851 | (is_mips16_addr): Rename to... | |
2852 | (is_compact_addr): ... this. | |
2853 | (unmake_mips16_addr): Likewise to... | |
2854 | (unmake_compact_addr): ... this. | |
2855 | (make_mips16_addr): Likewise to... | |
2856 | (make_compact_addr): ... this. | |
2857 | (is_mips_addr, is_mips16_addr, is_micromips_addr): New | |
2858 | functions. | |
2859 | (mips_elf_make_msymbol_special): Handle microMIPS code. | |
2860 | (msymbol_is_special): Rename to... | |
2861 | (msymbol_is_mips16): ... this. | |
2862 | (mips_make_symbol_special, mips_pc_is_mips16): Update | |
2863 | accordingly. | |
2864 | (msymbol_is_mips, msymbol_is_micromips): New functions. | |
2865 | (mips16_to_32_reg): Rename to... | |
2866 | (mips_reg3_to_reg): ... this. | |
2867 | (mips_pc_is_mips, mips_pc_is_micromips): New functions. | |
2868 | (mips_pc_isa): Likewise. | |
2869 | (mips_read_pc, mips_unwind_pc, mips_write_pc): Handle microMIPS | |
2870 | code. | |
2871 | (mips_fetch_instruction): Pass return status instead of printing | |
2872 | an error message if requested. Handle microMIPS code. Bail out | |
2873 | on an invalid ISA. | |
2874 | (micromips_op): New macro. | |
2875 | (b0s4_imm, b0s5_imm, b0s5_reg, b0s7_imm, b0s10_imm): Likewise. | |
2876 | (b1s9_imm, b2s3_cc, b4s2_regl, b5s5_op, b5s5_reg): Likewise. | |
2877 | (b6s4_op, b7s3_reg): Likewise. | |
2878 | (b0s6_op, b0s11_op, b0s12_imm, b0s16_imm, b0s26_imm): Likewise. | |
2879 | (b6s10_ext, b11s5_reg, b12s4_op): Likewise. | |
2880 | (mips_insn_size): New function. | |
2881 | (mips32_next_pc): Update mips_fetch_instruction call. | |
2882 | (micromips_relative_offset7): New function. | |
2883 | (micromips_relative_offset10): Likewise. | |
2884 | (micromips_relative_offset16): Likewise. | |
2885 | (micromips_pc_insn_size): Likewise. | |
2886 | (micromips_bc1_pc): Likewise. | |
2887 | (micromips_next_pc): Likewise. | |
2888 | (unpack_mips16): Update mips_fetch_instruction call. | |
2889 | (extended_mips16_next_pc): Update according to change to | |
2890 | mips16_to_32_reg. | |
2891 | (mips_next_pc): Update mips_pc_is_mips16 call. Handle microMIPS | |
2892 | code. | |
2893 | (mips16_scan_prologue): Update mips_fetch_instruction call. | |
2894 | Update according to change to mips16_to_32_reg. | |
2895 | (mips_insn16_frame_sniffer): Update mips_pc_is_mips16 call. | |
2896 | (mips_insn16_frame_base_sniffer): Likewise. | |
2897 | (micromips_decode_imm9): New function. | |
2898 | (micromips_scan_prologue): Likewise. | |
2899 | (mips_micro_frame_cache): Likewise. | |
2900 | (mips_micro_frame_this_id): Likewise. | |
2901 | (mips_micro_frame_prev_register): Likewise. | |
2902 | (mips_micro_frame_sniffer): Likewise. | |
2903 | (mips_micro_frame_unwind): New variable. | |
2904 | (mips_micro_frame_base_address): New function. | |
2905 | (mips_micro_frame_base): New variable. | |
2906 | (mips_micro_frame_base_sniffer): New function. | |
2907 | (mips32_scan_prologue): Update mips_fetch_instruction call. | |
2908 | (mips_insn32_frame_sniffer): Check for the standard MIPS ISA | |
2909 | rather than for MIPS16. | |
2910 | (mips_insn32_frame_base_sniffer): Likewise. | |
2911 | (mips_addr_bits_remove): Handle microMIPS code. | |
2912 | (deal_with_atomic_sequence): Rename to... | |
2913 | (mips_deal_with_atomic_sequence): ... this. Update the type | |
2914 | of the variable used to hold an instruction. Remove the ISA bit | |
2915 | check. Update mips_fetch_instruction call. | |
2916 | (micromips_deal_with_atomic_sequence): New function. | |
2917 | (deal_with_atomic_sequence): Likewise. | |
2918 | (mips_about_to_return): Handle microMIPS code. Update | |
2919 | mips_fetch_instruction call. | |
2920 | (heuristic_proc_start): Check for the standard MIPS ISA rather | |
2921 | than for MIPS16. Update mips_pc_is_mips16 and | |
2922 | mips_fetch_instruction calls. Handle microMIPS code. | |
2923 | (mips_push_dummy_code): Handle microMIPS code. | |
2924 | (mips_eabi_push_dummy_call): Likewise. | |
2925 | (mips_o32_return_value): Update mips_pc_is_mips16 call. | |
2926 | (mips_o64_push_dummy_call): Handle microMIPS code. | |
2927 | (mips_o64_return_value): Update mips_pc_is_mips16 call. | |
2928 | (is_delayed): Remove function. | |
2929 | (mips_single_step_through_delay): Replace the call to is_delayed | |
2930 | with mips32_instruction_has_delay_slot. Correct MIPS16 handling. | |
2931 | Handle microMIPS code. | |
2932 | (mips_skip_prologue): Update mips_pc_is_mips16 call. Handle | |
2933 | microMIPS code. | |
2934 | (mips32_in_function_epilogue_p): Update mips_fetch_instruction | |
2935 | call. | |
2936 | (micromips_in_function_epilogue_p): New function. | |
2937 | (mips16_in_function_epilogue_p): Update mips_fetch_instruction | |
2938 | call. | |
2939 | (mips_in_function_epilogue_p): Update mips_pc_is_mips16 call. | |
2940 | Handle microMIPS. | |
2941 | (gdb_print_insn_mips): Likewise. | |
2942 | (mips_breakpoint_from_pc): Likewise. | |
2943 | (mips_remote_breakpoint_from_pc): New function. | |
2944 | (mips32_instruction_has_delay_slot): Simplify making use of the | |
2945 | updated mips_fetch_instruction interface. | |
2946 | (micromips_instruction_has_delay_slot): New function. | |
2947 | (mips16_instruction_has_delay_slot): Simplify making use of the | |
2948 | updated mips_fetch_instruction interface. | |
2949 | (mips_adjust_breakpoint_address): Check for the standard MIPS | |
2950 | ISA rather than for MIPS16 ISA. Update for unmake_compact_addr | |
2951 | calls. Handle microMIPS code. | |
2952 | (mips_get_mips16_fn_stub_pc): Update mips_fetch_instruction call. | |
2953 | (mips_skip_trampoline_code): Handle microMIPS code. | |
2954 | (global_mips_compression): New function. | |
2955 | (mips_gdbarch_init): Handle the compressed ISA setting from ELF | |
2956 | file flags. Register the microMIPS remote breakpoint handler | |
2957 | and heuristic frame unwinder. | |
2958 | (show_mips_compression): New function. | |
2959 | (_initialize_mips_tdep): Add the "set mips compression" and | |
2960 | "show mips compression" commands. | |
2961 | ||
22e048c9 SDJ |
2962 | 2012-05-18 Sergio Durigan Junior <[email protected]> |
2963 | ||
2964 | * ada-lang.c: | |
2965 | * ada-tasks.c: | |
2966 | * ada-varobj.c: | |
2967 | * amd64-darwin-tdep.c: | |
2968 | * arm-symbian-tdep.c: | |
2969 | * arm-tdep.c: | |
2970 | * avr-tdep.c: | |
2971 | * ax-gdb.c: | |
2972 | * bfin-linux-tdep.c: | |
2973 | * breakpoint.c: | |
2974 | * c-valprint.c: | |
2975 | * cli/cli-cmds.c: | |
2976 | * coffread.c: | |
2977 | * cp-support.c: | |
2978 | * cris-tdep.c: | |
2979 | * dwarf2-frame-tailcall.c: | |
2980 | * dwarf2-frame.c: | |
2981 | * dwarf2expr.c: | |
2982 | * dwarf2loc.c: | |
2983 | * dwarf2read.c: | |
2984 | * elfread.c: | |
2985 | * eval.c: | |
2986 | * expprint.c: | |
2987 | * f-valprint.c: | |
2988 | * frv-tdep.c: | |
2989 | * h8300-tdep.c: | |
2990 | * hppa-hpux-tdep.c: | |
2991 | * hppa-tdep.c: | |
2992 | * hppanbsd-tdep.c: | |
2993 | * i386-nto-tdep.c: | |
2994 | * i386-tdep.c: | |
2995 | * i387-tdep.c: | |
2996 | * ia64-tdep.c: | |
2997 | * jit.c: | |
2998 | * linespec.c: | |
2999 | * linux-tdep.c: | |
3000 | * lm32-tdep.c: | |
3001 | * m2-valprint.c: | |
3002 | * m32c-tdep.c: | |
3003 | * m32r-rom.c: | |
3004 | * m32r-tdep.c: | |
3005 | * m68k-tdep.c: | |
3006 | * m68klinux-tdep.c: | |
3007 | * mi/mi-main.c: | |
3008 | * microblaze-tdep.c: | |
3009 | * mips-linux-tdep.c: | |
3010 | * mips-tdep.c: | |
3011 | * mn10300-tdep.c: | |
3012 | * p-valprint.c: | |
3013 | * parse.c: | |
3014 | * ppc-linux-tdep.c: | |
3015 | * ppc-sysv-tdep.c: | |
3016 | * printcmd.c: | |
3017 | * python/py-finishbreakpoint.c: | |
3018 | * python/py-inferior.c: | |
3019 | * python/py-infthread.c: | |
3020 | * python/py-type.c: | |
3021 | * python/python.c: | |
3022 | * remote-fileio.c: | |
3023 | * remote-m32r-sdi.c: | |
3024 | * remote-mips.c: | |
3025 | * reverse.c: | |
3026 | * rl78-tdep.c: | |
3027 | * rs6000-aix-tdep.c: | |
3028 | * rs6000-tdep.c: | |
3029 | * s390-tdep.c: | |
3030 | * score-tdep.c: | |
3031 | * sh64-tdep.c: | |
3032 | * skip.c: | |
3033 | * solib-darwin.c: | |
3034 | * solib-dsbt.c: | |
3035 | * solib-frv.c: | |
3036 | * sparc-tdep.c: | |
3037 | * spu-multiarch.c: | |
3038 | * spu-tdep.c: | |
3039 | * stack.c: | |
3040 | * symfile.c: | |
3041 | * symtab.c: | |
3042 | * tic6x-tdep.c: | |
3043 | * tracepoint.c: | |
3044 | * v850-tdep.c: | |
3045 | * valarith.c: | |
3046 | * valprint.c: | |
3047 | * value.c: | |
3048 | * xcoffread.c: | |
3049 | * xtensa-tdep.c: | |
3050 | * ada-lang.c: | |
3051 | * ada-tasks.c: | |
3052 | * ada-varobj.c: | |
3053 | * amd64-darwin-tdep.c: | |
3054 | * arm-symbian-tdep.c: | |
3055 | * arm-tdep.c: Delete unused variables. | |
3056 | ||
aff139ff JK |
3057 | 2012-05-18 Jan Kratochvil <[email protected]> |
3058 | ||
3059 | Rename $ddir to $datadir. | |
3060 | * NEWS (--with-auto-load-dir): Rename $ddir to $datadir. | |
3061 | * auto-load.c (auto_load_safe_path_vec_update) | |
3062 | (auto_load_gdb_datadir_changed, auto_load_objfile_script): Likewise. | |
3063 | * configure: Regenerate. | |
3064 | * configure.ac (--with-auto-load-dir, --with-auto-load-safe-path): | |
3065 | Likewise. Remove the 'use $ddir' help string. | |
3066 | ||
f7bfa992 JK |
3067 | 2012-05-18 Jan Kratochvil <[email protected]> |
3068 | ||
3069 | * auto-load.c (show_auto_load_safe_path): Accept any combination of | |
3070 | DIRNAME_SEPARATOR and IS_DIR_SEPARATOR for wild-match. | |
3071 | ||
9cb709b6 TT |
3072 | 2012-05-18 Tom Tromey <[email protected]> |
3073 | ||
3074 | PR exp/13907: | |
3075 | * valprint.h (struct value_print_options) <symbol_print>: New | |
3076 | field. | |
3077 | * valprint.c (user_print_options): Add default for symbol_print. | |
3078 | (show_symbol_print): New function. | |
3079 | (generic_val_print): Respect symbol_print. | |
3080 | (_initialize_valprint): Add "print symbol" setting. | |
3081 | * f-valprint.c (f_val_print): Respect symbol_print. | |
3082 | * c-valprint.c (c_val_print): Respect symbol_print. | |
3083 | * NEWS: Update. | |
3084 | * printcmd.c (print_address_symbolic): Return int. Ignore some | |
3085 | zero-size symbols. | |
3086 | (print_address_demangle): Return int. | |
3087 | * defs.h: (print_address_symbolic): Return int. | |
3088 | * value.h (print_address_demangle): Return int. | |
3089 | ||
b012acdd TT |
3090 | 2012-05-18 Tom Tromey <[email protected]> |
3091 | ||
3092 | * valprint.c (val_print_string): Don't print leading space. | |
3093 | * p-valprint.c (pascal_val_print) <TYPE_CODE_PTR>: Optionally | |
3094 | print space before string or vtbl. | |
3095 | * m2-valprint.c (print_unpacked_pointer): Optionally print space | |
3096 | before string. | |
3097 | * jv-valprint.c (java_value_print): Print space before string. | |
3098 | * go-valprint.c (print_go_string): Print space before string. | |
3099 | * f-valprint.c (f_val_print) <TYPE_CODE_PTR>: Optionally print | |
3100 | space before string. | |
3101 | * c-valprint.c (c_val_print) <TYPE_CODE_PTR>: Optionally print | |
3102 | space before string or vtbl. | |
3103 | * auxv.c (fprint_target_auxv): Print space after address. | |
3104 | ||
1d51a733 TT |
3105 | 2012-05-18 Tom Tromey <[email protected]> |
3106 | ||
3107 | * printcmd.c (print_address_demangle): Remove special case for 0. | |
3108 | ||
edf0c1b7 TT |
3109 | 2012-05-18 Tom Tromey <[email protected]> |
3110 | ||
3111 | * printcmd.c (print_address_demangle): Add 'opts' argument. | |
3112 | * p-valprint.c (pascal_val_print): Update. | |
3113 | * jv-valprint.c (java_val_print): Update. | |
3114 | * value.h: Update. | |
3115 | * valprint.c (generic_val_print): Update. | |
3116 | (print_function_pointer_address): Add 'options' argument. Remove | |
3117 | 'addressprint' argument. Update. | |
3118 | * m2-valprint.c (print_unpacked_pointer): Update. | |
3119 | * gnu-v3-abi.c (print_one_vtable): Update. | |
3120 | (gnuv3_print_method_ptr): Update. | |
3121 | * f-valprint.c (f_val_print): Update. | |
3122 | * cp-valprint.c (cp_print_value_fields): Update. | |
3123 | * valprint.h (print_function_pointer_address): Update. | |
3124 | * c-valprint.c (c_val_print): Update. | |
3125 | ||
9703b513 TT |
3126 | 2012-05-18 Tom Tromey <[email protected]> |
3127 | ||
3128 | * psymtab.c (find_pc_sect_symtab_from_partial): Return the symtab | |
3129 | directly corresponding to the found psymtab. | |
3130 | * dwarf2read.c (recursively_find_pc_sect_symtab): New function. | |
3131 | (dw2_find_pc_sect_symtab): Use it. | |
3132 | * block.h (blockvector_contains_pc): Declare. | |
3133 | * block.c (find_block_in_blockvector): New function. | |
3134 | (blockvector_for_pc_sect): Use it. | |
3135 | (blockvector_contains_pc): New function. | |
3136 | ||
5a439849 MR |
3137 | 2012-05-18 Maciej W. Rozycki <[email protected]> |
3138 | ||
3139 | * mips-tdep.h (mips_write_pc): New prototype. | |
3140 | * mips-tdep.c (mips_write_pc): Make external, add description. | |
3141 | * mips-linux-tdep.c (mips_linux_write_pc): Use mips_write_pc, | |
3142 | add description. | |
3143 | ||
8376de04 MR |
3144 | 2012-05-18 Maciej W. Rozycki <[email protected]> |
3145 | ||
3146 | * mips-tdep.c (mips_read_pc): Use gdbarch_pc_regnum instead of | |
3147 | mips_regnum->pc. | |
3148 | (mips_unwind_pc, mips_write_pc): Likewise. | |
3149 | (mips_gdbarch_init): Remove a comment on gdbarch_pc_regnum and | |
3150 | gdbarch_read_pc. | |
3151 | ||
d3581e61 JB |
3152 | 2012-05-17 Joel Brobecker <[email protected]> |
3153 | ||
3154 | * procfs.c (procfs_find_new_threads, procfs_pid_to_str, | |
3155 | proc_warn, proc_error, proc_get_status, proc_flags, | |
3156 | proc_why, proc_what, proc_nsysarg, proc_sysargs, | |
3157 | proc_set_run_on_last_close, proc_unset_run_on_last_close, | |
3158 | proc_unset_inherit_on_fork, proc_set_async, proc_unset_async, | |
3159 | proc_stop_process, proc_wait_for_stop, proc_run_process, | |
3160 | proc_set_traced_signals, proc_set_traced_faults, | |
3161 | proc_set_traced_sysentry, proc_set_traced_sysexit, | |
3162 | proc_set_held_signals, proc_get_held_signals, | |
3163 | proc_get_traced_signals, proc_get_traced_faults, | |
3164 | proc_get_traced_sysentry, proc_get_traced_sysexit, | |
3165 | proc_clear_current_fault, proc_set_current_signal, | |
3166 | proc_clear_current_signal, proc_get_gregs, proc_get_fpregs, | |
3167 | proc_set_gregs, proc_set_fpregs, proc_kill, proc_parent_pid, | |
3168 | proc_get_nthreads, proc_get_nthreads, proc_get_nthreads, | |
3169 | proc_get_current_thread, proc_get_current_thread, | |
3170 | proc_get_current_thread, proc_update_threads, | |
3171 | proc_update_threads, proc_update_threads, proc_update_threads, | |
3172 | proc_iterate_over_threads, procfs_find_new_threads, | |
3173 | procfs_pid_to_str): Make static. Remove advance declaration. | |
3174 | (proc_cursig): Make static. Conditionalized defintion on | |
3175 | PROCFS_DONT_PIOCSSIG_CURSIG being defined. | |
3176 | (proc_syscall, proc_set_kill_on_last_close, | |
3177 | proc_unset_kill_on_last_close, proc_set_inherit_on_fork, | |
3178 | proc_get_pending_signals, proc_get_signal_actions, | |
3179 | proc_trace_signal, proc_ignore_signal): Delete. | |
3180 | ||
81b9b86e SDJ |
3181 | 2012-05-16 Sergio Durigan Junior <[email protected]> |
3182 | ||
3183 | * coffread.c (cs_section_address): Passing proper argument for | |
3184 | `bfd_get_section_vma'. | |
3185 | * dwarf2read.c (dwarf2_locate_sections): Likewise, for | |
3186 | `bfd_get_section_flags'. | |
3187 | * remote.c (remote_trace_set_readonly_regions): Likewise, for | |
3188 | `bfd_get_section_vma'. | |
3189 | ||
abc9d0dc TT |
3190 | 2012-05-16 Tom Tromey <[email protected]> |
3191 | ||
3192 | PR macros/13205: | |
3193 | * macrotab.h: (macro_define_special): Declare. | |
3194 | (enum macro_special_kind): New. | |
3195 | (struct macro_definition) <argc, replacement>: Update comments. | |
3196 | * macrotab.c (new_macro_definition): Unconditionally set 'argc'. | |
3197 | (macro_define_object_internal): New function. | |
3198 | (macro_define_object): Use it. | |
3199 | (macro_define_special): New function. | |
3200 | (fixup_definition): New function. | |
3201 | (macro_lookup_definition, foreach_macro_in_scope) | |
3202 | (foreach_macro): Use fixup_definition. | |
3203 | * macroexp.h (macro_stringify): Declare. | |
3204 | * macroexp.c (free_buffer_return_text): New function. | |
3205 | (stringify): Constify "arg". | |
3206 | (macro_stringify): New function. | |
3207 | * dwarf2read.c (macro_start_file): Call macro_define_special. | |
3208 | ||
6a3a010b MR |
3209 | 2012-05-16 Maciej W. Rozycki <[email protected]> |
3210 | Maciej W. Rozycki <[email protected]> | |
3211 | ||
3212 | * breakpoint.h (bp_location): Add related_address member. | |
3213 | * inferior.h (get_return_value): Take a pointer to struct value | |
3214 | instead of struct type for the function requested. | |
3215 | * value.h (using_struct_return): Likewise. | |
3216 | * gdbarch.sh (return_value): Take a pointer to struct value | |
3217 | instead of struct type for the function requested. | |
3218 | * breakpoint.c (set_breakpoint_location_function): Initialize | |
3219 | related_address for bp_gnu_ifunc_resolver breakpoints. | |
3220 | * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the | |
3221 | requested function's address to gdbarch_return_value. | |
3222 | * eval.c (evaluate_subexp_standard): Pass the requested | |
3223 | function's address to using_struct_return. | |
3224 | * infcall.c (call_function_by_hand): Pass the requested | |
3225 | function's address to using_struct_return and | |
3226 | gdbarch_return_value. | |
3227 | * infcmd.c (get_return_value): Take a pointer to struct value | |
3228 | instead of struct type for the function requested. | |
3229 | (print_return_value): Update accordingly. | |
3230 | (finish_command_continuation): Likewise. | |
3231 | * stack.c (return_command): Pass the requested function's | |
3232 | address to using_struct_return and gdbarch_return_value. | |
3233 | * value.c (using_struct_return): Take a pointer to struct value | |
3234 | instead of struct type for the function requested. Pass the | |
3235 | requested function's address to gdbarch_return_value. | |
3236 | * python/py-finishbreakpoint.c (finish_breakpoint_object): | |
3237 | New function_value member, replacing function_type. | |
3238 | (bpfinishpy_dealloc): Update accordingly. | |
3239 | (bpfinishpy_pre_stop_hook): Likewise. | |
3240 | (bpfinishpy_init): Likewise. Record the requested function's | |
3241 | address. | |
3242 | * mips-tdep.c (mips_fval_reg): New enum. | |
3243 | (mips_o32_push_dummy_call): For MIPS16 FP doubles do not swap | |
3244 | words put in GP registers. | |
3245 | (mips_o64_push_dummy_call): Update a comment. | |
3246 | (mips_o32_return_value): Take a pointer to struct value instead | |
3247 | of struct type for the function requested and use it to check if | |
3248 | using the MIPS16 calling convention. Return the designated | |
3249 | general purpose registers for floating-point values returned in | |
3250 | MIPS16 mode. | |
3251 | (mips_o64_return_value): Likewise. | |
3252 | * ppc-tdep.h (ppc_sysv_abi_return_value): Update prototype. | |
3253 | (ppc_sysv_abi_broken_return_value): Likewise. | |
3254 | (ppc64_sysv_abi_return_value): Likewise. | |
3255 | * alpha-tdep.c (alpha_return_value): Take a pointer to struct | |
3256 | value instead of struct type for the function requested. | |
3257 | * amd64-tdep.c (amd64_return_value): Likewise. | |
3258 | * amd64-windows-tdep.c (amd64_windows_return_value): Likewise. | |
3259 | * arm-tdep.c (arm_return_value): Likewise. | |
3260 | * avr-tdep.c (avr_return_value): Likewise. | |
3261 | * bfin-tdep.c (bfin_return_value): Likewise. | |
3262 | * cris-tdep.c (cris_return_value): Likewise. | |
3263 | * frv-tdep.c (frv_return_value): Likewise. | |
3264 | * h8300-tdep.c (h8300_return_value): Likewise. | |
3265 | (h8300h_return_value): Likewise. | |
3266 | * hppa-tdep.c (hppa32_return_value): Likewise. | |
3267 | (hppa64_return_value): Likewise. | |
3268 | * i386-tdep.c (i386_return_value): Likewise. | |
3269 | * ia64-tdep.c (ia64_return_value): Likewise. | |
3270 | * iq2000-tdep.c (iq2000_return_value): Likewise. | |
3271 | * lm32-tdep.c (lm32_return_value): Likewise. | |
3272 | * m32c-tdep.c (m32c_return_value): Likewise. | |
3273 | * m32r-tdep.c (m32r_return_value): Likewise. | |
3274 | * m68hc11-tdep.c (m68hc11_return_value): Likewise. | |
3275 | * m68k-tdep.c (m68k_return_value): Likewise. | |
3276 | (m68k_svr4_return_value): Likewise. | |
3277 | * m88k-tdep.c (m88k_return_value): Likewise. | |
3278 | * mep-tdep.c (mep_return_value): Likewise. | |
3279 | * microblaze-tdep.c (microblaze_return_value): Likewise. | |
3280 | * mn10300-tdep.c (mn10300_return_value): Likewise. | |
3281 | * moxie-tdep.c (moxie_return_value): Likewise. | |
3282 | * mt-tdep.c (mt_return_value): Likewise. | |
3283 | * ppc-linux-tdep.c (ppc_linux_return_value): Likewise. | |
3284 | * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): Likewise. | |
3285 | (ppc_sysv_abi_broken_return_value): Likewise. | |
3286 | (ppc64_sysv_abi_return_value): Likewise. | |
3287 | * ppcnbsd-tdep.c (ppcnbsd_return_value): Likewise. | |
3288 | * rl78-tdep.c (rl78_return_value): Likewise. | |
3289 | * rs6000-aix-tdep.c (rs6000_return_value): Likewise. | |
3290 | * rx-tdep.c (rx_return_value): Likewise. | |
3291 | * s390-tdep.c (s390_return_value): Likewise. | |
3292 | * score-tdep.c (score_return_value): Likewise. | |
3293 | * sh-tdep.c (sh_return_value_nofpu): Likewise. | |
3294 | (sh_return_value_fpu): Likewise. | |
3295 | * sh64-tdep.c (sh64_return_value): Likewise. | |
3296 | * sparc-tdep.c (sparc32_return_value): Likewise. | |
3297 | * sparc64-tdep.c (sparc64_return_value): Likewise. | |
3298 | * spu-tdep.c (spu_return_value): Likewise. | |
3299 | * tic6x-tdep.c (tic6x_return_value): Likewise. | |
3300 | * v850-tdep.c (v850_return_value): Likewise. | |
3301 | * vax-tdep.c (vax_return_value): Likewise. | |
3302 | * xstormy16-tdep.c (xstormy16_return_value): Likewise. | |
3303 | * xtensa-tdep.c (xtensa_return_value): Likewise. | |
3304 | * gdbarch.c: Regenerate. | |
3305 | * gdbarch.h: Regenerate. | |
3306 | ||
29ca12b3 TT |
3307 | 2012-05-15 Tom Tromey <[email protected]> |
3308 | ||
3309 | * python/python.c (gdbpy_find_pc_line): Use gdb_py_ulongest. | |
3310 | ||
588ae58c JB |
3311 | 2012-05-15 Joel Brobecker <[email protected]> |
3312 | ||
3313 | * breakpoint.c (init_breakpoint_sal): Add quotes around part | |
3314 | of command in two error message. | |
3315 | ||
855a6e68 JB |
3316 | 2012-05-15 Joel Brobecker <[email protected]> |
3317 | ||
3318 | * breakpoint.c (init_breakpoint_sal): Remove trailing spaces. | |
3319 | ||
d634f2de JB |
3320 | 2012-05-15 Joel Brobecker <[email protected]> |
3321 | ||
3322 | * breakpoint.c (find_condition_and_thread): Minor reformatting. | |
3323 | ||
9cc815f5 JK |
3324 | 2012-05-15 Jan Kratochvil <[email protected]> |
3325 | ||
3326 | * NEWS (show auto-load scripts-directory): Add forgotten command. | |
3327 | ||
6a609e58 JK |
3328 | 2012-05-15 Jan Kratochvil <[email protected]> |
3329 | ||
3330 | * spu-tdep.c (spu_catch_start): Update create_breakpoint caller | |
3331 | parameters. | |
3332 | ||
ac1438b5 L |
3333 | 2012-05-14 H.J. Lu <[email protected]> |
3334 | ||
3335 | * amd64-tdep.c: Include features/i386/x32.c and | |
3336 | features/i386/x32-avx.c. | |
3337 | (_initialize_amd64_tdep): Call initialize_tdesc_x32 and | |
3338 | initialize_tdesc_x32_avx. | |
3339 | ||
e7e0cddf SS |
3340 | 2012-05-14 Stan Shebs <[email protected]> |
3341 | ||
3342 | Add dynamic printf. | |
3343 | * breakpoint.h (enum bptype): New type bp_dprintf. | |
3344 | (struct breakpoint): New field extra_string. | |
3345 | (struct breakpoint_ops): Add arg to create_breakpoints_sal. | |
3346 | (create_breakpoint): Add extra_string arg. | |
3347 | * breakpoint.c (dprintf_breakpoint_ops): New. | |
3348 | (is_breakpoint): Add bp_dprintf. | |
3349 | (bpstat_what): Add dprintf case. | |
3350 | (bptype_string): Ditto. | |
3351 | (print_one_breakpoint_location): Ditto. | |
3352 | (init_bp_location): Ditto. | |
3353 | (bkpt_print_mention): Ditto. | |
3354 | (dprintf_style_enums): New array. | |
3355 | (dprintf_style): New global. | |
3356 | (dprintf_function): New global. | |
3357 | (dprintf_channel): New global. | |
3358 | (update_dprintf_command_list): New function. | |
3359 | (update_dprintf_commands): New function. | |
3360 | (init_breakpoint_sal): Add extra_string argument, handle it. | |
3361 | (create_breakpoint_sal): Add extra_string argument. | |
3362 | (create_breakpoints_sal): Add extra_string argument, update callers. | |
3363 | (find_condition_and_thread): Add extra argument. | |
3364 | (create_breakpoint): Add extra_string argument, record it. | |
3365 | (dprintf_command): New function. | |
3366 | (break_command_1): Add arg to create_breakpoint call. | |
3367 | (handle_gnu_v3_exceptions): Ditto. | |
3368 | (trace_command): Ditto. | |
3369 | (ftrace_command): Ditto. | |
3370 | (strace_command): Ditto. | |
3371 | (bkpt_print_mention): Add dprintf case. | |
3372 | (create_breakpoint_sal_default): Add extra_string argument. | |
3373 | (_initialize_breakpoint): Add new commands. | |
3374 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Add arg to call. | |
3375 | * python/py-breakpoint.c (bppy_init): Ditto. | |
3376 | * python/py-finishbreakpoint.c (bpfinishpy_init): Ditto. | |
3377 | ||
8ae38c14 MR |
3378 | 2012-05-14 Maciej W. Rozycki <[email protected]> |
3379 | ||
3380 | * mips-tdep.c (mips_push_dummy_code): Correct description typo. | |
3381 | ||
9f676e66 SCR |
3382 | 2012-05-14 Siva Chandra Reddy <[email protected]> |
3383 | ||
3384 | * python/python.c (gdbpy_find_pc_line): Use ULONGEST instead of | |
3385 | unsigned long long. | |
3386 | ||
7efc75aa SCR |
3387 | 2012-05-13 Siva Chandra Reddy <[email protected]> |
3388 | ||
3389 | Add a new function gdb.find_pc_line to the Python API. | |
3390 | * NEWS (Python Scripting): Add entry about the new function. | |
3391 | * python/python.c (gdbpy_find_pc_line): New function which | |
3392 | implements gdb.find_pc_line. | |
3393 | (GdbMethods): Add entry for the new function. | |
3394 | ||
70af3797 PA |
3395 | 2012-05-12 Pedro Alves <[email protected]> |
3396 | ||
3397 | * amd64-linux-tdep.c (_initialize_amd64_linux_tdep): Call | |
3398 | initialize_tdesc_x32_linux and initialize_tdesc_x32_avx_linux. | |
3399 | ||
06da564e EZ |
3400 | 2012-05-12 Eli Zaretskii <[email protected]> |
3401 | ||
3402 | * inferior.c: Include completer.h | |
3403 | (initialize_inferiors): Set completer of add-inferior to | |
3404 | filename_completer. | |
3405 | ||
0288cee2 L |
3406 | 2012-05-11 H.J. Lu <[email protected]> |
3407 | ||
3408 | * amd64-linux-tdep.c (amd64_linux_core_read_description): Check | |
3409 | gdbarch_ptr_bit for x32 core dump. | |
3410 | ||
f6537a2c L |
3411 | 2012-05-11 H.J. Lu <[email protected]> |
3412 | ||
3413 | * amd64-linux-tdep.c: Include features/i386/x32-linux.c | |
3414 | and features/i386/x32-avx-linux.c. | |
3415 | ||
85d4a676 SS |
3416 | 2012-05-11 Stan Shebs <[email protected]> |
3417 | Kwok Cheung Yeung <[email protected]> | |
3418 | ||
3419 | * NEWS: Describe new info os commands. | |
3420 | * common/linux-osdata.c (PID_T, TIME_T): Define. | |
3421 | (MAX_PID_T_STRLEN): New. | |
3422 | (linux_common_core_of_thread): Add comment. Change to use PID_T and | |
3423 | MAX_PID_T_STRLEN. | |
3424 | (command_from_pid): Add comment. Change to use PID_T. | |
3425 | (commandline_from_pid): Change to use PID_T. | |
3426 | (user_from_pid): Add comment. | |
3427 | (get_process_owner): Add comment. Change to use PID_T and | |
3428 | MAX_PID_T_STRLEN. | |
3429 | (get_number_of_cpu_cores): Add comment. | |
3430 | (get_cores_used_by_process): Add comment. Change to use PID_T and | |
3431 | MAX_PID_T_STRLEN. | |
3432 | (linux_xfer_osdata_processes): Change to use PID_T and | |
3433 | MAX_PID_T_STRLEN. | |
3434 | (compare_processes): New function. | |
3435 | (linux_xfer_osdata_processgroups): New function. | |
3436 | (linux_xfer_osdata_threads): Change to use PID_T. | |
3437 | (linux_xfer_osdata_fds): New function. | |
3438 | (format_socket_state, print_sockets): New functions. | |
3439 | (union socket_addr): New union. | |
3440 | (linux_xfer_osdata_isockets): New function. | |
3441 | (time_from_time_t, group_from_gid): New functions. | |
3442 | (linux_xfer_osdata_shm): New function. | |
3443 | (linux_xfer_osdata_sem): New function. | |
3444 | (linux_xfer_osdata_msg): New function. | |
3445 | (linux_xfer_osdata_modules): New function. | |
3446 | (osdata_table): Add new entries. | |
3447 | * common/buffer.c (buffer_xml_printf): Add support for long and | |
3448 | long long format specifiers. | |
3449 | ||
f24afd6d L |
3450 | 2012-05-11 H.J. Lu <[email protected]> |
3451 | ||
3452 | * amd64-linux-tdep.h (tdesc_x32_linux): New. | |
3453 | (tdesc_x32_avx_linux): Likewise. | |
3454 | ||
7349ff92 JK |
3455 | 2012-05-11 Jan Kratochvil <[email protected]> |
3456 | ||
3457 | Implement multi-component --with-auto-load-dir. | |
3458 | * NEWS (set auto-load scripts-directory, --with-auto-load-dir): New | |
3459 | entries. | |
3460 | (--with-auto-load-safe-path): Update the default value description. | |
3461 | * auto-load.c (auto_load_dir, set_auto_load_dir, show_auto_load_dir): | |
3462 | New. | |
3463 | (auto_load_objfile_script): Add DEBUG_AUTO_LOAD output. Remove | |
3464 | GDB_DATADIR NULL check. Replace GDB_DATADIR/auto-load by | |
3465 | AUTO_LOAD_DIR. Support $ddir and multiple components in it. | |
3466 | (_initialize_auto_load): Initialize also auto_load_dir. Install new | |
3467 | "set auto-load scripts-directory". | |
3468 | * config.in: Regenerate. | |
3469 | * configure: Regenerate. | |
3470 | * configure.ac (--with-auto-load-dir): New configure option. | |
3471 | (--auto-load-safe-path): Change the default to --with-auto-load-dir. | |
3472 | ||
6dea1fbd JK |
3473 | 2012-05-11 Jan Kratochvil <[email protected]> |
3474 | ||
3475 | Provide $ddir substitution for --with-auto-load-safe-path. | |
3476 | * NEWS (--with-auto-load-safe-path, --without-auto-load-safe-path): New | |
3477 | entries. | |
3478 | * auto-load.c: Include observer.h. | |
3479 | (auto_load_safe_path_vec_update): Call substitute_path_component for | |
3480 | each component. New variable ddir_subst. | |
3481 | (auto_load_gdb_datadir_changed): New function. | |
3482 | (set_auto_load_safe_path): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to | |
3483 | AUTO_LOAD_SAFE_PATH. New comment. | |
3484 | (_initialize_auto_load): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to | |
3485 | AUTO_LOAD_SAFE_PATH. Install auto_load_gdb_datadir_changed. | |
3486 | * config.in: Regenerate. | |
3487 | * configure: Regenerate. | |
3488 | * configure.ac (--auto-load-safe-path): Rename | |
3489 | DEFAULT_AUTO_LOAD_SAFE_PATH to AUTO_LOAD_SAFE_PATH. Default to | |
3490 | GDB_DATADIR/auto-load. | |
3491 | * defs.h (substitute_path_component): New declaration. | |
3492 | * top.c: Include observer.h. | |
3493 | (set_gdb_datadir): New function. | |
3494 | (init_main): Install it for "set data-directory". | |
3495 | * utils.c (substitute_path_component): New function. | |
3496 | ||
b09aca3a JK |
3497 | 2012-05-11 Jan Kratochvil <[email protected]> |
3498 | ||
3499 | Make auto-load handle multiple components of DEBUG_FILE_DIRECTORY. | |
3500 | * auto-load.c (auto_load_objfile_script): Remove check for NULL | |
3501 | DEBUG_FILE_DIRECTORY. Handle multiple components of | |
3502 | DEBUG_FILE_DIRECTORY. | |
3503 | ||
95554aad TT |
3504 | 2012-05-10 Tom Tromey <[email protected]> |
3505 | ||
3506 | * dwarf2read.c (recursively_write_psymbols): New function. | |
3507 | (write_psymtabs_to_index): Use it. | |
3508 | ||
3509 | * dwarf2read.c (struct dwarf2_queue_item) <pretend_language>: New | |
3510 | field. | |
3511 | (load_cu, dw2_do_instantiate_symtab, process_psymtab_comp_unit) | |
3512 | (load_partial_comp_unit): Update. | |
3513 | (queue_comp_unit): Add argument 'pretend_language'. | |
3514 | (process_queue): Update. | |
3515 | (psymtab_to_symtab_1): Skip dependencies that have a user. | |
3516 | (load_partial_comp_unit_reader): Give meaning to the 'data' | |
3517 | argument. | |
3518 | (load_full_comp_unit): Add 'pretend_language' argument. | |
3519 | (process_full_comp_unit): Add 'pretend_language' argument. Set | |
3520 | language on CU. | |
3521 | (process_imported_unit_die, read_file_scope, read_type_unit_scope): | |
3522 | Update. | |
3523 | (maybe_queue_comp_unit): Add 'pretend_language' argument. | |
3524 | (follow_die_offset, follow_die_sig, read_signatured_type_reader): | |
3525 | Update. | |
3526 | (prepare_one_comp_unit): Add 'pretend_language' argument. | |
3527 | ||
3528 | * dwarf2read.c: (dwarf2_per_cu_ptr): New typedef. | |
3529 | (struct dwarf2_per_objfile) <just_read_cus>: New field. | |
3530 | (struct dwarf2_per_cu_data) <imported_symtabs>: New field. | |
3531 | (dw2_do_instantiate_symtab): Check whether symtab was read in | |
3532 | before queueing. | |
3533 | (dw2_instantiate_symtab): Add assertion. Call | |
3534 | process_cu_includes. | |
3535 | (process_psymtab_comp_unit): Compute 'dependencies' for psymtab. | |
3536 | (partial_symtab_p): New typedef. | |
3537 | (set_partial_user): New function. | |
3538 | (dwarf2_build_psymtabs_hard): Use set_partial_user. | |
3539 | (scan_partial_symbols): Add imported CU to imported_symtabs. | |
3540 | (dwarf2_psymtab_to_symtab): Call process_cu_includes. | |
3541 | (psymtab_to_symtab_1): Do nothing if psymtab is readin. | |
3542 | (get_symtab, recursively_compute_inclusions) | |
3543 | (compute_symtab_includes, process_cu_includes) | |
3544 | (process_imported_unit_die): New functions. | |
3545 | (process_die) <DW_TAG_imported_unit>: New case. | |
3546 | (dwarf2_per_objfile_free): Free 'imported_symtabs'. | |
3547 | ||
3548 | * dwarf2read.c (struct dwarf2_per_cu_data) <psymtab>: Update | |
3549 | comment. | |
3550 | (struct partial_die_info) <locdesc>: Remove. | |
3551 | <d>: New field. | |
3552 | (process_psymtab_comp_unit): Add 'read_partial' argument. | |
3553 | Update. | |
3554 | (process_type_comp_unit, dwarf2_build_psymtabs_hard): Update. | |
3555 | (scan_partial_symbols): Handle DW_TAG_imported_unit. | |
3556 | (add_partial_symbol): Update. | |
3557 | (process_die): Handle DW_TAG_partial_unit. | |
3558 | (read_file_scope): Update comment. | |
3559 | (load_partial_dies): Handle DW_TAG_imported_unit. | |
3560 | (read_partial_die): Handle DW_TAG_partial_unit, DW_AT_import. | |
3561 | (determine_prefix, dwarf2_name): Handle DW_TAG_partial_unit. | |
3562 | ||
e871fbb9 TT |
3563 | 2012-05-10 Tom Tromey <[email protected]> |
3564 | ||
3565 | * cc-with-dwz.sh: New file. | |
3566 | ||
b5b04b5b TT |
3567 | 2012-05-10 Tom Tromey <[email protected]> |
3568 | ||
3569 | * symtab.h (struct symtab) <includes, user>: New fields. | |
3570 | * block.h (struct block_iterator) <d, idx, which>: New fields. | |
3571 | * block.c (initialize_block_iterator, find_iterator_symtab) | |
3572 | (block_iterator_step, block_iter_name_step) | |
3573 | (block_iter_match_step): New functions. | |
3574 | (block_iterator_first, block_iterator_next) | |
3575 | (block_iter_name_first, block_iter_name_next) | |
3576 | (block_iter_match_first, block_iter_match_next): Rewrite. | |
3577 | (get_block_symtab): New function. | |
3578 | ||
84a146c9 TT |
3579 | 2012-05-10 Tom Tromey <[email protected]> |
3580 | ||
3581 | * jv-lang.c (get_java_class_symtab): Use allocate_global_block, | |
3582 | set_block_symtab. | |
3583 | * jit.c (finalize_symtab): Use allocate_global_block, | |
3584 | set_block_symtab. | |
3585 | * buildsym.c (finish_block_internal): New function, from old | |
3586 | finish_block. | |
3587 | (finish_block): Rewrite. | |
3588 | (end_symtab): Use finish_block_internal, set_block_symtab. | |
3589 | * block.h (struct global_block): New. | |
3590 | (allocate_global_block, set_block_symtab): Declare. | |
3591 | * block.c (allocate_global_block, set_block_symtab): New | |
3592 | functions. | |
3593 | ||
9439a077 TT |
3594 | 2012-05-10 Tom Tromey <[email protected]> |
3595 | ||
3596 | * psymtab.c (partial_map_expand_apply): Add assertion. | |
3597 | (partial_map_symtabs_matching_filename): Skip included psymtabs. | |
3598 | (psymtab_to_symtab): Find unshared psymtab. | |
3599 | (dump_psymtab): Print including psymtabs. | |
3600 | (recursively_search_psymtabs): New function. | |
3601 | (expand_symtabs_matching_via_partial): Use it. | |
3602 | * psympriv.h (struct partial_symtab) <user, searched_flag>: New | |
3603 | fields. | |
3604 | (enum psymtab_search_status): New. | |
3605 | ||
8157b174 TT |
3606 | 2012-05-10 Tom Tromey <[email protected]> |
3607 | ||
3608 | * tracepoint.c (scope_info): Update. | |
3609 | * symtab.c (lookup_block_symbol, iterate_over_symbols) | |
3610 | (find_pc_sect_symtab, search_symbols) | |
3611 | (default_make_symbol_completion_list_break_on) | |
3612 | (make_file_symbol_completion_list): Update. | |
3613 | * symmisc.c (dump_symtab_1): Update. | |
3614 | * stack.c (print_frame_args, iterate_over_block_locals) | |
3615 | (print_frame_labels, iterate_over_block_arg_vars): Update. | |
3616 | * python/py-block.c (block_object) <dict>: Remove. | |
3617 | <block>: New field. | |
3618 | <iter>: Change type. | |
3619 | (blpy_iter): Update. | |
3620 | (blpy_block_syms_iternext): Update. | |
3621 | * psymtab.c (map_block): Use block iterators. | |
3622 | * objfiles.c (objfile_relocate1): Use ALL_DICT_SYMBOLS. | |
3623 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
3624 | * mdebugread.c (parse_symbol, mylookup_symbol): Update. | |
3625 | * infrun.c (check_exception_resume): Update. | |
3626 | * cp-support.c (make_symbol_overload_list_block): Update. | |
3627 | * coffread.c (patch_opaque_types): Update. | |
3628 | * buildsym.c (finish_block, end_symtab): Use ALL_DICT_SYMBOLS. | |
3629 | * block.h (struct block_iterator): New. | |
3630 | (block_iterator_first, block_iterator_next, block_iter_name_first) | |
3631 | (block_iter_name_next, block_iter_match_first) | |
3632 | (block_iter_match_next): Declare. | |
3633 | (ALL_BLOCK_SYMBOLS): Redefine. | |
3634 | * block.c (block_iterator_first, block_iterator_next) | |
3635 | (block_iter_name_first, block_iter_name_next) | |
3636 | (block_iter_match_first, block_iter_match_next): New functions. | |
3637 | * ada-lang.c (ada_add_block_symbols) | |
3638 | (ada_make_symbol_completion_list): Use block iterator. | |
3639 | ||
a2ca7a52 TT |
3640 | 2012-05-10 Tom Tromey <[email protected]> |
3641 | ||
3642 | * psymtab.c (PSYMTAB_TO_SYMTAB): Remove. | |
3643 | (find_pc_sect_symtab_from_partial, lookup_symbol_aux_psymtabs) | |
3644 | (lookup_partial_symbol, find_last_source_symtab_from_partial) | |
3645 | (read_psymtabs_with_filename, map_matching_symbols_psymtab) | |
3646 | (expand_symtabs_matching_via_partial, maintenance_check_symtabs): | |
3647 | Update. | |
3648 | ||
64ea88dc JB |
3649 | 2012-05-10 Joel Brobecker <[email protected]> |
3650 | ||
3651 | * config/djgpp/fnchange.lst: Add entries for print-file-var-lib1.c, | |
3652 | print-file-var-lib2.c, print-file-var-main.c and | |
3653 | print-file-var.exp (located in gdb/testsuite/gdb.base). | |
3654 | ||
99a547d6 JB |
3655 | 2012-05-10 Joel Brobecker <[email protected]> |
3656 | ||
3657 | * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols, | |
3658 | try locating the symbol in the symbol's own objfile first, before | |
3659 | extending the search to all objfiles. | |
3660 | * symtab.c (lookup_symbol_aux_objfile): New function, extracted | |
3661 | out of lookup_symbol_aux_symtabs. | |
3662 | (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile". | |
3663 | Replace extracted-out code by call to lookup_symbol_aux_objfile. | |
3664 | Do not search EXCLUDE_OBJFILE. | |
3665 | (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs. | |
3666 | (lookup_symbol_global): Search for matches in the block's objfile | |
3667 | first, before searching all other objfiles. | |
3668 | ||
0ece64fd TG |
3669 | 2012-05-10 Tristan Gingold <[email protected]> |
3670 | ||
3671 | * printcmd.c (set_command): Add pre/post inc/dec. | |
3672 | ||
3d16a105 FCE |
3673 | 2012-05-09 Frank Ch. Eigler <[email protected]> |
3674 | ||
3675 | * gdb.1: Document -ex option. | |
3676 | ||
2efbc0f7 JB |
3677 | 2012-05-09 Joel Brobecker <[email protected]> |
3678 | ||
3679 | * infcall.c (call_function_by_hand): Remove AT_SYMBOL handling. | |
3680 | * inferior.h (AT_SYMBOL): Delete. | |
3681 | ||
2c76a0c7 JB |
3682 | 2012-05-09 Joel Brobecker <[email protected]> |
3683 | ||
3684 | * mips-tdep.c (mips_push_dummy_code): New function. | |
3685 | (mips_gdbarch_init): Set the gdbarch call_dummy_location to | |
3686 | ON_STACK and install mips_push_dummy_code as our gdbarch | |
3687 | push_dummy_code routine. | |
3688 | ||
9401a810 PA |
3689 | 2012-05-09 Pedro Alves <[email protected]> |
3690 | ||
3691 | * target.c (set_maintenance_target_async_permitted): Rename to ... | |
3692 | (set_target_async_command): ... this. | |
3693 | (show_maintenance_target_async_permitted): Rename to ... | |
3694 | (show_target_async_command): ... this. | |
3695 | (initialize_targets): Adjust. | |
3696 | ||
3929b321 DE |
3697 | 2012-05-08 Doug Evans <[email protected]> |
3698 | ||
3699 | * go-exp.y (classify_name): Add missing assignment of fields of | |
3700 | yylval.ssym. | |
3701 | ||
c41535fd EZ |
3702 | 2012-05-08 Eli Zaretskii <[email protected]> |
3703 | ||
3704 | Display the ">" prompt in interactive mode while reading canned | |
3705 | commands, even when the current interpreter is MI. | |
3706 | ||
3707 | * interps.c (interp_set_temp): New function. | |
3708 | ||
3709 | * interps.h (interp_set_temp): Add prototype. | |
3710 | ||
3711 | * cli/cli-script.c (restore_interp): New cleanup function. | |
3712 | (read_command_lines): Temporarily override the current interpreter | |
3713 | with CLI and arrange for restoring the original one. | |
3714 | ||
c0749c4d JS |
3715 | 2012-05-12 Joel Sherrill <[email protected]> |
3716 | ||
3717 | * microblaze-rom.c (_initialize_picobug_rom): Add prototype. | |
3718 | ||
d7333987 SDJ |
3719 | 2012-05-07 Sergio Durigan Junior <[email protected]> |
3720 | ||
3721 | * probe.c (parse_probes): Move conditional to check for | |
3722 | debuginfo files from here... | |
3723 | * stap-probe.c (stap_get_probes): ... to here. | |
3724 | ||
649e6d92 MK |
3725 | 2012-05-07 Mark Kettenis <[email protected]> |
3726 | H.J. Lu <[email protected]> | |
3727 | ||
3728 | * amd64-tdep.c (amd64_analyze_prologue): Additionally check for | |
3729 | `movl %esp, %ebp' for the X32 ABI. | |
3730 | ||
f39c6ffd TT |
3731 | 2012-05-07 Tom Tromey <[email protected]> |
3732 | ||
3733 | * dwarf2read.c (dwarf_tag_name): Return const char *. Use | |
3734 | get_DW_TAG_name. | |
3735 | (dwarf_attr_name): Return const char *. Use get_DW_AT_name. | |
3736 | (dwarf_form_name): Return const char *. Use get_DW_FORM_name. | |
3737 | (dwarf_stack_op_name): Remove. | |
3738 | (dwarf_cfi_name): Return const char *. Use get_DW_ATE_name. | |
3739 | (decode_locdesc): Use get_DW_OP_name. | |
3740 | * dwarf2loc.c (unimplemented): Use get_DW_OP_name. | |
3741 | (dwarf2_compile_expr_to_ax): Likewise. | |
3742 | (disassemble_dwarf_expression): Likewise. | |
3743 | * dwarf2expr.h: (dwarf_stack_op_name): Remove. | |
3744 | ||
1e1f6591 CLT |
3745 | 2012-05-07 Chung-Lin Tang <[email protected]> |
3746 | ||
3747 | * sh-linux-tdep.c: Include trad-frame.h and tramp-frame.h. | |
3748 | (sh_linux_sigtramp_cache): New function. | |
3749 | (sh_linux_sigreturn_init): New function. | |
3750 | (sh_linux_rt_sigreturn_init): New function. | |
3751 | (SH_MOVW,SH_TRAP,SH_OR_R0_R0): New symbols for instruction | |
3752 | patterns. | |
3753 | (SH_NR_SIGRETURN,SH_NR_RT_SIGRETURN): New symbols for sigreturn | |
3754 | syscall codes. | |
3755 | (sh_linux_sigreturn_tramp_frame): New tramp_frame definition. | |
3756 | (sh_linux_rt_sigreturn_tramp_frame): Likewise. | |
3757 | (sh_linux_init_abi): Add init calls to register new tramp_frame | |
3758 | definitions under 32-bit SH, update comments. | |
3759 | ||
545c08b4 PA |
3760 | 2012-05-07 Pedro Alves <[email protected]> |
3761 | ||
daac165e PA |
3762 | PR gdb/10952 |
3763 | ||
545c08b4 PA |
3764 | * amd64-linux-tdep.c: Include glibc-tdep.h. |
3765 | (amd64_linux_init_abi): Install glibc_skip_solib_resolver as | |
3766 | gdbarch_skip_solib_resolver callback. | |
3767 | ||
af2c1515 JK |
3768 | 2012-05-06 Jan Kratochvil <[email protected]> |
3769 | ||
3770 | * auto-load.c (set_auto_load_safe_path): Reset AUTO_LOAD_SAFE_PATH | |
3771 | back to DEFAULT_AUTO_LOAD_SAFE_PATH if it is being set to "". | |
3772 | (show_auto_load_safe_path): Check any-directory by comparison with "/". | |
3773 | (add_auto_load_safe_path): Change the error message. | |
3774 | (_initialize_auto_load): Change the "safe-path" help text. | |
3775 | * configure: Regenerate | |
3776 | * configure.ac (--without-auto-load-safe-path): Set | |
3777 | WITH_AUTO_LOAD_SAFE_PATH to /. | |
3778 | ||
1067f998 SDJ |
3779 | 2012-05-05 Sergio Durigan Junior <[email protected]> |
3780 | ||
3781 | * stap-probe.h: Do not include unecessary `probe.h'. | |
3782 | ||
45dfa85a AM |
3783 | 2012-05-05 Alan Modra <[email protected]> |
3784 | ||
3785 | * elfread.c (elf_symtab_read): Use bfd_abs_section_ptr and | |
3786 | bfd_und_section_ptr. | |
3787 | * machoread.c (macho_symtab_add_minsym): Use bfd_abs_section_ptr | |
3788 | and bfd_com_section_ptr. | |
3789 | ||
cf093994 JB |
3790 | 2012-05-04 Joel Brobecker <[email protected]> |
3791 | ||
762ebb75 | 3792 | * MAINTAINERS (Past Maintainers): Add Chris Faylor. |
cf093994 | 3793 | |
d40dc7a8 JB |
3794 | 2012-05-04 Joel Brobecker <[email protected]> |
3795 | ||
3796 | * windows-nat.h (segment_register_p_ftype): New typedef. | |
3797 | (windows_set_segment_register_p): Add declaration. | |
3798 | * windows-nat.c (segment_register_p): New static global. | |
3799 | (windows_set_segment_register_p): New function. | |
3800 | (do_windows_fetch_inferior_registers): Add special handling | |
3801 | for segment registers. | |
3802 | * amd64-windows-nat.c: #include "amd64-tdep.h". | |
3803 | (amd64_windows_segment_register_p): New function. | |
3804 | (_initialize_amd64_windows_nat): Call windows_set_segment_register_p. | |
3805 | * i386-windows-nat.c: #include "i386-tdep.h". | |
3806 | (i386_windows_segment_register_p): New function. | |
3807 | (_initialize_i386_windows_nat): Call windows_set_segment_register_p. | |
3808 | ||
52b3699b TG |
3809 | 2012-05-04 Tristan Gingold <[email protected]> |
3810 | ||
3811 | * printcmd.c (set_command): Emit a warning if the expression is not | |
3812 | an assignment. | |
3813 | ||
94c74239 JB |
3814 | 2012-05-03 Joel Brobecker <[email protected]> |
3815 | ||
3816 | * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str): | |
3817 | Make static. | |
3818 | ||
fcf57f19 SDJ |
3819 | 2012-05-03 Sergio Durigan Junior <[email protected]> |
3820 | ||
3821 | * stap-probe.c (stap_is_operator): Change declaration. | |
3822 | (stap_get_opcode): Change return value. | |
3823 | (stap_parse_argument_1): Update calls to `stap_get_opcode' and | |
3824 | `stap_parse_argument_1'. | |
3825 | ||
27d2932e PA |
3826 | 2012-05-03 Pedro Alves <[email protected]> |
3827 | ||
3828 | * infrun.c (displaced_step_fixup): Add "displaced:" prefix to | |
3829 | debug log. | |
3830 | ||
a20ee7a4 SCR |
3831 | 2012-05-03 Siva Chandra Reddy <[email protected]> |
3832 | ||
3833 | Add two new methods global_block and static_block to gdb.Symtab | |
3834 | objects. | |
3835 | * NEWS (Python scripting): Add entry about the new methods. | |
3836 | * python/py-symtab.c (stpy_global_block): New function which | |
3837 | implements the gdb.Symtab.global_block() method. | |
3838 | (stpy_static_block): New function which implements the | |
3839 | gdb.Symtab.static_block() method. | |
3840 | (symtab_object_methods): Add entries for the two new methods. | |
3841 | ||
943cb756 DE |
3842 | 2012-05-03 Doug Evans <[email protected]> |
3843 | ||
3844 | * dwarf2read.c (dw2_find_symbol_file): Don't crash if there are no | |
3845 | files. | |
3846 | ||
f4644a3f YQ |
3847 | 2012-05-03 Yao Qi <[email protected]> |
3848 | ||
3849 | * i386-tdep.c (i386_fetch_pointer_argument): Remove extra | |
3850 | space. | |
3851 | (i386_process_record): Ditto. | |
3852 | ||
ef61f180 JB |
3853 | 2012-05-02 Joel Brobecker <[email protected]> |
3854 | ||
3855 | * infcall.c (unwind_on_signal_p): Make static. | |
3856 | ||
02f1df11 JB |
3857 | 2012-05-02 Joel Brobecker <[email protected]> |
3858 | ||
3859 | * sol-thread.c (solaris_pid_to_str): Make static. | |
3860 | (_initialize_sol_thread): Add prototype. | |
3861 | ||
39023530 JB |
3862 | 2012-05-02 Joel Brobecker <[email protected]> |
3863 | ||
3864 | * sol-thread.c (procfs_pid_to_str): Delete extern declaration. | |
3865 | ||
c6b0c501 CF |
3866 | 2012-05-02 Christopher Faylor <[email protected]> |
3867 | ||
3868 | * MAINTAINERS: Remove myself. | |
3869 | ||
1ef71717 JK |
3870 | 2012-05-02 Jan Kratochvil <[email protected]> |
3871 | ||
3872 | Fix --without-auto-load-safe-path for MS-Windows host platform. | |
3873 | * auto-load.c (filename_is_in_dir): Return 1 for DIR_LEN 0. | |
3874 | ||
b31b86a7 EZ |
3875 | 2012-05-02 Eli Zaretskii <[email protected]> |
3876 | ||
3877 | * gdb_curses.h: Undefine KEY_EVENT before including curses | |
3878 | headers. Move "#undef MOUSE_MOVED" before any curses header | |
3879 | inclusion. | |
3880 | ||
777532fc SDJ |
3881 | 2012-05-02 Sergio Durigan Junior <[email protected]> |
3882 | ||
3883 | * features/i386/i386-mmx-linux.c: Regenerate. | |
3884 | * features/rs6000/powerpc-32.c: Likewise. | |
3885 | * features/rs6000/powerpc-32l.c: Likewise. | |
3886 | * features/rs6000/powerpc-403.c: Likewise. | |
3887 | * features/rs6000/powerpc-403gc.c: Likewise. | |
3888 | * features/rs6000/powerpc-405.c: Likewise. | |
3889 | * features/rs6000/powerpc-505.c: Likewise. | |
3890 | * features/rs6000/powerpc-601.c: Likewise. | |
3891 | * features/rs6000/powerpc-602.c: Likewise. | |
3892 | * features/rs6000/powerpc-603.c: Likewise. | |
3893 | * features/rs6000/powerpc-604.c: Likewise. | |
3894 | * features/rs6000/powerpc-64.c: Likewise. | |
3895 | * features/rs6000/powerpc-64l.c: Likewise. | |
3896 | * features/rs6000/powerpc-750.c: Likewise. | |
3897 | * features/rs6000/powerpc-860.c: Likewise. | |
3898 | * features/rs6000/powerpc-e500.c: Likewise. | |
3899 | * features/rs6000/powerpc-e500l.c: Likewise. | |
3900 | * features/rs6000/powerpc-isa205-32l.c: Likewise. | |
3901 | * features/rs6000/powerpc-isa205-64l.c: Likewise. | |
3902 | * features/rs6000/rs6000.c: Likewise. | |
3903 | ||
d71871bc SDJ |
3904 | 2012-05-02 Sergio Durigan Junior <[email protected]> |
3905 | ||
3906 | * i386-tdep.c (i386_stap_parse_special_token) <s>: Remove unused | |
3907 | variable. | |
3908 | * stap-probe.c (stap_parse_single_operand) <reg_suffix, | |
3909 | reg_ind_suffix, reg_suffix_len, reg_ind_suffix_len>: Likewise. | |
3910 | (stap_parse_argument) <e>: Likewise. | |
3911 | (handle_stap_probe) <byte_order>: Likewise. | |
3912 | ||
fd820528 DE |
3913 | 2012-04-30 Doug Evans <[email protected]> |
3914 | ||
3915 | * dwarf2read.c (init_cutu_and_read_dies): Renamed from | |
3916 | init_and_read_dies_worker. All callers updated. | |
3917 | (init_cu_and_read_dies, init_tu_and_read_dies): Delete. All calls | |
3918 | replaced with init_cutu_and_read_dies. | |
3919 | (load_partial_comp_unit): Pass 1 for use_existing_cu. | |
3920 | (find_partial_die): Remove FIXME. Don't free current CU. | |
3921 | ||
ec3f619d | 3922 | 2012-04-30 Sterling Augustine <[email protected]> |
be36f02d SA |
3923 | |
3924 | * contrib: New directory. | |
3925 | * contrib/test_pubnames_and_indexes.py: New file. | |
3926 | ||
fceca515 DE |
3927 | 2012-04-30 Doug Evans <[email protected]> |
3928 | ||
3929 | * dwarf2read.c (dwarf_decode_macros): New arg section_name. | |
3930 | All callers updated. | |
3931 | (init_cu_die_reader): Verify the section is non-empty. | |
3932 | (dwarf_decode_line_header): Don't dereference section->asection | |
3933 | until we know the section is present. | |
3934 | ||
311fe7e1 SDJ |
3935 | 2012-04-29 Sergio Durigan Junior <[email protected]> |
3936 | ||
3937 | * tracepoint.c (start_tracing, stop_tracing): Checking for NULL | |
3938 | probes. | |
3939 | ||
5977971a YQ |
3940 | 2012-04-29 Yao Qi <[email protected]> |
3941 | ||
3942 | * gdb-code-style.el: New hook gdb-markup-hook | |
3943 | and gdb-comment-hook. | |
3944 | ||
dee91e82 DE |
3945 | 2012-04-28 Doug Evans <[email protected]> |
3946 | ||
3019eac3 DE |
3947 | Initial support for Fission. http://gcc.gnu.org/wiki/DebugFission |
3948 | * symfile.c (default_symfile_relocate): Use sectp->owner instead of | |
3949 | objfile->obfd. | |
3950 | * symfile.h (dwarf2_debug_sections): New member addr. | |
3951 | * dwarf2expr.c (execute_stack_op): New case DW_OP_GNU_addr_index. | |
3952 | (ctx_no_get_addr_index): New function. | |
3953 | * dwarf2expr.h (dwarf_expr_context_funcs): New member get_addr_index. | |
3954 | (ctx_no_get_addr_index): Declare. | |
3955 | * dwarf2-frame.c (dwarf2_frame_ctx_funcs): Update. | |
3956 | * dwarf2loc.c (dwarf_expr_get_addr_index): New function. | |
3957 | (dwarf_expr_ctx_funcs): Update. | |
3958 | (needs_get_addr_index): New function. | |
3959 | (needs_frame_ctx_funcs): Update. | |
3960 | * dwarf2loc.h (dwarf2_read_addr_index): Declare. | |
3961 | * dwarf2read.c: #include "gdbcore.h". | |
3962 | (dwarf2_per_objfile): New members addr, dwo_files. | |
3963 | (dwarf2_elf_names): Add entry for addr. | |
3964 | (struct dwo_section_names): New type. | |
3965 | (dwo_section_names): New static global. | |
3966 | (dwarf2_cu): New members dwo_unit, addr_base, have_addr_base. | |
3967 | (dwarf2_per_cu_data): New member is_debug_types, all boolean uses of | |
3968 | old debug_types_section member updated to use this. | |
3969 | Rename member debug_types_section to info_or_types_section, | |
3970 | all uses updated. | |
3971 | (signatured_type): Rename member type_offset to type_offset_in_tu, | |
3972 | all uses updated. New member type_offset_in_section. | |
3973 | (struct dwo_sections): New type. | |
3974 | (struct dwo_unit): New type. | |
3975 | (struct dwo_file): New type. | |
3976 | (die_reader_specs): New member dwo_file. | |
3977 | (dwarf2_locate_sections): Watch for .debug_addr. | |
3978 | (zlib_decompress_section): Use sectp->owner instead of objfile->obfd. | |
3979 | (dwarf2_read_section): Get bfd of section from bfd's asection, | |
3980 | instead of objfile. | |
3981 | (create_cus_from_index): Initialize the_cu->info_or_types_section. | |
3982 | (create_signatured_type_table_from_index): Initialize | |
3983 | sig_type->info_or_types_section. | |
3984 | (dw2_get_file_names): Statement lists for type units with DWO files | |
3985 | live in the DWO file. | |
3986 | (create_debug_types_hash_table): New function. | |
3987 | (create_all_type_units): Rewrite. | |
3988 | (init_cu_die_reader): New arg dwo_file, all callers updated. | |
3989 | (init_and_read_dies_worker): Get section from | |
3990 | this_cu->info_or_types_section. Set sig_type->type_offset_in_section. | |
3991 | Watch for DW_AT_GNU_dwo_name and if present lookup the file and | |
3992 | continue reading the CU/TU from there. | |
3993 | (init_cutu_and_read_dies_no_follow): New arg dwo_file, all callers | |
3994 | updated. Get section from this_cu->info_or_types_section. | |
3995 | (create_all_comp_units): Initialize this_cu->info_or_types_section. | |
3996 | (skip_one_die): New cases DW_FORM_GNU_addr_index, | |
3997 | DW_FORM_GNU_str_index. | |
3998 | (hash_dwo_file, eq_dwo_file): New functions. | |
3999 | (allocate_dwo_file_hash_table): New function. | |
4000 | (hash_dwo_unit, eq_dwo_unit): New functions. | |
4001 | (allocate_dwo_unit_table): New function. | |
4002 | (dwarf2_locate_dwo_sections): New function. | |
4003 | (struct create_dwo_info_table_data): New type. | |
4004 | (create_debug_info_hash_table_reader): New function. | |
4005 | (create_debug_info_hash_table): New function. | |
4006 | (try_open_dwo_file, open_dwo_file, init_dwo_file): New function. | |
4007 | (lookup_dwo_file): New function. | |
4008 | (lookup_dwo_comp_unit, lookup_dwo_type_unit): New functions. | |
4009 | (free_dwo_file, free_dwo_file_cleanup): New functions. | |
4010 | (free_dwo_file_from_slot, free_dwo_files): New functions. | |
4011 | (dwarf2_get_pc_bounds): Handle DW_FORM_GNU_addr_index. | |
4012 | (dwarf2_record_block_ranges): Ditto. | |
4013 | (read_partial_die): Ditto. | |
4014 | (process_enumeration_scope): Update to use type_offset_in_section. | |
4015 | (read_full_die_1): New function. | |
4016 | (read_full_die): Rewrite. | |
4017 | (read_attribute_value): New cases DW_FORM_GNU_addr_index, | |
4018 | DW_FORM_GNU_str_index. | |
4019 | (read_addr_index_1, read_addr_index): New functions. | |
4020 | (read_addr_index_from_leb128): New function. | |
4021 | (struct dwarf2_read_addr_index_data): New type. | |
4022 | (dwarf2_read_addr_index_reader): New function. | |
4023 | (dwarf2_read_addr_index): New function. | |
4024 | (read_str_index): New function. | |
4025 | (leb128_size): New function. | |
4026 | (dwarf_decode_line_header): Delete arg abfd, all callers updated. | |
4027 | If processing a type unit from a DWO file, get the line section | |
4028 | from the DWO file. | |
4029 | (var_decode_location): Watch for DW_OP_GNU_addr_index. | |
4030 | (dwarf2_const_value_attr): New cases DW_FORM_GNU_addr_index, | |
4031 | DW_FORM_GNU_str_index. | |
4032 | (lookup_die_type): Check whether section offset of type's die is | |
4033 | known before looking it up. Remove assert. Condition can | |
4034 | legimately happen for inter-cu type references. | |
4035 | (dwarf_attr_name): Handle Fission attributes. | |
4036 | (dwarf_form_name): Handle Fission forms. | |
4037 | (dump_die_shallow): New cases DW_FORM_GNU_addr_index, | |
4038 | DW_FORM_GNU_str_index. | |
4039 | (follow_die_sig): Update to use type_offset_in_section. | |
4040 | (decode_locdesc): New case DW_OP_GNU_addr_index. | |
4041 | (skip_form_bytes): New cases DW_FORM_GNU_addr_index, | |
4042 | DW_FORM_GNU_str_index. | |
4043 | (cu_debug_loc_section): New function. | |
4044 | (fill_in_loclist_baton, dwarf2_symbol_mark_computed): Call it. | |
4045 | (dwarf2_per_objfile_free): Unmap .debug_addr section. | |
4046 | Free DWO files if present. | |
4047 | * xcoffread.c (dwarf2_xcoff_names): Add .debug_addr. | |
4048 | ||
dee91e82 DE |
4049 | Refactor DIE reading. |
4050 | * dwarf2read.c (dwarf2_per_objfile): Replace members | |
4051 | debug_info_type_hash and debug_types_type_hash with die_type_hash. | |
4052 | (die_reader_specs): New member "die_section". Temporarily make | |
4053 | member "buffer" non-const, pending constifying all info_ptr uses. | |
4054 | (die_reader_func_ftype): New typedef. | |
4055 | (dw2_get_file_names_reader): New function. | |
4056 | (dw2_get_file_names): Rewrite. | |
4057 | (read_and_check_type_unit_head): Rename arg type_offset to | |
4058 | type_offset_in_tu. | |
4059 | (create_all_type_units): Improve debugging message. | |
4060 | Improve dummy type unit check. | |
4061 | (init_cu_die_reader): New arg "section". All callers updated. | |
4062 | (init_and_read_dies_worker): New function. | |
4063 | (init_cu_and_read_dies, init_tu_and_read_dies): New functions. | |
4064 | (init_cutu_and_read_dies_no_follow): New function. | |
4065 | (init_cutu_and_read_dies_simple): New function. | |
4066 | (process_psymtab_comp_unit_reader): New function. | |
4067 | (process_psymtab_comp_unit): Delete args section, | |
4068 | is_debug_types_section. Rewrite. All callers updated. | |
4069 | (process_psymtab_type_unit): Renamed from process_type_comp_unit. | |
4070 | All callers updated. Rewrite. | |
4071 | (load_partial_comp_unit_reader): New function. | |
4072 | (load_partial_comp_unit): Rewrite. | |
4073 | (skip_children): New arg reader. Delete args buffer, cu. | |
4074 | All callers updated. | |
4075 | (skip_one_die): New arg reader. Delete args buffer, cu. | |
4076 | All callers updated. | |
4077 | (locate_pdi_sibling): New arg reader. Delete args buffer, abfd, cu. | |
4078 | All callers updated. | |
4079 | (load_full_comp_unit_reader): New function. | |
4080 | (load_full_comp_unit): Rewrite. | |
4081 | (read_comp_unit): Delete. | |
4082 | (read_die_and_children_1): Delete, contents moved ... | |
4083 | (read_die_and_children): ... here. | |
4084 | (dwarf2_read_abbrevs): New arg abbrev_section. All callers updated. | |
4085 | (load_partial_dies): New arg reader. Delete args abfd, buffer, cu. | |
4086 | All callers updated. | |
4087 | (read_partial_die): New arg reader. Delete args abfd, buffer, cu. | |
4088 | All callers updated. | |
4089 | (find_partial_die): Rewrite load_all_dies support. | |
4090 | (read_attribute_value): New arg reader. Delete args abfd, cu. | |
4091 | All callers updated. | |
4092 | (read_attribute): New arg reader. Delete args abfd, cu. | |
4093 | All callers updated. | |
4094 | (load_full_type_unit): Add assert. | |
4095 | (read_signatured_type_reader): New function. | |
4096 | (read_signatured_type): Rewrite. | |
4097 | (free_stack_comp_unit): Remove call to age_cached_comp_units. | |
4098 | (free_one_cached_comp_unit): Change target_cu arg to target_per_cu. | |
4099 | All callers updated. Set per_cu->cu = NULL after freeing it. | |
4100 | (dwarf2_per_cu_offset_and_type): Renamed from dwarf2_offset_and_type. | |
4101 | (per_cu_offset_and_type_hash): Renamed from offset_and_type_hash. | |
4102 | (per_cu_offset_and_type_eq): Renamed from offset_and_type_eq. | |
4103 | (set_die_type): Update. | |
4104 | (get_die_type_at_offset): Update. | |
4105 | (read_file_scope): Call prepare_one_comp_unit. | |
4106 | (read_type_unit_scope): Ditto. | |
4107 | (prepare_one_comp_unit): Set producer if present. | |
4108 | ||
72d59e0d SDJ |
4109 | 2012-04-28 Sergio Durigan Junior <[email protected]> |
4110 | ||
4111 | * probe.c (compile_rx_or_error): Silence ARI warning about missing | |
4112 | gettext function on `error'. | |
4113 | ||
0fefef59 DE |
4114 | 2012-04-27 Doug Evans <[email protected]> |
4115 | ||
4116 | * dwarf2read.c (dwarf2_read_index): Don't use index if symbol table | |
4117 | is empty. | |
4118 | ||
28106bc2 SDJ |
4119 | 2012-04-27 Sergio Durigan Junior <[email protected]> |
4120 | Tom Tromey <[email protected]> | |
4121 | ||
4122 | * breakpoint.c (struct breakpoint_objfile_data) | |
4123 | <longjmp_searched>,<longjmp_probes>,<exception_searched>, | |
4124 | <exception_probes>: New fields. | |
4125 | (free_breakpoint_probes): New function. | |
4126 | (create_longjmp_master_breakpoint): Prefer SystemTap probe over | |
4127 | `_Unwind_DebugHook'. | |
4128 | (create_exception_master_breakpoint): Likewise. | |
4129 | (_initialize_breakpoint): Registering cleanup for SystemTap probes. | |
4130 | * infrun.c: Including necessary header files for handling SystemTap | |
4131 | probes. | |
4132 | (handle_inferior_event): Handling longjmp breakpoint and exceptions | |
4133 | via SystemTap probes. | |
4134 | (check_exception_resume): Remove `func' argument. Handle exception | |
4135 | unwinding breakpoint set via a SystemTap probe. | |
4136 | (insert_exception_resume_from_probe): New function. | |
4137 | ||
55aa24fb SDJ |
4138 | 2012-04-27 Sergio Durigan Junior <[email protected]> |
4139 | Tom Tromey <[email protected]> | |
4140 | Jan Kratochvil <[email protected]> | |
4141 | ||
4142 | * Makefile.in (SFILES): Add `probe' and `stap-probe'. | |
4143 | (COMMON_OBS): Likewise. | |
4144 | (HFILES_NO_SRCDIR): Add `probe'. | |
4145 | * NEWS: Mention support for static and SystemTap probes. | |
4146 | * amd64-tdep.c (amd64_init_abi): Initializing proper fields used by | |
4147 | SystemTap probes' arguments parser. | |
4148 | * arm-linux-tdep.c: Including headers needed to perform the parsing | |
4149 | of SystemTap probes' arguments. | |
4150 | (arm_stap_is_single_operand): New function. | |
4151 | (arm_stap_parse_special_token): Likewise. | |
4152 | (arm_linux_init_abi): Initializing proper fields used by SystemTap | |
4153 | probes' arguments parser. | |
4154 | * ax-gdb.c (require_rvalue): Removing static declaration. | |
4155 | (gen_expr): Likewise. | |
4156 | * ax-gdb.h (gen_expr): Declaring function. | |
4157 | (require_rvalue): Likewise. | |
4158 | * breakpoint.c: Include `gdb_regex.h' and `probe.h'. | |
4159 | (bkpt_probe_breakpoint_ops): New variable. | |
4160 | (momentary_breakpoint_from_master): Set the `probe' value. | |
4161 | (add_location_to_breakpoint): Likewise. | |
4162 | (break_command_1): Using proper breakpoint_ops according to the | |
4163 | argument passed by the user in the command line. | |
4164 | (bkpt_probe_insert_location): New function. | |
4165 | (bkpt_probe_remove_location): Likewise. | |
4166 | (bkpt_probe_create_sals_from_address): Likewise. | |
4167 | (bkpt_probe_decode_linespec): Likewise. | |
4168 | (tracepoint_probe_create_sals_from_address): Likewise. | |
4169 | (tracepoint_probe_decode_linespec): Likewise. | |
4170 | (tracepoint_probe_breakpoint_ops): New variable. | |
4171 | (trace_command): Using proper breakpoint_ops according to the | |
4172 | argument passed by the user in the command line. | |
4173 | (initialize_breakpoint_ops): Initializing breakpoint_ops for | |
4174 | static probes on breakpoints and tracepoints. | |
4175 | * breakpoint.h (struct bp_location) <probe>: New field. | |
4176 | * cli-utils.c (skip_spaces_const): New function. | |
4177 | (extract_arg): Likewise. | |
4178 | * cli-utils.h (skip_spaces_const): Likewise. | |
4179 | (extract_arg): Likewise. | |
4180 | * coffread.c (coff_sym_fns): Add `sym_probe_fns' value. | |
4181 | * configure.ac: Append `stap-probe.o' to be generated when ELF | |
4182 | support is present. | |
4183 | * configure: Regenerate. | |
4184 | * dbxread.c (aout_sym_fns): Add `sym_probe_fns' value. | |
4185 | * elfread.c: Include `probe.h' and `arch-utils.h'. | |
4186 | (probe_key): New variable. | |
4187 | (elf_get_probes): New function. | |
4188 | (elf_get_probe_argument_count): Likewise. | |
4189 | (elf_evaluate_probe_argument): Likewise. | |
4190 | (elf_compile_to_ax): Likewise. | |
4191 | (elf_symfile_relocate_probe): Likewise. | |
4192 | (stap_probe_key_free): Likewise. | |
4193 | (elf_probe_fns): New variable. | |
4194 | (elf_sym_fns): Add `sym_probe_fns' value. | |
4195 | (elf_sym_fns_lazy_psyms): Likewise. | |
4196 | (elf_sym_fns_gdb_index): Likewise. | |
4197 | (_initialize_elfread): Initialize objfile cache for static | |
4198 | probes. | |
4199 | * gdb_vecs.h (struct probe): New forward declaration. | |
4200 | (probe_p): New VEC declaration. | |
4201 | * gdbarch.c: Regenerate. | |
4202 | * gdbarch.h: Regenerate. | |
4203 | * gdbarch.sh (stap_integer_prefix): New variable. | |
4204 | (stap_integer_suffix): Likewise. | |
4205 | (stap_register_prefix): Likewise. | |
4206 | (stap_register_suffix): Likewise. | |
4207 | (stap_register_indirection_prefix): Likewise. | |
4208 | (stap_register_indirection_suffix): Likewise. | |
4209 | (stap_gdb_register_prefix): Likewise. | |
4210 | (stap_gdb_register_suffix): Likewise. | |
4211 | (stap_is_single_operand): New function. | |
4212 | (stap_parse_special_token): Likewise. | |
4213 | (struct stap_parse_info): Forward declaration. | |
4214 | * i386-tdep.c: Including headers needed to perform the parsing | |
4215 | of SystemTap probes' arguments. | |
4216 | (i386_stap_is_single_operand): New function. | |
4217 | (i386_stap_parse_special_token): Likewise. | |
4218 | (i386_elf_init_abi): Initializing proper fields used by SystemTap | |
4219 | probes' arguments parser. | |
4220 | * i386-tdep.h (i386_stap_is_single_operand): New function. | |
4221 | (i386_stap_parse_special_token): Likewise. | |
4222 | * machoread.c (macho_sym_fns): Add `sym_probe_fns' value. | |
4223 | * mipsread.c (ecoff_sym_fns): Likewise. | |
4224 | * objfiles.c (objfile_relocate1): Support relocation for static | |
4225 | probes. | |
4226 | * parse.c (prefixify_expression): Remove static declaration. | |
4227 | (initialize_expout): Likewise. | |
4228 | (reallocate_expout): Likewise. | |
4229 | * parser-defs.h (initialize_expout): Declare function. | |
4230 | (reallocate_expout): Likewise. | |
4231 | (prefixify_expression): Likewise. | |
4232 | * ppc-linux-tdep.c: Including headers needed to perform the parsing | |
4233 | of SystemTap probes' arguments. | |
4234 | (ppc_stap_is_single_operand): New function. | |
4235 | (ppc_stap_parse_special_token): Likewise. | |
4236 | (ppc_linux_init_abi): Initializing proper fields used by SystemTap | |
4237 | probes' arguments parser. | |
4238 | * probe.c: New file, for generic statically defined probe support. | |
4239 | * probe.h: Likewise. | |
4240 | * s390-tdep.c: Including headers needed to perform the parsing of | |
4241 | SystemTap probes' arguments. | |
4242 | (s390_stap_is_single_operand): New function. | |
4243 | (s390_gdbarch_init): Initializing proper fields used by SystemTap | |
4244 | probes' arguments parser. | |
4245 | * somread.c (som_sym_fns): Add `sym_probe_fns' value. | |
4246 | * stap-probe.c: New file, for SystemTap probe support. | |
4247 | * stap-probe.h: Likewise. | |
4248 | * symfile.h: Include `gdb_vecs.h'. | |
4249 | (struct sym_probe_fns): New struct. | |
4250 | (struct sym_fns) <sym_probe_fns>: New field. | |
4251 | * symtab.c (init_sal): Initialize `probe' field. | |
4252 | * symtab.h (struct probe): Forward declaration. | |
4253 | (struct symtab_and_line) <probe>: New field. | |
4254 | * tracepoint.c (start_tracing): Adjust semaphore on breakpoints | |
4255 | locations. | |
4256 | (stop_tracing): Likewise. | |
4257 | * xcoffread.c (xcoff_sym_fns): Add `sym_probe_fns' value. | |
4258 | ||
22d2b532 SDJ |
4259 | 2012-04-27 Sergio Durigan Junior <[email protected]> |
4260 | Tom Tromey <[email protected]> | |
4261 | ||
4262 | * ax-gdb.c (gen_expr): Clean up code to handle internal variables | |
4263 | and to compile agent expressions. | |
4264 | * infrun.c (siginfo_make_value): New argument `ignore'. | |
4265 | (siginfo_funcs): New struct. | |
4266 | (_initialize_infrun): New argument when calling | |
4267 | `create_internalvar_type_lazy'. | |
4268 | * thread.c (thread_id_make_value): New argument `ignore'. | |
4269 | (thread_funcs): New struct. | |
4270 | (_initialize_thread): New argument when calling | |
4271 | `create_internalvar_type_lazy'. | |
4272 | * tracepoint.c (sdata_make_value): New argument `ignore'. | |
4273 | (sdata_funcs): New struct. | |
4274 | (_initialize_tracepoint): New argument when calling | |
4275 | `create_internalvar_type_lazy'. | |
4276 | * value.c (make_value): New struct. | |
4277 | (create_internalvar_type_lazy): New argument `data'. | |
4278 | (compile_internalvar_to_ax): New function. | |
4279 | (value_of_internalvar): Properly handling `make_value' case. | |
4280 | (clear_internalvar): Likewise. | |
4281 | (show_convenience): Adding `TRY_CATCH' block. | |
4282 | * value.h (internalvar_make_value): Delete, replace by... | |
4283 | (struct internalvar_funcs): ... this. | |
4284 | (create_internalvar_type_lazy) <fun>: Delete argument. | |
4285 | (create_internalvar_type_lazy) <funcs>, <data>: New arguments. | |
4286 | (compile_internalvar_to_ax): New function. | |
4287 | * windows-tdep.c (tlb_make_value): New argument `ignore'. | |
4288 | (tlb_funcs): New struct. | |
4289 | (_initialize_windows_tdep): New argument when calling | |
4290 | `create_internalvar_type_lazy'. | |
4291 | ||
91da1414 MW |
4292 | 2012-04-27 Mark Wielaard <[email protected]> |
4293 | ||
4294 | * dwarf2read.c (dwarf2_get_pc_bounds): Check DW_AT_high_pc form to | |
4295 | see whether it is an address or a constant offset from DW_AT_low_pc. | |
4296 | (dwarf2_record_block_ranges): Likewise. | |
4297 | (read_partial_die): Likewise. | |
4298 | ||
4ab9d8ec MW |
4299 | 2012-04-26 Mark Wielaard <[email protected]> |
4300 | ||
4301 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
4302 | ||
a0911fd0 MR |
4303 | 2012-04-26 Maciej W. Rozycki <[email protected]> |
4304 | ||
4305 | * proc-utils.h (proc_prettyprint_signalset): New prototype. | |
4306 | (proc_prettyprint_signal): Likewise. | |
4307 | (proc_prettyprint_faultset): Likewise. | |
4308 | (proc_prettyprint_fault): Likewise. | |
4309 | (proc_prettyprint_actionset): Likewise. | |
4310 | (proc_prettyprint_flags): Move to new proc-flags.c section. | |
4311 | (proc_prettyfprint_flags): New prototype. | |
4312 | * procfs.c (proc_nsysarg, proc_sysargs): Add prototypes. | |
4313 | (proc_syscall, proc_cursig): Likewise. | |
4314 | (proc_set_kill_on_last_close): Likewise. | |
4315 | (proc_unset_kill_on_last_close): Likewise. | |
4316 | (proc_set_watchpoint): Make static. | |
4317 | (proc_delete_dead_threads): Likewise. | |
4318 | (procfs_set_watchpoint): Likewise. | |
4319 | (_initialize_procfs): Add prototype. | |
4320 | * proc-events.c: Include proc-utils.h. | |
4321 | (init_syscall_table): Make static. | |
4322 | * proc-api.c (_initialize_proc_api): Add prototype. | |
4323 | * proc-flags.c: Include proc-utils.h. | |
4324 | ||
9009e1ae MR |
4325 | 2012-04-26 Maciej W. Rozycki <[email protected]> |
4326 | ||
4327 | * configure.ac: Add AC_ARG_PROGRAM. | |
4328 | * configure: Regenerate. | |
4329 | ||
4fae6e18 JK |
4330 | 2012-04-26 Jan Kratochvil <[email protected]> |
4331 | ||
4332 | Fix DW_AT_lower_bound defaults for DWARF-4+. | |
4333 | * dwarf2read.c (read_subrange_type): Remove initialization of low and | |
4334 | high. New variable low_default_is_valid. Implement DWARF-4+ | |
4335 | DW_AT_lower_bound defaults. Print complaint for DW_AT_lower_bound with | |
4336 | no default by the DWARF standard. | |
4337 | ||
14132e89 MR |
4338 | 2012-04-26 Maciej W. Rozycki <[email protected]> |
4339 | Maciej W. Rozycki <[email protected]> | |
4340 | ||
4341 | * infrun.c (handle_inferior_event): Move the check for return | |
4342 | trampolines ahead of the check for function trampolines. | |
4343 | * mips-tdep.h (MIPS_S2_REGNUM, MIPS_GP_REGNUM): New macros. | |
4344 | * mips-tdep.c (mips_str_mips16_call_stub): New variable. | |
4345 | (mips_str_mips16_ret_stub): Likewise. | |
4346 | (mips_str_call_fp_stub): Likewise. | |
4347 | (mips_str_call_stub): Likewise. | |
4348 | (mips_str_fn_stub): Likewise. | |
4349 | (mips_str_pic): Likewise. | |
4350 | (mips_in_frame_stub): New function. | |
4351 | (mips_unwind_pc): Return the return address rather than the PC | |
4352 | if the PC of an intermediate frame is inside a call thunk. | |
4353 | (mips_is_stub_suffix): New function. | |
4354 | (mips_is_stub_mode): Likewise. | |
4355 | (mips_get_mips16_fn_stub_pc): Likewise. | |
4356 | (mips_skip_mips16_trampoline_code): Update to handle all the | |
4357 | currently generated stub types. Don't recurse into __fn_stub | |
4358 | thunks. Remove heuristics to handle stubs beyond etext/_etext. | |
4359 | Use cooked register accesses. | |
4360 | (mips_in_return_stub): Reintroduce function. | |
4361 | (mips_skip_trampoline_code): Traverse trampolines recursively. | |
4362 | (mips_gdbarch_init): Handle MIPS16 return trampolines. | |
4363 | ||
518f0db5 | 4364 | 2012-04-26 Joel Brobecker <[email protected]> |
4365 | ||
4366 | GDB 7.4.1 released. | |
4367 | ||
3184d3f9 JL |
4368 | 2012-04-26 Jonathan Larmour <[email protected]> |
4369 | ||
4370 | * arm-tdep.h (VFP_REGISTER_SIZE): Define. | |
4371 | * features/arm-with-m-vfp-d16.xml: New file. Describes | |
4372 | Cortex-M with VFPv4-sp-d16 FPU register layout. | |
4373 | * features/Makefile (WHICH): Add arm-with-m-vfp-d16. | |
4374 | * features/arm-with-m-vfp-d16.c: New. Generated from above. | |
4375 | * arm-tdep.c: Include arm-with-m-vfp-d16.c. | |
4376 | (arm-register_g_packet_guesses): Add vfp-d16 guess. | |
4377 | (_initialise_arm_tdep): Initialize arm-with-m-vfp-d16 tdesc. | |
4378 | ||
b6201d44 DE |
4379 | 2012-04-25 Doug Evans <[email protected]> |
4380 | ||
4381 | * cli/cli-decode.c (print_doc_line): Use stream instead of | |
4382 | current_uiout. | |
4383 | ||
4e2f8df6 SDJ |
4384 | 2012-04-25 Sergio Durigan Junior <[email protected]> |
4385 | ||
4386 | * features/arm-with-iwmmxt.c: Regenerate. | |
4387 | * features/arm-with-m-fpa-layout.c: Likewise. | |
4388 | * features/arm-with-m.c: Likewise. | |
4389 | * features/arm-with-neon.c: Likewise. | |
4390 | * features/arm-with-vfpv2.c: Likewise. | |
4391 | * features/arm-with-vfpv3.c: Likewise. | |
4392 | * features/mips-dsp-linux.c: Likewise. | |
4393 | * features/mips-linux.c: Likewise. | |
4394 | * features/mips64-dsp-linux.c: Likewise. | |
4395 | * features/mips64-linux.c: Likewise. | |
4396 | * features/s390-linux32.c: Likewise. | |
4397 | * features/s390-linux32v1.c: Likewise. | |
4398 | * features/s390-linux32v2.c: Likewise. | |
4399 | * features/s390-linux64.c: Likewise. | |
4400 | * features/s390-linux64v1.c: Likewise. | |
4401 | * features/s390-linux64v2.c: Likewise. | |
4402 | * features/s390x-linux64.c: Likewise. | |
4403 | * features/s390x-linux64v1.c: Likewise. | |
4404 | * features/s390x-linux64v2.c: Likewise. | |
4405 | * features/tic6x-c62x-linux.c: Likewise. | |
4406 | * features/tic6x-c62x.c: Likewise. | |
4407 | * features/tic6x-c64x-linux.c: Likewise. | |
4408 | * features/tic6x-c64x.c: Likewise. | |
4409 | * features/tic6x-c64xp-linux.c: Likewise. | |
4410 | * features/tic6x-c64xp.c: Likewise. | |
4411 | * target-descriptions.c: Only generate `field_type' and `type' | |
4412 | variables when needed. | |
4413 | ||
2def3e66 JB |
4414 | 2012-04-25 Fredrik Hederstierna <[email protected]> |
4415 | ||
4416 | * cli/cli-cmds.c (cd_command): Use memmove instead of strcpy. | |
4417 | ||
a766d390 DE |
4418 | 2012-04-25 Doug Evans <[email protected]> |
4419 | ||
4420 | Initial pass at Go language support. | |
4421 | * NEWS: Mention Go. | |
4422 | * Makefile.in (SFILES): Add go-exp.y, go-lang.c, go-typeprint.c, | |
4423 | go-valprint.c. | |
4424 | (COMMON_OBS): Add go-lang.o, go-val.print.o, go-typeprint.o. | |
4425 | (YYFILES): Add go-exp.c. | |
4426 | (YYOBJ): Add go-exp.o. | |
4427 | (local-maintainer-clean): Delete go-exp.c. | |
4428 | * defs.h (enum language): Add language_go. | |
4429 | * dwarf2read.c: #include "go-lang.h". | |
4430 | (fixup_go_packaging): New function. | |
4431 | (process_full_comp_unit): Call it when processing Go CUs. | |
4432 | (dwarf2_physname): Add Go support. | |
4433 | (read_file_scope): Handle missing language spec for GNU Go. | |
4434 | (set_cu_language): Handle DW_LANG_Go. | |
4435 | * go-exp.y: New file. | |
4436 | * go-lang.h: New file. | |
4437 | * go-lang.c: New file. | |
4438 | * go-typeprint.c: New file. | |
4439 | * go-valprint.c: New file. | |
4440 | * symtab.c: #include "go-lang.h". | |
4441 | (symbol_set_language): Handle language_go. | |
4442 | (symbol_find_demangled_name, symbol_set_names): Ditto. | |
4443 | (symbol_natural_name, demangle_for_lookup, find_main_name): Ditto. | |
4444 | ||
4e2af517 JM |
4445 | 2012-04-24 Jim Meyering <[email protected]> |
4446 | ||
4447 | avoid a few strncpy-induced buffer overruns | |
4448 | * procfs.c (procfs_make_note_section): Be sure to NUL-terminate | |
4449 | fname and psargs before trying to concatenate. | |
4450 | * tui/tui-stack.c (tui_get_function_from_frame): NUL-terminate | |
4451 | "name" before applying strchr. | |
4452 | ||
b77b7f52 SCR |
4453 | 2012-04-25 Siva Chandra Reddy <[email protected]> |
4454 | ||
4455 | * CONTRIBUTE: Use unified diff instead of context diff when | |
4456 | generating patches. | |
4457 | ||
6321c22a MR |
4458 | 2012-04-24 Maciej W. Rozycki <[email protected]> |
4459 | ||
4460 | * mips-tdep.c (mips_about_to_return): Remove dead MIPS16 support | |
4461 | code. Handle JR.HB correctly. | |
4462 | ||
742c84f6 MR |
4463 | 2012-04-24 Maciej W. Rozycki <[email protected]> |
4464 | ||
4465 | * mips-tdep.c | |
4466 | (is_mips16_addr, unmake_mips16_addr, make_mips16_addr): Group | |
4467 | with the other MIPS16 helpers. | |
4468 | ||
7fc7e0c3 SDJ |
4469 | 2012-04-24 Sergio Durigan Junior <[email protected]> |
4470 | ||
4471 | * observer.sh: Conditionally declare `args', thus cleaning up | |
4472 | unused instances of this variable. | |
4473 | ||
20388dd6 YQ |
4474 | 2012-04-24 Yao Qi <[email protected]> |
4475 | ||
4476 | Revert this patch to allow breakpoint always-inserted | |
4477 | in record target. | |
4478 | 2011-12-05 Pedro Alves <[email protected]> | |
4479 | * breakpoint.c: Include record.h. | |
4480 | (breakpoints_always_inserted_mode): Return false when the record | |
4481 | target is in use. | |
4482 | ||
4483 | * breakpoint.c (iterate_over_bp_locations): New. | |
4484 | * breakpoint.h: Declare. | |
4485 | New typedef walk_bp_location_callback. | |
4486 | * record.c (record_open): Call record_init_record_breakpoints. | |
4487 | (record_sync_record_breakpoints): New. | |
4488 | (record_init_record_breakpoints): New. | |
4489 | * NEWS: Mention supporting breakpoint always-inserted mode in | |
4490 | record target. | |
4491 | ||
4734f50e MK |
4492 | 2012-04-24 Marc Khouzam <[email protected]> |
4493 | ||
4494 | * mi/mi-main.c (mi_cmd_execute): Choose a live thread not just | |
4495 | any thread. | |
4496 | ||
c326b90e YQ |
4497 | 2012-04-24 Yao Qi <[email protected]> |
4498 | ||
4499 | * breakpoint.c (ep_is_catchpoint): Renamed to ... | |
4500 | (is_catchpoint): ... it. | |
4501 | (print_one_breakpoint_location): Caller update. | |
4502 | * breakpoint.h: Update declaration. | |
4503 | ||
d8fb5a1e DM |
4504 | 2012-04-23 David S. Miller <[email protected]> |
4505 | ||
4506 | * configure.tgt (sparc-*-linux*): Set build_gdbserver to yes. | |
4507 | ||
34431a2a TT |
4508 | 2012-04-23 Tom Tromey <[email protected]> |
4509 | ||
4510 | * buildsym.c (add_free_pendings): Remove. | |
4511 | * buildsym.h (add_free_pendings): Remove. | |
4512 | ||
4568ecf9 DE |
4513 | 2012-04-23 Doug Evans <[email protected]> |
4514 | ||
4515 | * dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in | |
4516 | attr.u.unsnd instead of attr.u.addr. | |
4517 | (read_attribute_value) Ditto for cases DW_FORM_ref_addr, | |
4518 | DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_reg8, | |
4519 | DW_FORM_ref_udata. | |
4520 | (dump_die_shallow): Update cases DW_FORM_ref_addr, | |
4521 | DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4. Add cases DW_FORM_ref8, | |
4522 | DW_FORM_ref_udata. | |
4523 | (dwarf2_get_ref_die_offset): Use DW_UNSND for reference attributes. | |
4524 | ||
dca9aa3a MR |
4525 | 2012-04-23 Maciej W. Rozycki <[email protected]> |
4526 | ||
4527 | * mips-tdep.c (mips_n32n64_return_value): Fix coding style. | |
4528 | (mips_o32_return_value): Likewise. | |
4529 | (mips_o64_return_value): Likewise. | |
4530 | ||
c8ea1972 PH |
4531 | 2012-04-21 Paul Hilfinger <[email protected]> |
4532 | ||
4533 | * ada-lang.c (ada_evaluate_subexp): Add cases for | |
4534 | TYPE_CODE_INTERNAL_FUNCTION and for TYPE_GNU_IFUNC, following | |
4535 | their treatment in eval.c. | |
4536 | ||
8d1b3521 DM |
4537 | 2012-04-21 David S. Miller <[email protected]> |
4538 | ||
4539 | * sparc-tdep.c (X_DISP10): Define. | |
4540 | (sparc_analyze_control_transfer): Handle compare-and-branch. | |
4541 | ||
03145bf4 JL |
4542 | 2012-04-21 Jonathan Larmour <[email protected]> |
4543 | ||
4544 | * features/Makefile (WHICH): Add arm-with-m and arm-with-m-fpa-layout. | |
4545 | * arm-tdep.c (arm_register_g_packet_guesses): Fix comment. | |
4546 | ||
004159a2 MR |
4547 | 2012-04-20 Nigel Stephens <[email protected]> |
4548 | Maciej W. Rozycki <[email protected]> | |
4549 | ||
4550 | * mips-tdep.c (mips_float_register_p): New function. | |
4551 | (mips_convert_register_float_case_p): Use mips_float_register_p. | |
4552 | (mips_register_type): Likewise. | |
4553 | (mips_print_register): Likewise. | |
4554 | (print_gp_register_row): Likewise. | |
4555 | (mips_print_registers_info): Likewise. | |
4556 | ||
7f0e6aae MR |
4557 | 2012-04-20 Shun-Yen Lu <[email protected]> |
4558 | ||
4559 | * mips-tdep.c (mips_elf_make_msymbol_special): Fix identification | |
4560 | of mips16 symbols. | |
4561 | ||
bc17beea AP |
4562 | 2012-04-20 Andrew Pinski <[email protected]> |
4563 | ||
4564 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
4565 | ||
1730a5a5 SDJ |
4566 | 2012-04-20 Sergio Durigan Junior <[email protected]> |
4567 | ||
4568 | * MAINTAINERS: Update my e-mail address. | |
4569 | ||
38ea300a PA |
4570 | 2012-04-20 Pedro Alves <[email protected]> |
4571 | ||
4572 | * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Handle absolute | |
4573 | $srcdir. | |
4574 | * configure: Regenerate. | |
4575 | ||
111dfaae SDJ |
4576 | 2012-04-20 Sergio Durigan Junior <[email protected]> |
4577 | ||
4578 | * cp-support.h: Include `gdb_vecs.h'. Delete `const_char_ptr' VEC | |
4579 | declaration. | |
4580 | * gdb_vecs.h: Declare `const_char_ptr' VEC. | |
4581 | ||
4fb2c64a JK |
4582 | 2012-04-20 Jan Kratochvil <[email protected]> |
4583 | ||
4584 | Fix compilation compatibility with python-2.4 | |
4585 | * python/py-type.c (convert_field): Cast ADDRSTRING for | |
4586 | PyObject_SetAttrString as non-const. New comment. | |
4587 | ||
6328eb38 TT |
4588 | 2012-04-19 Tom Tromey <[email protected]> |
4589 | ||
4590 | * top.c (quit_target): Use all_cleanups. | |
4591 | * main.c (captured_command_loop): Use all_cleanups. | |
4592 | * exceptions.c (throw_exception): Use all_cleanups. | |
4593 | ||
c971b7fa PA |
4594 | 2012-04-19 Pedro Alves <[email protected]> |
4595 | ||
4596 | * Makefile.in (GNULIB_BUILDDIR): New. | |
4597 | (LIBGNU, INCGNU, GNULIB_H): Adjust. | |
4598 | (SUBDIRS): Add $(GNULIB_BUILDDIR). | |
4599 | (CLEANDIRS). Remove gnulib/import. | |
4600 | (REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR). | |
4601 | (all-lib): Ditto. | |
4602 | (distclean): Remove the $(GNULIB_BUILDDIR) directory. | |
4603 | (gnulib/import/Makefile): Replace gnulib/import with | |
4604 | $(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile. | |
4605 | (ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'. | |
4606 | (aclocal_m4_deps): Remove the gnulib dependencies. Add | |
4607 | acx_configure_dir.m4. | |
4608 | * acinclude.m4: Include acx_configure_dir.m4. | |
4609 | * acx_configure_dir.m4: New file. | |
4610 | * aclocal.m4: Regenerate. | |
a09130f9 PA |
4611 | * configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE |
4612 | calls. Configure gnulib using ACX_CONFIGURE_DIR. | |
4613 | (GNULIB): New variable. | |
4614 | (GNULIB_STDINT_H): Adjust. | |
4615 | (AC_OUTPUT): Don't output gnulib/Makefile. | |
4616 | * gdb/defs.h: Include build-gnulib/config.h. | |
4617 | * aclocal.m4: Regenerate. | |
4618 | * config.in: Regenerate. | |
4619 | * configure: Regenerate. | |
4620 | ||
4621 | * gnulib/Makefile.in: New file. | |
4622 | * gnulib/configure.ac: New file. | |
4623 | * gnulib/aclocal.m4: New file. | |
4624 | * gnulib/config.in: New file. | |
4625 | * gnulib/configure: New file. | |
c971b7fa PA |
4626 | * gnulib/: Re-run gnulib-tool to adjust. |
4627 | ||
b10faa68 DE |
4628 | 2012-04-19 Doug Evans <[email protected]> |
4629 | ||
4630 | * cleanups.h (struct cleanup): Move to cleanups.c. | |
4631 | (make_cleanup_dtor_ftype): New typedef. | |
4632 | (make_cleanup_dtor): Use it. | |
4633 | (ALL_CLEANUPS): Replace with ... | |
4634 | (all_cleanups): ... this. Declare. All uses updated. | |
4635 | * cleanups.c: #include "gdb_assert.h". | |
4636 | (sentinel_cleanup): New static global. | |
4637 | (SENTINEL_CLEANUP): Define. | |
4638 | (cleanup_chain, final_cleanup_chain): Initialize to SENTINEL_CLEANUP. | |
4639 | (make_my_cleanup2): Assert result is non-NULL. | |
4640 | (all_cleanups): New function. | |
4641 | (save_my_cleanups): Initialize new chain to SENTINEL_CLEANUP instead | |
4642 | of NULL. | |
4643 | ||
d8c267cc PA |
4644 | 2012-04-19 Pedro Alves <[email protected]> |
4645 | ||
4646 | * Makefile.in (HFILES_NO_SRCDIR): Remove gnulib/wchar.in.h. | |
4647 | Adjust paths to gnulib imported files. | |
4648 | ||
809277f8 PA |
4649 | 2012-04-19 Pedro Alves <[email protected]> |
4650 | ||
4651 | * gnulib/: Move whole directory ... | |
4652 | * gnulib/import/: ... here, and re-rerun gnulib-tool to adjust. | |
4653 | * Makefile.in (LIBGNU, INCGNU, GNULIB_H, CLEANDIRS) | |
4654 | (REQUIRED_SUBDIRS, all-lib, gnulib/Makefile, ACLOCAL_AMFLAGS) | |
4655 | (aclocal_m4_deps): Adjust. | |
4656 | * aclocal.m4: Regenerate. | |
4657 | * configure: Regenerate. | |
4658 | * configure.ac: Adjust AC_OUTPUT output. | |
4659 | ||
aad9eab9 YQ |
4660 | 2012-04-19 Yao Qi <[email protected]> |
4661 | ||
4662 | * Makefile.in (SFILES): Add common/vec.c and remove vec.c. | |
4663 | (vec.o): New rule. | |
4664 | * vec.c: Move it ... | |
4665 | * common/vec.c: ... here. | |
4666 | * vec.h: Move it ... | |
4667 | * common/vec.h: ... here. | |
4668 | ||
48fe4669 YQ |
4669 | 2012-04-19 Yao Qi <[email protected]> |
4670 | ||
4671 | * gdb-code-style.el: New. | |
4672 | ||
770d76d7 PA |
4673 | 2012-04-18 Pedro Alves <[email protected]> |
4674 | ||
4675 | Update gnulib from latest git. | |
4676 | (639ea5ae15e39fe48d43e04864b2997301e4b969) | |
4677 | ||
4678 | * gnulib/Makefile.am: Update. | |
4679 | * gnulib/dummy.c: Update. | |
4680 | * gnulib/extra/arg-nonnull.h: Update. | |
4681 | * gnulib/extra/c++defs.h: Update. | |
4682 | * gnulib/extra/update-copyright: Update. | |
4683 | * gnulib/extra/warn-on-use.h: Update. | |
4684 | * gnulib/inttypes.in.h: Update. | |
4685 | * gnulib/m4/00gnulib.m4: Update. | |
4686 | * gnulib/m4/extensions.m4: Update. | |
4687 | * gnulib/m4/gnulib-cache.m4: Update. | |
4688 | * gnulib/m4/gnulib-common.m4: Update. | |
4689 | * gnulib/m4/gnulib-comp.m4: Update. | |
4690 | * gnulib/m4/gnulib-tool.m4: Update. | |
4691 | * gnulib/m4/include_next.m4: Update. | |
4692 | * gnulib/m4/inttypes-pri.m4: Update. | |
4693 | * gnulib/m4/inttypes.m4: Update. | |
4694 | * gnulib/m4/longlong.m4: Update. | |
4695 | * gnulib/m4/memchr.m4: Update. | |
4696 | * gnulib/m4/memmem.m4: Update. | |
4697 | * gnulib/m4/mmap-anon.m4: Update. | |
4698 | * gnulib/m4/multiarch.m4: Update. | |
4699 | * gnulib/m4/onceonly.m4: Update. | |
4700 | * gnulib/m4/stddef_h.m4: Update. | |
4701 | * gnulib/m4/stdint.m4: Update. | |
4702 | * gnulib/m4/string_h.m4: Update. | |
4703 | * gnulib/m4/warn-on-use.m4: Update. | |
4704 | * gnulib/m4/wchar_h.m4: Update. | |
4705 | * gnulib/m4/wchar_t.m4: Update. | |
4706 | * gnulib/m4/wint_t.m4: Update. | |
4707 | * gnulib/memchr.c: Update. | |
4708 | * gnulib/memmem.c: Update. | |
4709 | * gnulib/stddef.in.h: Update. | |
4710 | * gnulib/stdint.in.h: Update. | |
4711 | * gnulib/str-two-way.h: Update. | |
4712 | * gnulib/string.in.h: Update. | |
4713 | * gnulib/wchar.in.h: Update. | |
4714 | ||
4715 | * gnulib/extra/arg-nonnull.h: Delete. | |
4716 | * gnulib/extra/c++defs.h: Delete. | |
4717 | * gnulib/extra/warn-on-use.h: Delete. | |
4718 | * gnulib/m4/wchar_h.m4: Delete. | |
4719 | * gnulib/m4/wint_t.m4: Delete. | |
4720 | * gnulib/wchar.in.h: Delete. | |
4721 | ||
4722 | * gnulib/extra/snippets/arg-nonnull.h: New. | |
4723 | * gnulib/extra/snippets/c++defs.h: New. | |
4724 | * gnulib/extra/snippets/warn-on-use.h: New. | |
4725 | ||
4726 | * aclocal.m4: Regenerate. | |
4727 | * config.in: Regenerate. | |
4728 | * configure: Regenerate. | |
4729 | * gnulib/Makefile.in: Regenerate. | |
4730 | ||
174e088e PA |
4731 | 2012-04-18 Pedro Alves <[email protected]> |
4732 | ||
4733 | Reimport the update-copyright module from gnulib | |
4734 | (250b80067c1e1d8faa0c42fb572f721975b929c5). | |
4735 | ||
4736 | * configure: Regenerate. | |
4737 | * gnulib/Makefile.am: Update. | |
4738 | * gnulib/Makefile.in: Regenerate. | |
4739 | * gnulib/extra/update-copyright: Update. | |
4740 | * gnulib/m4/gnulib-cache.m4: Update. | |
4741 | * gnulib/m4/gnulib-comp.m4: Update. | |
4742 | ||
7f533142 JB |
4743 | 2012-04-18 Tristan Gingold <[email protected]> |
4744 | ||
4745 | * configure.ac (aix): Put -lpthread into libs. | |
4746 | * configure: Regenerate. | |
4747 | ||
001822aa TT |
4748 | 2012-04-18 Tom Tromey <[email protected]> |
4749 | ||
4750 | * linespec.c (convert_linespec_to_sals): Don't use | |
4751 | SYMBOL_OBJ_SECTION. | |
4752 | (compare_msymbols): Arguments are minsym_and_objfile, not | |
4753 | minimal_symbol*. Don't use SYMBOL_OBJ_SECTION. | |
4754 | ||
db026a31 PA |
4755 | 2012-04-18 Pedro Alves <[email protected]> |
4756 | ||
4757 | Revert gnulib/ part of: | |
4758 | 2011-01-01 Joel Brobecker <[email protected]> | |
4759 | Copyright year update in most files (performed by copyright.sh). | |
4760 | ||
12df843f JK |
4761 | 2012-04-18 Jan Kratochvil <[email protected]> |
4762 | ||
4763 | Fix 64-bit constants on 32-bit hosts. | |
4764 | * dwarf2read.c (read_unsigned_leb128): Change declaration return type | |
4765 | from unsigned long to ULONGEST. | |
4766 | (read_signed_leb128): Change declaration return type from long to | |
4767 | LONGEST. | |
4768 | (dwarf2_const_value_attr): Change declaration parameter value from long | |
4769 | to LONGEST. | |
4770 | (dwarf2_compute_name): Change variable value from long to LONGEST. | |
4771 | (read_unsigned_leb128): Change return type, variable result and some | |
4772 | casts from unsigned long to ULONGEST. | |
4773 | (read_signed_leb128): Change return type, variable result and some | |
4774 | casts from long to LONGEST. | |
4775 | (dwarf2_const_value_data, dwarf2_const_value_attr): Change parameter | |
4776 | value from long to LONGEST. | |
4777 | (dwarf2_const_value): Change variable value from long to LONGEST. | |
4778 | * symmisc.c (print_symbol): Change SYMBOL_VALUE format strings to use | |
4779 | plongest and hex_string. | |
4780 | * symtab.h (struct general_symbol_info): Change ivalue from long to | |
4781 | LONGEST, remove the comment. | |
4782 | * tracepoint.c (validate_actionline, collect_symbol, scope_info): | |
4783 | Change SYMBOL_VALUE format strings to use plongest and hex_string. | |
4784 | ||
14e75d8e JK |
4785 | 2012-04-18 Siddhesh Poyarekar <[email protected]> |
4786 | ||
4787 | PR symtab/7259: | |
4788 | * ada-exp.y (convert_char_literal): Use TYPE_FIELD_ENUMVAL. | |
4789 | * ada-lang.c (ada_discrete_type_high_bound) | |
ac4ea3c2 JK |
4790 | (ada_discrete_type_low_bound): Fix function comment. Use |
4791 | TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. | |
14e75d8e JK |
4792 | (ada_identical_enum_types_p): Use TYPE_FIELD_ENUMVAL. |
4793 | (pos_atr, value_val_atr): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. | |
4794 | * ada-typeprint.c (print_enum_type): Change variable lastval to LONGEST. | |
4795 | Use TYPE_FIELD_ENUMVAL. | |
4796 | * ada-valprint.c (print_optional_low_bound, ada_print_scalar) | |
4797 | (ada_val_print_1): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. | |
4798 | * c-typeprint.c (c_type_print_base): Move variable lastval to inner | |
4799 | block, change it to LONGEST. Use TYPE_FIELD_ENUMVAL for | |
4800 | TYPE_CODE_ENUM. | |
4801 | * coffread.c (coff_read_enum_type): Use SET_FIELD_ENUMVAL. | |
4802 | * dwarf2read.c (process_enumeration_scope): Likewise. | |
4803 | * gdb-gdb.py (TypeFlagsPrinter): Use field.enumval instead of | |
4804 | field.bitpos. | |
4805 | (class StructMainTypePrettyPrinter): Support also | |
4806 | FIELD_LOC_KIND_ENUMVAL. | |
4807 | * gdbtypes.c (get_discrete_bounds): Use TYPE_FIELD_ENUMVAL for | |
4808 | TYPE_CODE_ENUM. | |
4809 | (recursive_dump_type): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. | |
4810 | (copy_type_recursive): Support also FIELD_LOC_KIND_ENUMVAL. | |
4811 | * gdbtypes.h (enum field_loc_kind): New FIELD_LOC_KIND_ENUMVAL. | |
4812 | (struct main_type.flds_bnds.fields.loc): Adjust bitpos comment. New | |
4813 | field enumval. | |
4814 | (struct main_type.flds_bnds.bields): Adjust loc_kind and bitsize to | |
4815 | accommodate enumval. | |
4816 | (struct call_site): Adjust loc_kind to accommodate enumval. | |
4817 | (FIELD_ENUMVAL, FIELD_ENUMVAL_LVAL, SET_FIELD_ENUMVAL) | |
4818 | (TYPE_FIELD_ENUMVAL): New macros. | |
4819 | * m2-typeprint.c (m2_enum): Use TYPE_FIELD_ENUMVAL. | |
4820 | * mdebugread.c (parse_symbol): Use TYPE_FIELD_ENUMVAL for | |
4821 | TYPE_CODE_ENUM. | |
4822 | * p-typeprint.c (pascal_type_print_base): Likewise. | |
4823 | * python/lib/gdb/printing.py (class FlagEnumerationPrinter): Use | |
4824 | enumval. | |
4825 | * python/lib/gdb/types.py (make_enum_dict): Likewise. | |
4826 | * python/py-type.c (convert_field): New variable addrstring. Use | |
4827 | TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. | |
4828 | (check_types_equal): Support also FIELD_LOC_KIND_ENUMVAL. | |
4829 | * stabsread.c (read_enum_type): Use SET_FIELD_ENUMVAL. | |
4830 | * typepint.c (print_type_scalar): Use TYPE_FIELD_ENUMVAL for | |
4831 | TYPE_CODE_ENUM. | |
4832 | * valprint.c (generic_val_print): Likewise. | |
4833 | ||
380bca97 DE |
4834 | 2012-04-17 Doug Evans <[email protected]> |
4835 | ||
dcc07052 DE |
4836 | * dwarf2read.c (lookup_signatured_type): Return NULL instead of 0. |
4837 | ||
380bca97 DE |
4838 | * dwarf2read.c: Whitespace fixes. |
4839 | (lookup_signatured_type): Tweak comment. | |
4840 | (get_die_type_at_offset): Fix comment. | |
4841 | ||
ec92004f JB |
4842 | 2012-04-17 Joel Brobecker <[email protected]> |
4843 | ||
4844 | * xcoffread.c (xcoff_secnum_to_sections): New function. | |
4845 | (secnum_to_section, secnum_to_bfd_section): Reimplement | |
4846 | using xcoff_secnum_to_sections. Rename "secnum" parameter | |
4847 | into "n_scnum". | |
4848 | (RECORD_MINIMAL_SYMBOL): Delete. | |
4849 | (record_minimal_symbol): New function. | |
4850 | (scan_xcoff_symtab): Replace uses of RECORD_MINIMAL_SYMBOL | |
4851 | by call to record_minimal_symbol and set misc_func_recorded | |
4852 | to 1. Set last_csect_sec to the XCOFF section index instead | |
4853 | of GDB's section_offset index. Update calls to | |
4854 | prim_record_minimal_symbol_and_info to pass the BFD section | |
4855 | as well. | |
4856 | ||
40301fb7 JB |
4857 | 2012-04-17 Joel Brobecker <[email protected]> |
4858 | ||
4859 | * xcoffread.c (read_xcoff_symtab): Delete variables | |
4860 | last_csect_val and last_csect_sec and associated code. | |
4861 | ||
e0088cfd DE |
4862 | 2012-04-17 Doug Evans <[email protected]> |
4863 | ||
58d5e2c3 DE |
4864 | * cleanups.c (make_my_cleanup,make_my_cleanup2): Make static. |
4865 | (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto. | |
4866 | * cleanups.h (make_my_cleanup,make_my_cleanup2): Delete | |
4867 | (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Delete. | |
4868 | ||
c27f5738 DE |
4869 | * cleanups.h: New file. |
4870 | * cleanups.c: New file. | |
4871 | * Makefile.in (SFILES): Add cleanups.c. | |
4872 | (HFILES_NO_SRCDIR): Add cleanups.h. | |
4873 | (COMMON_OBS): Add cleanups.o. | |
4874 | * defs.h (struct cleanup): Moved to cleanups.h. | |
4875 | (do_cleanups,do_final_cleanups): Ditto. | |
4876 | (discard_cleanups,discard_final_cleanups): Ditto | |
4877 | (make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto. | |
4878 | (save_cleanups,save_final_cleanups): Ditto. | |
4879 | (restore_cleanups,restore_final_cleanups): Ditto. | |
4880 | (null_cleanup): Ditto. | |
4881 | (make_my_cleanup,make_my_cleanup2): Ditto. | |
4882 | (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto. | |
4883 | * utils.c (cleanup_chain,final_cleanup_chain): Moved to cleanups.c. | |
4884 | (do_cleanups,do_final_cleanups): Ditto. | |
4885 | (discard_cleanups,discard_final_cleanups): Ditto | |
4886 | (make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto. | |
4887 | (save_cleanups,save_final_cleanups): Ditto. | |
4888 | (restore_cleanups,restore_final_cleanups): Ditto. | |
4889 | (null_cleanup): Ditto. | |
4890 | (make_my_cleanup,make_my_cleanup2): Ditto. | |
4891 | (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto. | |
4892 | ||
e0088cfd DE |
4893 | * utils.c (make_cleanup_freeargv): Use make_cleanup instead of |
4894 | make_my_cleanup. | |
4895 | (make_cleanup_dyn_string_delete): Ditto. | |
4896 | (make_cleanup_ui_file_delete): Ditto. | |
4897 | (make_cleanup_ui_out_redirect_pop): Ditto. | |
4898 | (make_cleanup_free_section_addr_info): Ditto. | |
4899 | (make_cleanup_restore_integer): Ditto. | |
4900 | (make_cleanup_unpush_target): Ditto. | |
4901 | (make_cleanup_value_free_to_mark): Ditto. | |
4902 | (make_cleanup_value_free): Ditto. | |
4903 | (make_cleanup_free_so): Ditto. | |
4904 | ||
4dc84fd1 JK |
4905 | 2012-04-17 Jan Kratochvil <[email protected]> |
4906 | ||
4907 | New option "set debug auto-load". | |
4908 | * NEWS: New commands "set debug auto-load" and "show debug auto-load". | |
4909 | * auto-load.c (debug_auto_load, show_debug_auto_load: New. | |
4910 | (auto_load_safe_path_vec_update) | |
4911 | (filename_is_in_auto_load_safe_path_vec): Call fprintf_unfiltered | |
4912 | if DEBUG_AUTO_LOAD. | |
4913 | (file_is_auto_load_safe): New parameters debug_fmt and .... | |
4914 | Call fprintf_unfiltered if DEBUG_AUTO_LOAD. | |
4915 | (source_gdb_script_for_objfile): Extend the file_is_auto_load_safe | |
4916 | caller by explanatory string. | |
4917 | (_initialize_auto_load): Register "set debug auto-load". | |
4918 | * auto-load.h (file_is_auto_load_safe): New parameters debug_fmt | |
4919 | and .... | |
4920 | * linux-thread-db.c (try_thread_db_load_from_pdir_1) | |
4921 | (try_thread_db_load_from_dir): Extend the file_is_auto_load_safe caller | |
4922 | by explanatory string. | |
4923 | * main.c (captured_main): Likewise. | |
4924 | * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile) | |
4925 | (source_section_scripts): Likewise. | |
4926 | ||
bccbefd2 JK |
4927 | 2012-04-17 Jan Kratochvil <[email protected]> |
4928 | ||
4929 | New option "set auto-load safe-path". | |
4930 | * NEWS: New commands "set auto-load safe-path" | |
4931 | and "show auto-load safe-path". | |
4932 | * auto-load.c: Include gdb_vecs.h, readline/tilde.h and completer.h. | |
4933 | (auto_load_safe_path, auto_load_safe_path_vec) | |
4934 | (auto_load_safe_path_vec_update, set_auto_load_safe_path) | |
4935 | (show_auto_load_safe_path, add_auto_load_safe_path, filename_is_in_dir) | |
4936 | (filename_is_in_auto_load_safe_path_vec, file_is_auto_load_safe): New. | |
4937 | (source_gdb_script_for_objfile): New variable is_safe. Call | |
4938 | file_is_auto_load_safe. Return if it is not. | |
4939 | (struct loaded_script): New field loaded. | |
4940 | (maybe_add_script): Add parameter loaded. Initialize SLOT with it. | |
4941 | (print_script): Use LOADED indicator instead of FULL_PATH. Change | |
4942 | output "Missing" to "No". | |
4943 | (_initialize_auto_load): New variable cmd. Initialize | |
4944 | auto_load_safe_path. Register "set auto-load safe-path", | |
4945 | "show auto-load safe-path" and "add-auto-load-safe-path". | |
4946 | * auto-load.h (maybe_add_script): Add parameter loaded. | |
4947 | (file_is_auto_load_safe): New declaration. | |
4948 | * config.in: Regenerate. | |
4949 | * configure: Regenerate. | |
4950 | * configure.ac: New parameters --with-auto-load-safe-path | |
4951 | and --without-auto-load-safe-path. | |
4952 | * linux-thread-db.c (try_thread_db_load_from_pdir_1) | |
4953 | (try_thread_db_load_from_dir): Check file_is_auto_load_safe first. | |
4954 | * main.c (captured_main): Check file_is_auto_load_safe for | |
4955 | LOCAL_GDBINIT. | |
4956 | * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile): New | |
4957 | variable is_safe. Call file_is_auto_load_safe. Return if it is not. | |
4958 | (source_section_scripts): Call file_is_auto_load_safe. Return if it is | |
4959 | not. | |
4960 | ||
bf88dd68 JK |
4961 | 2012-04-17 Jan Kratochvil <[email protected]> |
4962 | ||
4963 | auto-load: Implementation. | |
4964 | * NEWS: New descriptions for "info auto-load", | |
4965 | "info auto-load gdb-scripts", "info auto-load python-scripts", | |
4966 | "info auto-load local-gdbinit" and "info auto-load libthread-db". | |
4967 | Deprecate "info auto-load-scripts", "set auto-load-scripts on|off" | |
4968 | and "show auto-load-scripts". New description for "set auto-load", | |
4969 | "show auto-load", "set auto-load gdb-scripts", | |
4970 | "show auto-load gdb-scripts", "set auto-load python-scripts", | |
4971 | "show auto-load python-scripts", "set auto-load local-gdbinit", | |
4972 | "show auto-load local-gdbinit", "set auto-load libthread-db" and | |
4973 | "show auto-load libthread-db". | |
4974 | * auto-load.c: Remove include python/python-internal.h. Add includes | |
4975 | exceptions.h, cli/cli-script.h, gdbcmd.h, cli/cli-decode.h and | |
4976 | cli/cli-setshow.h. | |
4977 | (GDB_AUTO_FILE_NAME, source_gdb_script_for_objfile) | |
4978 | (auto_load_gdb_scripts, show_auto_load_gdb_scripts): New. | |
4979 | (gdbpy_global_auto_load): Rename to ... | |
4980 | (global_auto_load): ... here. | |
4981 | (auto_load_local_gdbinit, auto_load_local_gdbinit_pathname) | |
4982 | (auto_load_local_gdbinit_loaded, show_auto_load_local_gdbinit) | |
4983 | (script_language_gdb, source_gdb_script_for_objfile): New. | |
4984 | (struct loaded_script): New field language. | |
4985 | (hash_loaded_script_entry, eq_loaded_script_entry): Calculate also | |
4986 | LANGUAGE. | |
4987 | (maybe_add_script): Add parameter language. Drop redundant | |
4988 | entry.full_path initialization. Initialize entry.language and | |
4989 | (*slot)->language. | |
4990 | (auto_load_objfile_script): Change parameter suffix to language. | |
4991 | Remove the call of maybe_add_script. | |
4992 | Call language->source_script_for_objfile. | |
4993 | (load_auto_scripts_for_objfile, struct collect_matching_scripts_data): | |
4994 | New. | |
4995 | (collect_matching_scripts): Adjust it for | |
4996 | struct collect_matching_scripts_data. | |
4997 | (auto_load_info_scripts_pattern_nl): New variable. | |
4998 | (info_auto_load_scripts): Rename to ... | |
4999 | (auto_load_info_scripts): ... here, add parameter language. Adjust it | |
5000 | for struct collect_matching_scripts_data. | |
5001 | (info_auto_load_gdb_scripts, info_auto_load_local_gdbinit) | |
5002 | (set_auto_load_cmd, auto_load_set_cmdlist_get, show_auto_load_cmd) | |
5003 | (auto_load_show_cmdlist_get, info_auto_load_cmd) | |
5004 | (auto_load_info_cmdlist_get): New. | |
5005 | (_initialize_auto_load): Move add_info of "auto-load-scripts" to | |
5006 | python/py-auto-load.c. New installment for "set auto-load gdb-scripts", | |
5007 | "info auto-load gdb-scripts", "set auto-load local-gdbinit" and | |
5008 | "info auto-load local-gdbinit". | |
5009 | * auto-load.h (struct script_language): New. | |
5010 | (gdbpy_global_auto_load): Rename to ... | |
5011 | (global_auto_load): ... here. | |
5012 | (auto_load_local_gdbinit, auto_load_local_gdbinit_pathname) | |
5013 | (auto_load_local_gdbinit_loaded): New declarations. | |
5014 | (maybe_add_script): New parameter language. | |
5015 | (auto_load_objfile_script): Change parameter suffix to language. | |
5016 | (load_auto_scripts_for_objfile, auto_load_info_scripts_pattern_nl) | |
5017 | (auto_load_info_scripts, auto_load_set_cmdlist_get) | |
5018 | (auto_load_show_cmdlist_get, auto_load_info_cmdlist_get): New | |
5019 | declarations. | |
5020 | * linux-thread-db.c: Include auto-load.h and ctype.h. | |
5021 | (auto_load_thread_db, show_auto_load_thread_db): New. | |
5022 | (struct thread_db_info): New field filename. | |
5023 | (delete_thread_db_info): Call xfree for FILENAME. | |
5024 | (try_thread_db_load): Initialize FILENAME. | |
5025 | (try_thread_db_load_from_pdir, try_thread_db_load_from_dir): Return | |
5026 | if !AUTO_LOAD_THREAD_DB. | |
5027 | (info_auto_load_libthread_db_compare, info_auto_load_libthread_db): New. | |
5028 | (_initialize_thread_db): Install auto_load_thread_db | |
5029 | as "set auto-load libthread-db" and install info_auto_load_libthread_db | |
5030 | as "info auto-load libthread-db". | |
5031 | * main.c (captured_main): Rename gdbpy_global_auto_load to | |
5032 | global_auto_load. Initialize AUTO_LOAD_LOCAL_GDBINIT_PATHNAME and | |
5033 | AUTO_LOAD_LOCAL_GDBINIT_LOADED. | |
5034 | (print_gdb_help): Extend the help for 'local init file'. | |
5035 | * python/py-auto-load.c: Remove a comment about gdb scripts extension. | |
5036 | (GDBPY_AUTO_SECTION_NAME): Extend the comment it is Python specific. | |
5037 | (auto_load_scripts): Rename to ... | |
5038 | (auto_load_python_scripts): ... here, update the comment. | |
5039 | (gdbpy_load_auto_script_for_objfile): New declaration. | |
5040 | (show_auto_load_python_scripts, script_language_python) | |
5041 | (gdbpy_load_auto_script_for_objfile): New. | |
5042 | (source_section_scripts): Refactor the code. | |
5043 | (load_auto_scripts_for_objfile): Rename to ... | |
5044 | (gdbpy_load_auto_scripts_for_objfile): ... here, update the | |
5045 | auto_load_objfile_script caller, drop GDBPY_GLOBAL_AUTO_LOAD checking. | |
5046 | (info_auto_load_python_scripts): New. | |
5047 | (gdbpy_initialize_auto_load): New variables cmd and cmd_name. | |
5048 | Rename "set auto-load-scripts" to "set auto-load python-scripts". | |
5049 | Register "set auto-load-scripts" as its deprecated alias. Register | |
5050 | "info auto-load python-scripts". Register "info auto-load-scripts" as | |
5051 | its deprecated alias. | |
5052 | (load_auto_scripts_for_objfile): Rename to ... | |
5053 | (gdbpy_load_auto_scripts_for_objfile): ... here. | |
5054 | * python/python.h (load_auto_scripts_for_objfile): Rename to ... | |
5055 | (gdbpy_load_auto_scripts_for_objfile): ... here. | |
5056 | ||
e2207b9a JK |
5057 | 2012-04-17 Jan Kratochvil <[email protected]> |
5058 | ||
5059 | auto-load: Move files. | |
5060 | * Makefile.in (SFILES): Add auto-load.c. | |
5061 | (HFILES_NO_SRCDIR): Add auto-load.h. | |
5062 | (COMMON_OBS): Add auto-load.o. | |
5063 | (distclean): Change .gdbinit for gdb-gdb.gdb. | |
5064 | * auto-load.c: New file, with parts from python/py-auto-load.c. | |
5065 | * auto-load.h: New file, with parts from python/python.h. | |
5066 | * configure: Regenerate. | |
5067 | * configure.ac (AC_OUTPUT): Change .gdbinit for gdb-gdb.gdb. | |
5068 | * gdb-gdb.gdb.in: New file, renamed from gdbinit.in. | |
5069 | * gdbinit.in: Remove file, rename it to gdb-gdb.gdb.in. | |
5070 | * main.c: Include auto-load.h. | |
5071 | * python/py-auto-load.c: Move include filenames.h, gdb_regex.h, | |
5072 | command.h, observer.h and progspace.h to auto-load.c. Add include | |
5073 | auto-load.h. | |
5074 | (gdbpy_global_auto_load, struct auto_load_pspace_info) | |
5075 | (struct loaded_script, auto_load_pspace_data) | |
5076 | (auto_load_pspace_data_cleanup, get_auto_load_pspace_data) | |
5077 | (hash_loaded_script_entry, eq_loaded_script_entry) | |
5078 | (init_loaded_scripts_info, get_auto_load_pspace_data_for_loading) | |
5079 | (maybe_add_script): Move to auto-load.c. | |
5080 | (source_section_scripts): Change maybe_add_script parameters passing, | |
5081 | use script_not_found_warning_print. | |
5082 | (clear_section_scripts, auto_load_objfile_script) | |
5083 | (auto_load_new_objfile, loaded_script_ptr) | |
5084 | (DEF_VEC_P (loaded_script_ptr), collect_matching_scripts, print_script) | |
5085 | (sort_scripts_by_name, info_auto_load_scripts): Move to auto-load.c. | |
5086 | (gdbpy_initialize_auto_load): Move auto_load_pspace_data, | |
5087 | auto_load_new_objfile and info_auto_load_scripts initizations to | |
5088 | auto-load.c. | |
5089 | * python/python.h (gdbpy_global_auto_load): Move to auto-load.h. | |
5090 | ||
e4ab2fad JK |
5091 | 2012-04-17 Jan Kratochvil <[email protected]> |
5092 | ||
5093 | Code cleanup. | |
5094 | * charset.c (find_charset_names): Remove variables ix and elt. | |
5095 | Use free_char_ptr_vec. | |
5096 | * elfread.c (build_id_to_debug_filename): New variables debugdir_vec, | |
5097 | back_to and ix. Use dirnames_to_char_ptr_vec. Remove variable | |
5098 | debugdir_end. New variable debugdir_len. | |
5099 | * gdb_vecs.h (free_char_ptr_vec, make_cleanup_free_char_ptr_vec) | |
5100 | (dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): New | |
5101 | declarations. | |
5102 | * progspace.c (clear_program_space_solib_cache): Remove variables ix | |
5103 | and elt. Use free_char_ptr_vec. | |
5104 | * source.c (add_path): Remove variables argv, arg and argv_index. | |
5105 | New variables dir_vec, back_to, ix and name. | |
5106 | Use dirnames_to_char_ptr_vec_append. Use freeargv instead of | |
5107 | make_cleanup_freeargv. Remove variable separator. Simplify the code | |
5108 | no longer expecting DIRNAME_SEPARATOR. | |
5109 | (openp): Remove variable p, p1 and len. New variables dir_vec, | |
5110 | back_to, ix and dir. Use dirnames_to_char_ptr_vec. Simplify the code | |
5111 | no longer expecting DIRNAME_SEPARATOR. | |
5112 | * symfile.c (find_separate_debug_file): New variables debugdir_vec, | |
5113 | back_to and ix. Use dirnames_to_char_ptr_vec. Remove variable | |
5114 | debugdir_end. | |
5115 | * utils.c (free_char_ptr_vec, do_free_char_ptr_vec) | |
5116 | (make_cleanup_free_char_ptr_vec, dirnames_to_char_ptr_vec_append) | |
5117 | (dirnames_to_char_ptr_vec): New functions. | |
5118 | ||
5ee4ed9f JK |
5119 | 2012-04-17 Jan Kratochvil <[email protected]> |
5120 | ||
5121 | Code cleanup. | |
5122 | * source.c (add_path): Remove always true conditional 'p == 0' and | |
5123 | unindent its code block. | |
5124 | ||
f41f5e61 PA |
5125 | 2012-04-17 Pedro Alves <[email protected]> |
5126 | ||
5127 | * gdbtypes.h (FIELD_BITPOS): Rename to ... | |
5128 | (FIELD_BITPOS_LVAL): ... this. | |
5129 | (FIELD_BITPOS): New. | |
5130 | (SET_FIELD_BITPOS): Adjust to use FIELD_BITPOS_LVAL. | |
5131 | * dwarf2read.c (dwarf2_add_field): Use SET_FIELD_BITPOS. | |
5132 | * gdbtypes.c (append_composite_type_field_aligned): Adjust to use | |
5133 | SET_FIELD_BITPOS. | |
5134 | * gnu-v3-abi.c (build_gdb_vtable_type): Adjust to use | |
5135 | SET_FIELD_BITPOS. | |
5136 | * stabsread.c (read_cpp_abbrev, read_one_struct_field) | |
5137 | (read_baseclasses): Adjust to use SET_FIELD_BITPOS. | |
5138 | * target-descriptions.c (tdesc_gdb_type): Adjust to use | |
5139 | SET_FIELD_BITPOS. | |
5140 | ||
945b3a32 JK |
5141 | 2012-04-17 Jan Kratochvil <[email protected]> |
5142 | ||
5143 | Do not rely on FIELD_LOC_KIND_BITPOS being zero. | |
5144 | * ada-lang.c (ada_template_to_fixed_record_type_1): Replace | |
5145 | TYPE_FIELD_BITPOS used as lvalue by SET_FIELD_BITPOS. | |
5146 | * gdbtypes.c (append_flags_type_flag): Likewise, twice. | |
5147 | * jv-lang.c (java_link_class_type): Likewise, once. | |
5148 | * stabsread.c (read_enum_type): Likewise. | |
5149 | ||
42476b70 YQ |
5150 | 2012-04-16 Yao Qi <[email protected]> |
5151 | ||
5152 | * common/agent.c (agent_run_command): Add one more parameter `len'. | |
5153 | Update callers. | |
5154 | * common/agent.h: Update declaration. | |
5155 | * linux-nat.c (linux_child_static_tracepoint_markers_by_strid): | |
5156 | Update. | |
5157 | (linux_child_static_tracepoint_markers_by_strid): Ditto. | |
5158 | ||
8264ba82 AG |
5159 | 2012-04-14 Anton Gorenkov <[email protected]> |
5160 | ||
5161 | PR mi/13393 | |
5162 | * value.c (value_actual_type): New function. | |
5163 | * value.h (value_actual_type): New declaration. | |
5164 | * varobj.c (update_type_if_necessary): New function. | |
5165 | (varobj_create): Call value_actual_type instead of | |
5166 | value_type. | |
5167 | (install_dynamic_child): distinct changed and type changed MI variable | |
5168 | objects. | |
5169 | (update_dynamic_varobj_children): Updated for install_dynamic_child | |
5170 | change. All callers updated. | |
a09130f9 | 5171 | (varobj_update): Support for MI variable object type change if |
8264ba82 AG |
5172 | the value changed and RTTI is used to determine the type. |
5173 | (create_child_with_value): Call value_actual_type instead of | |
5174 | value_type. | |
a09130f9 | 5175 | (adjust_value_for_child_access): Extended with a new parameter which |
8264ba82 AG |
5176 | specify whether the given value should be casted to enclosing type. |
5177 | All callers updated. | |
5178 | ||
55a8c076 YQ |
5179 | 2012-04-14 Yao Qi <[email protected]> |
5180 | ||
5181 | Import gnulib module inttypes from git | |
5182 | (250b80067c1e1d8faa0c42fb572f721975b929c5) | |
5183 | * Makefile.in (HFILES_NO_SRCDIR): Add gnulib/inttypes.in.h. | |
a09130f9 PA |
5184 | (aclocal_m4_deps): Add gnulib/m4/inttypes.m4 and |
5185 | gnulib/m4/inttypes-pri.m4 | |
55a8c076 YQ |
5186 | * aclocal.m4, config.in, configure: Regenerated. |
5187 | * gnulib/Makefile.am: Update. | |
5188 | * gnulib/Makefile.in: Update. | |
5189 | * gnulib/m4/gnulib-cache.m4: Update. | |
5190 | * gnulib/m4/gnulib-comp.m4: Update. | |
5191 | * gnulib/inttypes.in.h: New. | |
5192 | * gnulib/m4/inttypes-pri.m4: New. | |
a09130f9 | 5193 | * gnulib/m4/inttypes.m4: New. |
55a8c076 | 5194 | |
ca7781d2 LM |
5195 | 2012-04-13 Luis Machado <[email protected]> |
5196 | ||
5197 | * infrun.c (resume): Update PC address to the real PC after | |
5198 | preparing to do displaced stepping. | |
5199 | ||
e319fa28 DE |
5200 | 2012-04-12 Doug Evans <[email protected]> |
5201 | ||
5202 | * dwarf2read.c (lookup_signatured_type): Remove arg "objfile", unused. | |
5203 | All callers updated. | |
5204 | ||
15add3f5 MK |
5205 | 2012-04-12 Mark Kettenis <[email protected]> |
5206 | ||
5207 | * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype. | |
5208 | ||
52dc124a DE |
5209 | 2012-04-12 Doug Evans <[email protected]> |
5210 | ||
0e50663e DE |
5211 | * dwarf2read.c (create_all_type_units): Renamed from |
5212 | create_debug_types_hash_table. All callers updated. | |
5213 | ||
52dc124a DE |
5214 | * dwarf2read.c (create_signatured_type_table_from_index): Rename |
5215 | local type_sig to sig_type, type_offset to type_offset_in_tu. | |
5216 | (hash_signatured_type): Renamed from hash_type_signature, | |
5217 | all callers updated. | |
5218 | (eq_signatured_type): Renamed from eq_type_signature, | |
5219 | all callers updated. | |
5220 | (create_debug_types_hash_table): Rename local type_sig to sig_type. | |
5221 | (process_enumeration_scope): Ditto. | |
5222 | (lookup_signatured_type_at_offset): Ditto. | |
5223 | (load_full_type_unit, read_signatured_type): Ditto. | |
5224 | ||
248fd3bf YQ |
5225 | 2012-04-12 Yao Qi <[email protected]> |
5226 | ||
5227 | * remote.c (async_remote_interrupt): Correct function name in | |
5228 | debug message. | |
5229 | (async_remote_interrupt_twice): Ditto. | |
5230 | ||
bc3aa6c3 DE |
5231 | 2012-04-11 Yuanhui Zhang <[email protected]> |
5232 | ||
5233 | * source.c (find_and_open_source): Consistently pass resulting | |
5234 | full path through xfullpath. | |
5235 | ||
9e529e1d JK |
5236 | 2012-04-11 Jan Kratochvil <[email protected]> |
5237 | ||
5238 | Provide more specific displaced-stepping memory error message. | |
5239 | * infrun.c (displaced_step_prepare): New variable status. Call | |
5240 | target_read_memory instead of read_memory, provide more specific | |
5241 | error message. | |
5242 | ||
82e0cec1 TG |
5243 | 2012-04-11 Tristan Gingold <[email protected]> |
5244 | ||
5245 | PR gdb/13901 | |
5246 | * darwin-nat.c (darwin_execvp): Revert previous patch. | |
5247 | ||
d987a266 TG |
5248 | 2012-04-11 Tristan Gingold <[email protected]> |
5249 | ||
5250 | PR gdb/13901 | |
5251 | * darwin-nat.c (darwin_resume_thread): Call darwin_set_sstep only | |
5252 | in case of change. | |
5253 | ||
016b7430 TG |
5254 | 2012-04-11 Tristan Gingold <[email protected]> |
5255 | ||
5256 | * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix | |
5257 | warning. | |
5258 | ||
06fc020f SCR |
5259 | 2012-04-11 Siva Chandra Reddy <[email protected]> |
5260 | ||
5261 | New command 'explore' which helps explore values and types in | |
5262 | scope. | |
5263 | * NEWS: Add an entry about the new 'explore' command. | |
5264 | * data-directory/Makefile.in: Add gdb/command/explore.py | |
5265 | * python/lib/gdb/command/explore.py: Implemention of the 'explore' | |
a09130f9 | 5266 | command using the GDB Python API. |
06fc020f | 5267 | |
de0919f8 | 5268 | 2012-04-10 Maciej W. Rozycki <[email protected]> |
34b192ce MR |
5269 | |
5270 | * mips-tdep.c (mips_skip_pic_trampoline_code): Correct sign | |
5271 | extension in jump target calculation. | |
5272 | ||
de0919f8 | 5273 | 2012-04-10 Maciej W. Rozycki <[email protected]> |
9e8da49c MR |
5274 | |
5275 | * mips-tdep.c (mips32_next_pc): Handle JALX. | |
5276 | ||
2f26ef89 YQ |
5277 | 2012-04-10 Yao Qi <[email protected]> |
5278 | ||
5279 | * Makefile.in (gnulib/Makefile): Remove duplicated dependency. | |
5280 | ||
2e505b66 YQ |
5281 | 2012-04-10 Yao Qi <[email protected]> |
5282 | ||
5283 | * Makefile.in (aclocal_m4_deps): Add gnulib/m4/gnulib-cache.m4 | |
5284 | and gnulib/m4/gnulib-tool.m4. | |
5285 | ||
0d99eb77 DE |
5286 | 2012-04-10 Doug Evans <[email protected]> |
5287 | ||
5288 | * dwarf2read.c (dwarf2_per_cu_data). Clarify comment. | |
5289 | (load_partial_dies): Clarify comment. | |
5290 | (find_partial_die): Support rereading type units. | |
5291 | Clarify CU handling, if we know offset is in CU, don't search for the | |
5292 | containing CU. Add comment regarding memory waste. | |
5293 | ||
9a82b8ff L |
5294 | 2012-04-10 H.J. Lu <[email protected]> |
5295 | ||
5296 | * features/Makefile (WHICH): Add i386/x32, i386/x32-linux, | |
5297 | i386/x32-avx and i386/x32-avx-linux. | |
5298 | (i386/x32-expedite): New. | |
5299 | (i386/x32-linux-expedite): Likewise. | |
5300 | (i386/x32-avx-expedite): Likewise. | |
5301 | (i386/x32-avx-linux-expedite): Likewise. | |
5302 | ($(outdir)/i386/x32.dat): Likewise. | |
5303 | ($(outdir)/i386/x32-linux.dat): Likewise. | |
5304 | ($(outdir)/i386/x32-avx.dat): Likewise. | |
5305 | ($(outdir)/i386/x32-avx-linux.dat): Likewise. | |
5306 | ||
5307 | * features/i386/x32-avx-linux.xml: New file. | |
5308 | * features/i386/x32-avx.xml: Likewise. | |
5309 | * features/i386/x32-core.xml: Likewise. | |
5310 | * features/i386/x32-linux.xml: Likewise. | |
5311 | * features/i386/x32.xml: Likewise. | |
5312 | ||
5313 | * features/i386/x32-avx-linux.c: New. Generated. | |
5314 | * features/i386/x32-avx.c: Likewise. | |
5315 | * features/i386/x32-linux.c: Likewise. | |
5316 | * features/i386/x32.c: Likewise. | |
5317 | * regformats/i386/x32-avx-linux.dat: Likewise. | |
5318 | * regformats/i386/x32-avx.dat: Likewise. | |
5319 | * regformats/i386/x32-linux.dat: Likewise. | |
5320 | * regformats/i386/x32.dat: Likewise. | |
5321 | ||
ee41036f TG |
5322 | 2012-04-10 Tristan Gingold <[email protected]> |
5323 | ||
5324 | * darwin-nat.c (darwin_kill_inferior): Always use the no ptrace | |
5325 | code to kill the inferior. | |
5326 | ||
a7aa5b8a MK |
5327 | 2012-04-09 Mark Kettenis <[email protected]> |
5328 | ||
5329 | * ada-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
5330 | defines. | |
5331 | * c-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
5332 | defines. | |
a09130f9 | 5333 | * cp-name-parser.y (yyss, yysslim, yyssp, yystacksize, yyvs) |
a7aa5b8a MK |
5334 | (yyvsp): New defines. |
5335 | * f-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
5336 | defines. | |
5337 | * jv-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
5338 | defines. | |
5339 | * m2-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
5340 | defines. | |
5341 | * objc-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
5342 | defines. | |
5343 | * p-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
5344 | defines. | |
5345 | ||
fb57d452 MK |
5346 | 2012-04-09 Mark Kettenis <[email protected]> |
5347 | ||
a09130f9 | 5348 | * sparc64-tdep.c (sparc64_store_arguments) |
fb57d452 MK |
5349 | (sparc64_store_arguments): Fix coding style. |
5350 | ||
cdc7b32f MK |
5351 | 2012-04-07 Mark Kettenis <[email protected]> |
5352 | ||
5353 | * sparc64-tdep.c (sparc64_store_arguments): Fix handling of | |
5354 | complex floats, adjust some related comments and tighten a related | |
5355 | assertion. | |
5356 | (sparc64_extract_return_value): Handle complex floats. | |
5357 | ||
7adf1e79 DE |
5358 | 2012-04-07 Doug Evans <[email protected]> |
5359 | ||
5360 | * dwarf2read.c (load_partial_dies): Change condition to assert. | |
5361 | ||
50f1ae7b DE |
5362 | 2012-04-06 Doug Evans <[email protected]> |
5363 | ||
5364 | * amd64-tdep.c (amd64_analyze_prologue): Recognize both variations of | |
5365 | "mov %rsp,%rbp". | |
5366 | ||
55fa75c3 KB |
5367 | 2012-04-05 Kevin Buettner <[email protected]> |
5368 | ||
5369 | * v850-tdep.c (E_NUM_OF_V850_REGS, E_NUM_OF_V850E_REGS): Fix | |
5370 | fencepost error. | |
5371 | (v850_frame_cache): Use gdbarch_num_regs() instead of E_NUM_REGS. | |
5372 | (v850_gdbarch_init): Set `num_regs' as appropriate for the | |
5373 | architecture. | |
5374 | ||
40e084e1 KS |
5375 | 2012-04-05 Keith Seitz <[email protected]> |
5376 | ||
5377 | * linespec.c (decode_compound): Remove. | |
5378 | (enum offset_relative_sign): New enum. | |
5379 | (struct line_offset): New struct. | |
5380 | (struct linespec): New struct. | |
5381 | (struct linespec_state): Move file_symtabs, | |
5382 | user_filename, and user_function into struct linespec. | |
5383 | Make result an anonymous struct holding vectors of | |
5384 | symbolp and minsym_and_objfile_d. | |
5385 | Add language member. | |
5386 | (enum ls_token_type): New enum. | |
5387 | (linespec_keywords): New array. | |
5388 | (struct ls_token): New struct. | |
5389 | (struct ls_parser): New struct. | |
5390 | (linespec_lexer_lex_number): New function. | |
5391 | (linespec_lexer_lex_keyword): New function. | |
5392 | (is_ada_operator): New function. | |
5393 | (skip_quote_char): New function. | |
5394 | (copy_token_string): New function. | |
5395 | (is_closing_quote_enclosed): New function. | |
5396 | (find_parameter_list_end): New function. | |
5397 | (linespec_lexer_lex_string): New function. | |
5398 | (linespec_lexer_lex_one): New function. | |
5399 | (linespec_lexer_consume_token): New function. | |
5400 | (linespec_lexer_peek_token): New function. | |
5401 | (cplusplus_error): Remove unused function. | |
5402 | (find_methods): Update comment. | |
5403 | (find_toplevel_char): Return const. | |
5404 | (is_objc_method_format): Remove unused function. | |
5405 | (find_toplevel_string): New function. | |
5406 | (is_linespec_boundary): Remove. | |
5407 | (symbol_not_found_error): New function. | |
5408 | (find_method_overload_end): Remove function. | |
5409 | (unexpected_linespec_error): New function. | |
5410 | (keep_name_info): Remove. | |
5411 | (linespec_parse_line_offset): New function. | |
5412 | (linespec_parse_basic): New function. | |
5413 | (canonicalize_linespec): New function. | |
5414 | (decode_line_internal): Remove. | |
5415 | (create_sals_line_offset): New function adapted from | |
5416 | decode_all_digits. | |
5417 | (convert_linespec_to_sals): New function. | |
5418 | (parse_linespec): New function. | |
5419 | (linespec_parser_new): New function. | |
5420 | (linespec_state_destructor): Change parameter type to | |
5421 | struct linespec_state *. | |
5422 | Add language parameter. | |
5423 | Remove freeing of moved members. | |
5424 | (linespec_parser_delete): New function. | |
5425 | (decode_line_full): Use parse_linespec and linespec_parser_new. | |
5426 | (decode_line_1): Likewise. | |
5427 | (decode_indirect): Rename to ... | |
5428 | (linespec_expression_to_pc): ... this and rewrite | |
5429 | to simply find CORE_ADDR, storing this result for later | |
5430 | conversion to SALs. | |
5431 | (locate_first_half): Remove. | |
5432 | (deocde_objc): Add parameter LS. | |
5433 | Initialize new struct collect_info members. | |
5434 | Handle minimal symbols, too. | |
5435 | (decode_compound): Delete. | |
5436 | (lookup_prefix_sym): Rewrite. | |
5437 | (compare_msymbols): New function. | |
5438 | (find_method): Rewrite. | |
5439 | Do not call cplusplus_error. | |
5440 | (symtabs_from_filename): Rewrite. | |
5441 | (collect_function_symbols): Delete. | |
5442 | (find_function_symbols): Rewrite without ARGPTR-style | |
5443 | processing. | |
5444 | (decode_all_digits): Delete. (Rewritten as create_sals_line_offset.) | |
5445 | (decode_dollar): Adapted and renamed to ... | |
5446 | (linespec_parse_variable): ... this. | |
5447 | (find_linespec_symbols): New function. | |
5448 | (decode_label): Adapted and renamed to ... | |
5449 | (find_label_symbols): ... this. | |
5450 | (decode_digits_list_mode): Add and use LS argument. | |
5451 | (decode_digits_ordinary): Likewise. | |
5452 | (collect_symbols): Do not collect SALs, just symbols and msymbols. | |
5453 | If in list mode, allow any symbol class. Otherwise, only | |
5454 | permit LOC_BLOCK symbols. | |
5455 | (minsym_found): Update comments. | |
5456 | (search_minsyms_for_name): Do not convert the matching symbol | |
5457 | into a SAL. Simply push the symbol and objfile into the | |
5458 | result vector. | |
5459 | (decode_variable): Delete. Contents adapted into | |
5460 | find_linespec_symbols. | |
5461 | ||
5462 | * cp-support.c (SKIP_SPACE): Remove. | |
5463 | (operator_tokens): Remove unused global. | |
5464 | (cp_validate_operator): Remove. | |
5465 | * cp-support.h (cp_validate_operator): Remove declaration. | |
5466 | ||
a72c8f6a JK |
5467 | 2012-04-03 Jan Kratochvil <[email protected]> |
5468 | ||
5469 | * cp-valprint.c (cp_print_value_fields): Check valprint_check_validity | |
5470 | for TYPE_VPTR_FIELDNO. | |
5471 | * valprint.c (valprint_check_validity): Make it global, move the | |
5472 | function comment ... | |
5473 | * value.h (valprint_check_validity): ... to this new declaration. | |
5474 | ||
cf9bb588 TG |
5475 | 2012-04-02 Tristan Gingold <[email protected]> |
5476 | ||
5477 | * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Use | |
5478 | the STATE32 api for i386 state. | |
5479 | (i386_darwin_store_inferior_registers): Likewise. | |
5480 | ||
17092398 TG |
5481 | 2012-04-02 Tristan Gingold <[email protected]> |
5482 | ||
5483 | * i386-darwin-tdep.c (i386_darwin_thread_state_reg_offset): Fix | |
5484 | SS offset. | |
5485 | * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix | |
5486 | format_string. | |
5487 | ||
ece0061f TG |
5488 | 2012-04-02 Tristan Gingold <[email protected]> |
5489 | ||
5490 | PR gdb/13901 | |
d987a266 | 5491 | * darwin-nat.c (darwin_execvp): Set binary preference. |
ece0061f | 5492 | |
cf65ecd3 JK |
5493 | 2012-04-02 Jan Kratochvil <[email protected]> |
5494 | ||
5495 | * NEWS (set breakpoint condition-evaluation): Use imperative mood. | |
5496 | ||
9bc3523d TT |
5497 | 2012-03-30 Tom Tromey <[email protected]> |
5498 | ||
5499 | * python/python.c (gdbpy_decode_line): Move cleanup creation out | |
5500 | of TRY_CATCH. Fix error handling. | |
5501 | * python/py-value.c (convert_value_from_python): Move 'old' | |
5502 | declaration to innermost scope. | |
5503 | ||
b1ed564a JB |
5504 | 2012-03-29 Joel Brobecker <[email protected]> |
5505 | Andrey Smirnov <[email protected]> | |
5506 | ||
5507 | -Wshadow warning fix. | |
5508 | * ada-lang.c (ada_make_symbol_completion_list): Rename parameters | |
5509 | "wild_match" and "encoded" into "wild_match_p" and "encoded_p". | |
5510 | Adjust code accordingly. | |
5511 | ||
cb8e9b97 JB |
5512 | 2012-03-29 Joel Brobecker <[email protected]> |
5513 | ||
5514 | * ada-lang.c (symbol_completion_add): Rename parameter | |
5515 | "encoded" into "encoded_p". Ajust code and documentation | |
5516 | accordingly. | |
5517 | ||
c0af1706 JB |
5518 | 2012-03-29 Joel Brobecker <[email protected]> |
5519 | Andrey Smirnov <[email protected]> | |
5520 | ||
5521 | -Wshadow warning fix. | |
5522 | * ada-lang.c (symbol_completion_add): Rename parameter | |
5523 | "wild_match" into wild_match_p. Update code and documentation | |
5524 | accordingly. | |
5525 | ||
6ea35997 JB |
5526 | 2012-03-29 Joel Brobecker <[email protected]> |
5527 | ||
5528 | * ada-lang.c (symbol_completion_match): Rename parameter | |
5529 | "encoded" into "encoded_p". Ajust code and documentation | |
5530 | accordingly. | |
5531 | ||
e701b3c0 JB |
5532 | 2012-03-29 Joel Brobecker <[email protected]> |
5533 | Andrey Smirnov <[email protected]> | |
5534 | ||
5535 | -Wshadow warning fix. | |
5536 | * ada-lang.c (symbol_completion_match): Rename parameter | |
5537 | "wild_match" into "wild_match_p". Adjust code and function | |
5538 | documentation accordingly. | |
5539 | ||
5e2336be JB |
5540 | 2012-03-29 Joel Brobecker <[email protected]> |
5541 | Andrey Smirnov <[email protected]> | |
5542 | ||
5543 | -Wshadow warning fix. | |
5544 | * ada-lang.c (ada_lookup_encoded_symbol): Rename parameter | |
5545 | "symbol_info" into "info". Adjust code accordingly. | |
5546 | (ada_lookup_symbol): Likewise. | |
5547 | ||
9f88c959 JB |
5548 | 2012-03-29 Joel Brobecker <[email protected]> |
5549 | ||
5550 | * ada-lang.c (ada_lookup_symbol_list): Minor reformatting | |
5551 | of this function's documentation. | |
5552 | ||
82ccd55e JB |
5553 | 2012-03-29 Joel Brobecker <[email protected]> |
5554 | Andrey Smirnov <[email protected]> | |
5555 | ||
5556 | -Wshadow warning fix. | |
5557 | * ada-lang.c (ada_lookup_symbol_list): Rename "wild_match" | |
5558 | variable into "wild_match_p". Adjust code accordingly. | |
5559 | ||
d0a8ab18 JB |
5560 | 2012-03-29 Joel Brobecker <[email protected]> |
5561 | Andrey Smirnov <[email protected]> | |
5562 | ||
5563 | -Wshadow warning fix. | |
5564 | * ada-lang.c (ada_add_local_symbols): Rename "wild_match" | |
5565 | parameter into "wild_match_p". Adjust code accordingly. | |
5566 | Document this parameter in the function description. | |
5567 | ||
48b78332 JB |
5568 | 2012-03-29 Joel Brobecker <[email protected]> |
5569 | Andrey Smirnov <[email protected]> | |
5570 | ||
5571 | -Wshadow warning fix. | |
5572 | * ada-lang.c (add_symbols_from_enclosing_procs): Rename | |
5573 | "wild_match" parameter to "wild_match_p" (-Wshadow). | |
5574 | ||
2e6e0353 JB |
5575 | 2012-03-29 Joel Brobecker <[email protected]> |
5576 | ||
5577 | * ada-lang.c (ada_lookup_simple_minsym): Remove trailing spaces | |
5578 | in function documentation. | |
5579 | ||
dc4024cd JB |
5580 | 2012-03-29 Joel Brobecker <[email protected]> |
5581 | Andrey Smirnov <[email protected]> | |
5582 | ||
5583 | -Wshadow warning fix. | |
5584 | * ada-lang.c (ada_lookup_simple_minsym): Rename wild_match local | |
5585 | variable into wild_match_p. Adjust code accordingly. | |
5586 | ||
6c88661c JB |
5587 | 2012-03-29 Joel Brobecker <[email protected]> |
5588 | Andrey Smirnov <[email protected]> | |
5589 | ||
5590 | * ada-valprint.c (ada_val_print_1): Move the code handling | |
5591 | TYPE_CODE_ENUM inside its own lexical block. Declare | |
5592 | variables len and val there, instead of in the function's | |
5593 | top level block. Avoid declaring deref_val again in a way | |
5594 | that shadows another variable of the same name declared | |
5595 | in one of the up-level blocks. Just re-use the up-level | |
5596 | variable instead. | |
5597 | ||
4e5c77fe JB |
5598 | 2012-03-29 Joel Brobecker <[email protected]> |
5599 | ||
5600 | * ada-lang.c (ada_lookup_encoded_symbol): Now returns void. | |
5601 | Replace block_found argument by symbol_info. Adjust | |
5602 | implementation accordingly. Add function documentation. | |
5603 | (ada_lookup_symbol): Adjust to new ada_lookup_encoded_symbol. | |
5604 | Fix documentation. | |
5605 | * ada-lang.h (ada_lookup_encoded_symbol): Update declaration. | |
5606 | * ada-exp.y (write_object_renaming): Adjust to new | |
5607 | ada_lookup_encoded_symbol API. | |
5608 | ||
1c0ac8c7 JB |
5609 | 2012-03-29 Joel Brobecker <[email protected]> |
5610 | ||
5611 | * ada-lang.h (struct ada_symbol_info): Reformat. Improve | |
5612 | documentation. | |
5613 | ||
2aaed979 KB |
5614 | 2012-03-28 Rathish C <[email protected]> |
5615 | ||
5616 | * v850-tdep.c: Add the enum values for mpu and fpu registers. | |
5617 | (v850_register_name): Add the mpu and fpu register names. | |
5618 | (v850e_register_name): Add the mpu and fpu register names. | |
5619 | (v850e2_register_name): New function. | |
a09130f9 | 5620 | (v850_gdbarch_init): Add case for bfd_mach_v850e2 and |
2aaed979 KB |
5621 | bfd_mach_v850e2v3. |
5622 | ||
927fbba6 JB |
5623 | 2012-03-28 Joel Brobecker <[email protected]> |
5624 | ||
5625 | * NEWS: Add entry for Ada varobj support. | |
5626 | ||
d32cafc7 JB |
5627 | 2012-03-28 Joel Brobecker <[email protected]> |
5628 | ||
5629 | * varobj.c (default_value_is_changeable_p): New function, | |
5630 | extracted from varobj_value_is_changeable_p. Add declaration. | |
5631 | (ada_value_is_changeable_p): New function, extracted from | |
5632 | varobj_value_is_changeable_p. Add declaration. | |
5633 | (struct language_specific): New field "value_is_changeable_p". | |
5634 | (languages): Add entries for new field. | |
5635 | (varobj_create): Set language before calling install_new_value. | |
5636 | (varobj_value_is_changeable_p): Reimplement to call the varobj's | |
5637 | "value_is_changeable_p" language callback. | |
5638 | ||
181875a4 JB |
5639 | 2012-03-28 Joel Brobecker <[email protected]> |
5640 | ||
5641 | * ada-varobj.h, ada-varobj.c: New files. | |
5642 | * Makefile.in (SFILES): Add ada-varobj.c. | |
5643 | (HFILES_NO_SRCDIR): Add ada-varobj.h. | |
5644 | (COMMON_OBS): Add ada-varobj.o. | |
5645 | ||
7a290c40 JB |
5646 | 2012-03-28 Joel Brobecker <[email protected]> |
5647 | ||
5648 | * varobj.c (ada_value_has_mutated): Add declaration. New function. | |
5649 | (struct language_specific): New field "value_has_mutated". | |
5650 | (languages): Set field "value_has_mutated" in each entry of array. | |
5651 | (varobj_value_has_mutated): New function. | |
5652 | (varobj_udpdate): Add handling of type mutation. | |
5653 | (value_of_root): Add handling of type mutation. | |
5654 | (ada_value_has_mutated): New function. | |
5655 | ||
ca9b8b9c PA |
5656 | 2012-03-28 Pedro Alves <[email protected]> |
5657 | ||
5658 | * ia64-linux-nat.c (supply_fpregset, ia64_linux_fetch_register): | |
5659 | Always supply $fr0 as 0.0 and $fr1 as 1.0. | |
5660 | ||
cc0265cd TT |
5661 | 2012-03-28 Tom Tromey <[email protected]> |
5662 | ||
5663 | * python/py-inferior.c (infpy_read_memory): Remove cleanups and | |
5664 | explicitly free 'buffer' on exit paths. Decref 'membuf_object' | |
5665 | before returning. | |
5666 | ||
3ad2ec6f TT |
5667 | 2012-03-28 Tom Tromey <[email protected]> |
5668 | ||
5669 | * .dir-locals.el: New file. | |
5670 | ||
4a6510ba PA |
5671 | 2012-03-28 Pedro Alves <[email protected]> |
5672 | ||
5673 | * ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC. | |
5674 | ||
5a75128f JB |
5675 | 2012-03-28 Joel Brobecker <[email protected]> |
5676 | ||
5677 | * ia64-linux-nat.c (ia64_linux_fetch_register): Add special | |
5678 | handling for r0. | |
5679 | ||
f99d8bf4 PA |
5680 | 2012-03-27 Pedro Alves <[email protected]> |
5681 | ||
5682 | Eliminate struct ui_stream. | |
5683 | ||
5684 | * ui-out.h (struct ui_stream): Delete. | |
5685 | (ui_out_field_stream): Adjust prototype. | |
5686 | (ui_out_stream_new, ui_out_stream_delete) | |
5687 | (make_cleanup_ui_out_stream_delete): Delete declarations. | |
5688 | * ui-out.c (ui_out_field_stream): Change prototype to take a | |
5689 | ui_file instead of a ui_stream. Adjust. | |
5690 | (ui_out_stream_new, ui_out_stream_delete, do_stream_delete) | |
5691 | (make_cleanup_ui_out_stream_delete): Delete. | |
5692 | * breakpoint.c (print_breakpoint_location) | |
5693 | (print_one_detail_ranged_breakpoint, print_it_watchpoint): Use | |
5694 | ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new. | |
5695 | * disasm.c (dump_insns): Ditto. | |
5696 | (do_mixed_source_and_assembly, do_assembly_only): Adjust | |
5697 | prototype. | |
5698 | (gdb_disassembly): Use ui_file/mem_fileopen instead of | |
5699 | ui_stream/ui_out_stream_new. | |
5700 | * infcmd.c (print_return_value): Ditto. | |
5701 | * osdata.c (info_osdata_command): Don't allocate a local | |
5702 | ui_stream. | |
5703 | * stack.c (print_frame_arg, print_frame_args, print_frame): Use | |
5704 | ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new. | |
5705 | * tracepoint.c (print_one_static_tracepoint_marker): Don't | |
5706 | allocate a local ui_stream. | |
5707 | * mi/mi-cmd-stack.c (list_arg_or_local): Use ui_file/mem_fileopen | |
5708 | instead of ui_stream/ui_out_stream_new. | |
5709 | (list_args_or_locals): Don't allocate a local ui_stream. | |
5710 | * mi/mi-main.c (get_register, mi_cmd_data_evaluate_expression) | |
5711 | (mi_cmd_data_read_memory): Use ui_file/mem_fileopen instead of | |
5712 | ui_stream/ui_out_stream_new. | |
5713 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
5714 | ||
6350a066 | 5715 | 2012-03-27 Oza Pawandeep <[email protected]> |
72508ac0 | 5716 | |
6350a066 PA |
5717 | * arm-linux-tdep.c (arm_linux_init_abi): Call |
5718 | set_gdbarch_process_record. Initialize `arm_swi_record' field. | |
5719 | * arm-tdep.c (arm_process_record): New function. | |
5720 | (deallocate_reg_mem): New function. | |
5721 | (decode_insn): New function. | |
5722 | (thumb_record_branch): New function. | |
5723 | (thumb_record_ldm_stm_swi(): New function. | |
5724 | (thumb_record_misc): New function. | |
5725 | (thumb_record_ld_st_stack): New function. | |
5726 | (thumb_record_ld_st_imm_offset): New function. | |
5727 | (thumb_record_ld_st_reg_offset(): New function. | |
5728 | (thumb_record_add_sub_cmp_mov): New function. | |
5729 | (thumb_record_shift_add_sub): New function. | |
5730 | (arm_record_coproc_data_proc): New function. | |
5731 | (arm_record_coproc): New function. | |
5732 | (arm_record_b_bl): New function. | |
5733 | (arm_record_ld_st_multiple): New function. | |
5734 | (arm_record_ld_st_reg_offset): New function. | |
5735 | (arm_record_ld_st_imm_offset): New function. | |
5736 | (arm_record_data_proc_imm): New function. | |
5737 | (arm_record_data_proc_misc_ld_str): New function. | |
5738 | (arm_record_extension_space): New function. | |
5739 | (arm_record_strx): New function. | |
5740 | (sbo_sbz): New function. | |
5741 | (struct insn_decode_record): New structure for arm insn record. | |
5742 | (REG_ALLOC): New macro for reg allocations. | |
5743 | (MEM_ALLOC): New macro for memory allocations. | |
5744 | * arm-tdep.h (struct gdbarch_tdep): New field 'arm_swi_record'. | |
72508ac0 | 5745 | |
89e028e2 AS |
5746 | 2012-03-27 Andreas Schwab <[email protected]> |
5747 | ||
5748 | * m68klinux-nat.c (fetch_register): Fix strict-aliasing violation. | |
5749 | (store_register): Likewise. | |
5750 | ||
6350a066 | 5751 | 2012-03-26 Oza Pawandeep <[email protected]> |
3d9a9eb0 | 5752 | |
6350a066 | 5753 | * MAINTAINERS (Write After Approval): Add myself to the list. |
3d9a9eb0 | 5754 | |
5b43fab2 JK |
5755 | 2012-03-25 Jan Kratochvil <[email protected]> |
5756 | ||
5757 | * NEWS (set breakpoint condition-evaluation): Change "gdb" to "host". | |
5758 | Describe also the option "auto". | |
5759 | ||
b5453b95 RH |
5760 | 2012-03-22 Richard Henderson <[email protected]> |
5761 | ||
5762 | * sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype. | |
5763 | * sparc-nat.c (sparc_xfer_wcookie): Make static. | |
5764 | ||
227ee7fc RH |
5765 | 2012-03-22 Richard Henderson <[email protected]> |
5766 | ||
5767 | * jit.c (jit_read_code_entry): Compute alignment and offset of | |
5768 | int64_t member before computing entry_size. | |
5769 | ||
7b282c5a SCR |
5770 | 2012-03-22 Siva Chandra Reddy <[email protected]> |
5771 | ||
5772 | Python scripting: Add new method Value.referenced_value to | |
5773 | gdb.Value which can dereference pointer as well as reference | |
5774 | values. | |
5775 | * NEWS: Add entry under 'Python scripting' about the new method | |
5776 | Value.referenced_value on gdb.Value objects. | |
5777 | * python/py-value.c (valpy_referenced_value): New function | |
5778 | defining a new method on gdb.Value objects which can dereference | |
5779 | pointer and reference values. | |
5780 | ||
0c83539f SCR |
5781 | 2012-03-22 Siva Chandra Reddy <[email protected]> |
5782 | ||
5783 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
5784 | ||
7ccffd7c KB |
5785 | 2012-03-21 Kevin Buettner <[email protected]> |
5786 | ||
5787 | * symtab.c (skip_prologue_sal): Change test to check for "main()" | |
5788 | in addition to "main". | |
5789 | ||
bd0b9f9e JB |
5790 | 2012-03-21 Joel Brobecker <[email protected]> |
5791 | ||
5792 | * expression.h (op_name): Add declaration. | |
5793 | * expprint.c (op_name): Remove declaration. Make non-static. | |
5794 | * ax-gdb.c (gen_expr): Use op_name instead of op_string. | |
5795 | ||
a5362b9a TS |
5796 | 2012-03-21 Thomas Schwinge <[email protected]> |
5797 | ||
5798 | * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Use siginfo_t instead | |
5799 | of struct siginfo. | |
5800 | * arm-linux-nat.c (arm_linux_stopped_data_address): Likewise. | |
5801 | * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise. | |
5802 | * linux-nat.c (linux_nat_siginfo_fixup, siginfo_fixup) | |
5803 | (linux_xfer_siginfo, linux_nat_set_siginfo_fixup) | |
5804 | (linux_nat_get_siginfo): Likewise. | |
5805 | * linux-nat.h (struct lwp_info, linux_nat_set_siginfo_fixup) | |
5806 | (linux_nat_get_siginfo): Likewise. | |
5807 | * linux-tdep.c (linux_get_siginfo_type): Likewise. | |
5808 | * ppc-linux-nat.c (ppc_linux_stopped_data_address): Likewise. | |
5809 | * procfs.c (gdb_siginfo_t): Likewise. | |
5810 | ||
adcadaab MF |
5811 | 2012-03-21 Mike Frysinger <[email protected]> |
5812 | ||
5813 | * .gitignore: Ignore more files. | |
5814 | ||
e278ad5b PA |
5815 | 2012-03-20 Pedro Alves <[email protected]> |
5816 | ||
5817 | * remote.c (remote_start_remote): Clear `rs->starting_up' on early | |
5818 | returns. | |
5819 | ||
741e63d7 YQ |
5820 | 2012-03-20 Yao Qi <[email protected]> |
5821 | ||
5822 | * amd64-tdep.c (amd64_displaced_step_copy_insn): Complete missing "}" in | |
5823 | comment. | |
5824 | ||
b64f50a1 JK |
5825 | 2012-03-19 Jan Kratochvil <[email protected]> |
5826 | ||
5827 | Code cleanupp: Use cu_offset and sect_offset compile time type checking. | |
5828 | * dwarf2expr.c (add_piece, dwarf_get_base_type, execute_stack_op) | |
5829 | (ctx_no_dwarf_call, ctx_no_get_base_type): Use cu_offset and | |
5830 | sect_offset. | |
5831 | * dwarf2expr.h (cu_offset, sect_offset): New types. | |
5832 | (struct dwarf_expr_context_funcs) <dwarf_call> | |
5833 | (struct dwarf_expr_context_funcs) <get_base_type>: Use cu_offset and | |
5834 | sect_offset. | |
5835 | (struct dwarf_expr_context) <len>: Improve the comment. | |
5836 | (struct dwarf_expr_piece, ctx_no_dwarf_call, ctx_no_get_base_type): Use | |
5837 | cu_offset and sect_offset. | |
5838 | * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call) | |
5839 | (dwarf_expr_get_base_type, needs_frame_dwarf_call) | |
5840 | (dwarf2_compile_expr_to_ax, disassemble_dwarf_expression): Likewise. | |
5841 | * dwarf2loc.h: Include dwarf2expr.h. | |
5842 | (dwarf2_fetch_die_location_block, dwarf2_get_die_type): Use cu_offset | |
5843 | and sect_offset. | |
5844 | * dwarf2read.c (struct dwarf2_per_objfile) <debug_types_type_hash>: | |
5845 | Improve the comment. | |
5846 | (struct comp_unit_head, struct dwarf2_cu, struct dwarf2_per_cu_data) | |
5847 | (struct signatured_type, struct line_header, struct partial_die_info) | |
5848 | (struct die_info, find_partial_die, dwarf2_get_ref_die_offset) | |
5849 | (lookup_signatured_type_at_offset, dwarf2_find_containing_comp_unit) | |
5850 | (get_die_type_at_offset, create_cus_from_index) | |
5851 | (create_signatured_type_table_from_index, dw2_get_file_names) | |
5852 | (offset_in_cu_p, read_comp_unit_head, error_check_comp_unit_head) | |
5853 | (read_and_check_comp_unit_head, read_and_check_type_unit_head) | |
5854 | (create_debug_types_hash_table, process_psymtab_comp_unit) | |
5855 | (load_partial_comp_unit, create_all_comp_units) | |
5856 | (partial_die_parent_scope, partial_die_full_name, skip_one_die) | |
5857 | (load_full_comp_unit, dwarf2_physname, read_import_statement) | |
5858 | (inherit_abstract_dies, read_func_scope, read_call_site_scope) | |
5859 | (dwarf2_add_member_fn, process_enumeration_scope, read_module_type) | |
5860 | (read_typedef, die_hash, die_eq, read_full_die, dwarf2_read_abbrevs) | |
5861 | (load_partial_dies, read_partial_die, find_partial_die_in_comp_unit) | |
5862 | (find_partial_die, read_attribute_value, lookup_die_type) | |
5863 | (dump_die_shallow, store_in_ref_table): Use cu_offset and sect_offset. | |
5864 | (is_ref_attr): New function comment. | |
5865 | (dwarf2_get_ref_die_offset): New function comment, new variable retval. | |
5866 | Use cu_offset and sect_offset. | |
5867 | (follow_die_offset, follow_die_ref, dwarf2_fetch_die_location_block) | |
5868 | (dwarf2_get_die_type, follow_die_sig, lookup_signatured_type_at_offset) | |
5869 | (load_full_type_unit, read_signatured_type, per_cu_header_read_in) | |
5870 | (dwarf2_find_containing_comp_unit, struct dwarf2_offset_and_type) | |
5871 | (offset_and_type_hash, offset_and_type_eq, set_die_type) | |
5872 | (get_die_type_at_offset, partial_die_hash, partial_die_eq) | |
5873 | (write_one_signatured_type, write_psymtabs_to_index): Use cu_offset and | |
5874 | sect_offset. | |
5875 | ||
e97a38f7 JK |
5876 | 2012-03-19 Jan Kratochvil <[email protected]> |
5877 | ||
5878 | Code cleanup. | |
5879 | * python/py-auto-load.c (source_section_scripts): New variable back_to. | |
5880 | Turn fclose and xfree calls into make_cleanup_fclose and make_cleanup | |
5881 | with xfree. | |
5882 | (auto_load_objfile_script): Turn fclose into make_cleanup_fclose. | |
5883 | ||
8320cc4f JK |
5884 | 2012-03-19 Jan Kratochvil <[email protected]> |
5885 | ||
5886 | * NEWS: Describe new options --init-command=FILE, -ix and | |
5887 | --init-eval-command=COMMAND, -iex. | |
5888 | * main.c (struct cmdarg): New enum items CMDARG_INIT_FILE and | |
5889 | CMDARG_INIT_COMMAND. | |
5890 | (captured_main): New enum items OPT_IX and OPT_IEX. Add | |
5891 | "init-command", "init-eval-command", "ix" and "iex" to the variable | |
5892 | long_options. Handle OPT_IX and OPT_IEX. Process them from CMDARG_VEC. | |
5893 | New comment for CMDARG_FILE and CMDARG_COMMAND processing. | |
5894 | (print_gdb_help): Describe --init-command=FILE, -ix and | |
5895 | --init-eval-command=COMMAND, -iex. | |
5896 | ||
26743505 JK |
5897 | 2012-03-19 Jan Kratochvil <[email protected]> |
5898 | ||
5899 | Code cleanup. | |
5900 | * main.c (struct cmdarg): Move it here from main. Add more comments. | |
5901 | (cmdarg_s, VEC (cmdarg_s)): New. | |
5902 | (main): Move struct cmdarg from here. New variables cmdarg_vec and | |
5903 | cmdarg_p. Remove variables cmdsize and ncmd and their initialization. | |
5904 | Install cleanup for cmdarg_vec. Update filling for options 'x' and | |
5905 | 'X'. Replace cmdarg processing by cmdarg_vec processing. Remove xfree | |
5906 | of CMDARG. | |
5907 | ||
5ff5c7b4 TT |
5908 | 2012-03-19 Tom Tromey <[email protected]> |
5909 | ||
5910 | * gnu-v3-abi.c (gnuv3_print_vtable): Initialize 'result_vec'. | |
5911 | ||
ab260dad JK |
5912 | 2012-03-16 Jan Kratochvil <[email protected]> |
5913 | ||
5914 | PR symtab/13777 | |
5915 | * dwarf2read.c (process_full_comp_unit): Set LOCATIONS_VALID only for | |
5916 | GCC >=4.5. | |
5917 | ||
c366c1f0 TT |
5918 | 2012-03-16 Chris January <[email protected]> |
5919 | ||
5920 | * tui-tui.win.c (tui_resize_all): Use erase and clearok instead | |
5921 | of clear. | |
5922 | ||
e16edb45 TT |
5923 | 2012-03-16 Chris January <[email protected]> |
5924 | ||
5925 | * source.c (add_path): Use memmove instead of strcpy because the | |
5926 | strings overlap. | |
5927 | ||
53ba8333 JB |
5928 | 2012-03-16 Joel Brobecker <[email protected]> |
5929 | ||
5930 | * value.h (set_value_parent): Add declaration. | |
5931 | * value.c (set_value_parent): New function. | |
5932 | (value_address): If VALUE->PARENT is not NULL, then use it as | |
5933 | the base address instead of VALUE->LOCATION.address. | |
5934 | * ada-lang.c (ada_value_primitive_packed_val): Keep V's address | |
5935 | the same as OBJ's address. Adjust V's offset accordingly. | |
5936 | Set V's parent. | |
5937 | ||
481860b3 GB |
5938 | 2012-03-16 Gary Benson <[email protected]> |
5939 | ||
5940 | PR breakpoints/10738 | |
5941 | * dwarf2read.c (use_deprecated_index_sections): New global. | |
5942 | (struct partial_die_info): New member may_be_inlined. | |
5943 | (read_partial_die): Set may_be_inlined where appropriate. | |
5944 | (add_partial_subprogram): Add partial symbols for partial | |
5945 | DIEs that may be inlined. | |
5946 | (new_symbol_full): Add inlined subroutines to the current | |
5947 | scope. | |
5948 | (write_psymtabs_to_index): Bump version number. | |
5949 | (dwarf2_read_index): Read only version 6 indices unless | |
5950 | use_deprecated_index_sections is set. | |
5951 | * linespec.c (symbol_and_data_callback): New structure. | |
5952 | (iterate_inline_only): New function. | |
5953 | (iterate_over_all_matching_symtabs): New argument | |
5954 | "include_inline". If nonzero, also call the callback for | |
5955 | symbols representing inlined subroutines. | |
5956 | (lookup_prefix_sym): Pass extra argument to the above. | |
5957 | (find_function_symbols): Likewise. | |
5958 | (add_matching_symbols_to_info): Likewise. | |
5959 | * NEWS: Mention that GDB can now set breakpoints on inlined | |
5960 | functions. | |
5961 | ||
d0e7e15a PM |
5962 | 2012-03-16 Pierre Muller <[email protected]> |
5963 | ||
5964 | * p-typeprint.c (pascal_type_print_method_args): | |
5965 | Fix display of parameter of methods. | |
5966 | ||
3d354654 PM |
5967 | 2012-03-16 Pierre Muller <[email protected]> |
5968 | ||
5969 | * amd64-windows-nat.c (_initialize_amd64_windows_nat): | |
5970 | Add missing prototype. | |
5971 | ||
cafe75b0 JK |
5972 | 2012-03-16 Yao Qi <[email protected]> |
5973 | Jan Kratochvil <[email protected]> | |
5974 | ||
5975 | Fix false compilation warning. | |
5976 | * gnu-v3-abi.c (print_one_vtable): Initialize ADDR. | |
5977 | ||
25f8c692 JL |
5978 | 2012-03-15 Jonathan Larmour <[email protected]> |
5979 | Pedro Alves <[email protected]> | |
5980 | ||
5981 | * arm-tdep.c: Include "remote.h" and "features/arm-with-m-fpa-layout.c". | |
5982 | (arm_register_g_packet_guesses): New function. | |
5983 | (arm_gdbarch_init): Don't force a target description with | |
5984 | registers when the executable is detected as M-profile. Instead | |
5985 | set gdbarch->tdep->is_m. Register `g' packet guesses. | |
5986 | (_initialize_arm_tdep): Initialize the new target description. | |
5987 | * features/arm-with-m-fpa-layout.xml: New description. | |
5988 | * features/arm-with-m-fpa-layout.c: New, generated. | |
5989 | ||
35c63cd8 JB |
5990 | 2012-03-15 Joel Brobecker <[email protected]> |
5991 | ||
5992 | * breakpoint.c (breakpoint_xfer_memory): Add assertion. | |
5993 | Update function description. | |
5994 | (insert_bp_location): Do not wipe bl->target_info out. | |
5995 | * mem-break.c: #include "gdb_string.h". | |
5996 | (default_memory_insert_breakpoint): Do not call target_read_memory | |
5997 | with a pointer to the breakpoint's shadow_contents buffer. Use | |
5998 | a local buffer instead. | |
5999 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Ditto. | |
6000 | ||
57651221 TT |
6001 | 2012-03-15 Tom Tromey <[email protected]> |
6002 | ||
6003 | * NEWS: Mention "info vtbl", not "info vtable". | |
6004 | * cp-support.c (info_vtbl_command): Fix comment. | |
6005 | (_initialize_cp_support): Fix text. | |
6006 | ||
410528f0 TT |
6007 | 2012-03-15 Tom Tromey <[email protected]> |
6008 | ||
6009 | * cp-valprint.c (cp_print_value_fields): Use | |
6010 | print_function_pointer_address for vtable slot. | |
6011 | ||
c4aeac85 TT |
6012 | 2012-03-15 Tom Tromey <[email protected]> |
6013 | ||
6014 | * gnu-v3-abi.c (struct value_and_voffset): New. | |
6015 | (hash_value_and_voffset, eq_value_and_voffset) | |
6016 | (compare_value_and_voffset, compute_vtable_size) | |
6017 | (print_one_vtable, gnuv3_print_vtable): New functions. | |
6018 | (init_gnuv3_ops): Initialize 'print_vtable' field. | |
6019 | * cp-support.c (info_vtbl_command): New function. | |
6020 | (_initialize_cp_support): Add "info vtbl". | |
6021 | * cp-abi.h (cplus_print_vtable): Declare. | |
6022 | (struct cp_abi_ops) <print_vtable>: New field. | |
6023 | * cp-abi.c (cplus_print_vtable): New function. | |
6024 | * NEWS: Update. | |
6025 | ||
95cbceff TT |
6026 | 2012-03-15 Tom Tromey <[email protected]> |
6027 | ||
6028 | * d-lang.c (d_language_defn) <la_iterate_over_symbols>: Set to | |
6029 | iterate_over_symbols. | |
6030 | ||
589b4a32 DE |
6031 | 2012-03-14 Doug Evans <[email protected]> |
6032 | ||
6033 | * dwarf2read.c (dwarf_stack_op_name): Add DW_OP_GNU_encoded_addr, | |
6034 | DW_OP_GNU_parameter_ref. | |
6035 | ||
e837f12a JK |
6036 | 2012-03-14 Jan Kratochvil <[email protected]> |
6037 | ||
6038 | Fix double prompt of 'interpreter-exec mi'. | |
6039 | * mi/mi-interp.c (mi_execute_command_input_handler): New prototype. | |
6040 | (mi_interpreter_resume): use it. | |
6041 | (mi_execute_command_input_handler): New function. | |
6042 | * mi/mi-main.c (mi_execute_command): Move prompt printing to | |
6043 | mi_execute_command_input_handler. | |
6044 | ||
ff1e4526 | 6045 | 2012-03-13 Josh Matthews <[email protected]> (tiny change) |
c381a3f6 JB |
6046 | |
6047 | * darwin-nat-info.c (_initialize_darwin_info_commands): Add | |
6048 | prototype. | |
6049 | (darwin_debug_port_info): Make static. | |
6050 | * darwin-nat.c (_initialize_darwin_inferior): Add prototype. | |
6051 | * machoread.c (_initialize_machoread): Add prototype. | |
6052 | * i386-darwin-nat.c (i386_darwin_dr_set, i386_darwin_dr_get) | |
6053 | (i386_darwin_set_control, i386_darwin_get_control) | |
6054 | i386_darwin_dr_set_addr, i386_darwin_get_addr) | |
6055 | i386_darwin_get_status, i386_darwin_get_control): | |
6056 | Comment out with HW_WATCHPOINT_NOT_YET_ENABLED macro. | |
6057 | ||
d8a5d6ee JB |
6058 | 2012-03-13 Joel Brobecker <[email protected]> |
6059 | ||
6060 | * ax-gdb.c (gen_usual_unary): Remove special handling of | |
6061 | enum and bool types. | |
6062 | ||
af381b8c JB |
6063 | 2012-03-13 Joel Brobecker <[email protected]> |
6064 | ||
6065 | * ax-gdb.c (gen_fetch): Add handling for TYPE_CODE_RANGE types. | |
6066 | ||
786c562f JB |
6067 | 2012-03-13 Joel Brobecker <[email protected]> |
6068 | ||
6069 | * aix-thread.c (supply_fprs): Make more consistent with fill_fprs. | |
6070 | ||
e3ebf1bb JB |
6071 | 2012-03-13 Chris January <[email protected]> |
6072 | ||
6073 | * aix-thread.c (fill_sprs): Store the floating point registers | |
6074 | at the correct offsets into vals. | |
6075 | ||
c5b7e1cb DE |
6076 | 2012-03-13 Doug Evans <[email protected]> |
6077 | ||
16899756 DE |
6078 | * NEWS: Mention symbol-reloading has been deleted. |
6079 | * symfile.c (symbol_reloading): Delete. | |
6080 | (show_symbol_reloading): Delete. | |
6081 | (_initialize_symfile): Delete set/show symbol-reloading. | |
6082 | ||
c5b7e1cb DE |
6083 | * dwarf2read.c (load_partial_comp_unit): Defer adding cu to |
6084 | read_in_chain until we have successfully read it in. | |
6085 | (load_full_comp_unit): Ditto. | |
6086 | (read_signatured_type): Add comment. | |
6087 | ||
46cb6474 JB |
6088 | 2012-03-13 Chris January <[email protected]> |
6089 | ||
6090 | * stabsread.c (fix_common_block): Change type of valu argument | |
6091 | to CORE_ADDR. | |
6092 | ||
76219d77 JB |
6093 | 2012-03-13 Chris January <[email protected]> |
6094 | ||
6095 | * rs6000-tdep.c (skip_prologue): Support the oril r29, r1, 0x0 | |
6096 | instruction. | |
6097 | ||
87b0bb13 JK |
6098 | 2012-03-13 Jan Kratochvil <[email protected]> |
6099 | ||
6100 | * common/linux-procfs.c (linux_proc_get_int): New, from | |
6101 | linux_proc_get_tgid, change its LWPID type to pid_t, add parameter | |
6102 | field. | |
6103 | (linux_proc_get_tgid): Only call linux_proc_get_int. | |
6104 | (linux_proc_get_tracerpid): New. | |
6105 | (linux_proc_pid_has_state): New, from linux_proc_pid_is_zombie. | |
6106 | (linux_proc_pid_is_stopped, linux_proc_pid_is_zombie): Only call | |
6107 | linux_proc_pid_has_state. | |
6108 | * common/linux-procfs.h (linux_proc_get_tracerpid): New declaration. | |
6109 | * common/linux-ptrace.c: Include linux-procfs.h and buffer.h. | |
6110 | (linux_ptrace_attach_warnings): New. | |
6111 | * common/linux-ptrace.h (struct buffer, linux_ptrace_attach_warnings): | |
6112 | New declaration. | |
6113 | * linux-nat.c: Include exceptions.h, linux-ptrace.h and buffer.h. | |
6114 | (linux_nat_attach): New variables ex, buffer, message and message_s. | |
6115 | Wrap to_attach by TRY_CATCH and call linux_ptrace_attach_warnings. | |
6116 | ||
5f572dec JK |
6117 | 2012-03-13 Jan Kratochvil <[email protected]> |
6118 | ||
6119 | * Makefile.in (linux-ptrace.o): New. | |
6120 | * common/linux-procfs.c (linux_proc_pid_is_zombie): New, | |
6121 | from linux-nat.c. | |
6122 | * common/linux-procfs.h (linux_proc_pid_is_zombie): New declaration. | |
6123 | * common/linux-ptrace.c: New file. | |
6124 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-ptrace.o. | |
6125 | * config/arm/linux.mh: Likewise. | |
6126 | * config/i386/linux.mh: Likewise. | |
6127 | * config/i386/linux64.mh: Likewise. | |
6128 | * config/ia64/linux.mh: Likewise. | |
6129 | * config/m32r/linux.mh: Likewise. | |
6130 | * config/m68k/linux.mh: Likewise. | |
6131 | * config/mips/linux.mh: Likewise. | |
6132 | * config/pa/linux.mh: Likewise. | |
6133 | * config/powerpc/linux.mh: Likewise. | |
6134 | * config/powerpc/ppc64-linux.mh: Likewise. | |
6135 | * config/powerpc/spu-linux.mh: Likewise. | |
6136 | * config/s390/s390.mh: Likewise. | |
6137 | * config/sparc/linux.mh: Likewise. | |
6138 | * config/sparc/linux64.mh: Likewise. | |
6139 | * config/xtensa/linux.mh: Likewise. | |
6140 | * linux-nat.c (linux_lwp_is_zombie): Remove, move it to | |
6141 | common/linux-procfs.c. | |
6142 | (wait_lwp): Rename linux_lwp_is_zombie to linux_proc_pid_is_zombie. | |
6143 | ||
44f238bb PA |
6144 | 2012-03-13 Hui Zhu <[email protected]> |
6145 | Pedro Alves <[email protected]> | |
6146 | ||
6147 | * breakpoint.c (init_breakpoint_sal): New flags parameter. Handle | |
6148 | CREATE_BREAKPOINT_FLAGS_INSERTED. | |
6149 | (create_breakpoint_sal, create_breakpoints_sal) | |
6150 | (base_breakpoint_create_breakpoints_sal) | |
6151 | (tracepoint_create_breakpoints_sal) | |
6152 | (strace_marker_create_breakpoints_sal): New flags parameter. Pass | |
6153 | down. | |
6154 | (break_command_1, handle_gnu_v3_exceptions, trace_command) | |
6155 | (ftrace_command, strace_command): Adjust. | |
6156 | (create_tracepoint_from_upload): Pass | |
6157 | CREATE_BREAKPOINT_FLAGS_INSERTED. | |
6158 | * breakpoint.h (enum breakpoint_create_flags): New. | |
6159 | (create_breakpoint): New flags parameter. | |
6160 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust. | |
6161 | * python/py-breakpoint.c (bppy_init): Adjust. | |
6162 | * python/py-finishbreakpoint.c (bpfinishpy_init): Adjust. | |
6163 | * spu-tdep.c (spu_catch_start): Adjust. | |
6164 | ||
1e51243a PA |
6165 | 2012-03-13 Pedro Alves <[email protected]> |
6166 | Hui Zhu <[email protected]> | |
6167 | Yao Qi <[email protected]> | |
6168 | ||
6169 | * remote.c (struct remote_state): New field `starting_up'. | |
6170 | (remote_start_remote): Set and clear it. | |
6171 | (remote_can_download_tracepoint): If starting up, return false. | |
6172 | ||
fa3064dd YQ |
6173 | 2012-03-13 Yao Qi <[email protected]> |
6174 | ||
6175 | * inferior.h (struct inferior): Remove fields any_syscall_count, | |
6176 | syscalls_counts and total_syscalls_count. Move them to new | |
6177 | struct catch_syscall_inferior_data in breakpoint.c. | |
6178 | * breakpoint.c: Call DEF_VEC_I(int). | |
6179 | (struct catch_syscall_inferior_data): New. | |
6180 | (get_catch_syscall_inferior_data): New. | |
6181 | (catch_syscall_inferior_data_cleanup): New. | |
6182 | (insert_catch_syscall): Update to access data in | |
6183 | struct catch_syscall_inferior_data. | |
6184 | (insert_catch_syscall): Likewise. | |
6185 | (remove_catch_syscall): Likewise. | |
6186 | (remove_catch_syscall): Likewise. | |
6187 | (is_syscall_catchpoint_enabled): Likewise. | |
6188 | (add_catch_command): Likewise. | |
6189 | (_initialize_breakpoint): Register cleanup. | |
6190 | * breakpoint.h: Removed DEF_VEC_I(int). | |
6191 | * dwarf2loc.c: Call DEF_VEC_I(int). | |
6192 | * mi/mi-main.c: Likewise. | |
6193 | ||
460fac3c MK |
6194 | 2012-03-12 Mark Kettenis <[email protected]> |
6195 | ||
6196 | * inf-ptrace.c (inf_ptrace_post_attach): Make static. | |
6197 | ||
e1aca11e JB |
6198 | 2012-03-12 Chris January <[email protected]> |
6199 | ||
6200 | * aix-thread.c (_initialize_aix_thread): Add prototype. | |
6201 | * rs6000-nat.c (_initialize_rs6000_nat): Ditto. | |
6202 | * xcoffsolib.c (_initialize_xcoffsolib): Ditto. | |
6203 | ||
649c7061 JB |
6204 | 2012-03-12 Joel Brobecker <[email protected]> |
6205 | ||
6206 | * amd64bsd-nat.c: Move #include of "amd64bsd-nat.h" after | |
6207 | include of "amd64-nat.h". | |
6208 | ||
0b49e518 TT |
6209 | 2012-03-12 Tom Tromey <[email protected]> |
6210 | ||
6211 | * buildsym.c (record_pending_block): Now static. | |
6212 | * buildsym.h: (record_pending_block): Remove. | |
6213 | ||
fd24fa94 AT |
6214 | 2012-03-12 Andreas Tobler <[email protected]> |
6215 | ||
6216 | * amd64bsd-nat.c: Include amd64bsd-nat.h. | |
6217 | ||
ba919b58 TT |
6218 | 2012-03-09 Tom Tromey <[email protected]> |
6219 | ||
6220 | * dwarf2read.c (struct dwarf2_cu) <checked_producer, | |
6221 | producer_is_gxx_lt_4_6>: New fields. | |
6222 | (producer_is_gxx_lt_4_6): Use and update producer cache fields. | |
6223 | ||
a48e046c TT |
6224 | 2012-03-09 Tom Tromey <[email protected]> |
6225 | ||
6226 | * dwarf2read.c (dwarf2_attr): Avoid tail-recursive call. | |
6227 | ||
6f5e9362 JB |
6228 | 2012-03-08 Joel Brobecker <[email protected]> |
6229 | ||
6230 | * ravenscar-sparc-thread.c (_initialize_ravenscar_sparc): Add | |
6231 | prototype. | |
6232 | ||
8d037db9 JB |
6233 | 2012-03-08 Joel Brobecker <[email protected]> |
6234 | ||
6235 | * ravenscar-thread.c (_initialize_ravenscar): Add prototype. | |
6236 | ||
4e841acf JK |
6237 | 2012-03-08 Jan Kratochvil <[email protected]> |
6238 | ||
6239 | Fix -Wmissing-prototypes build. | |
6240 | * arm-linux-nat.c (get_thread_id): Make it static. | |
6241 | * xtensa-linux-nat.c (get_thread_id): Likewise. | |
6242 | ||
c6030312 JB |
6243 | 2012-03-08 Joel Brobecker <[email protected]> |
6244 | ||
6245 | * server.c (process_point_options): If a conditional expression | |
6246 | is found, only print a message if remote_debug is nonzero. | |
6247 | ||
52323be9 LM |
6248 | 2012-03-08 Luis Machado <[email protected]> |
6249 | ||
6250 | * ax-gdb.c (gen_fetch): Fail gracefully and use error instead | |
6251 | of internal error for unknown/unsupported types. | |
6252 | ||
7fe25d9b JK |
6253 | 2012-03-08 Jan Kratochvil <[email protected]> |
6254 | ||
6255 | Fix CU relative vs. absolute DIE offsets. | |
6256 | * dwarf2loc.h (dwarf2_fetch_die_location_block): Rename parameter | |
6257 | offset to offset_in_cu. | |
6258 | * dwarf2read.c (process_enumeration_scope): Add CU offset to | |
6259 | TYPE_OFFSET. | |
6260 | (dwarf2_fetch_die_location_block): Rename parameter offset to | |
6261 | offset_in_cu. New variable offset, add CU offset to OFFSET_IN_CU. | |
6262 | ||
05e7c244 JK |
6263 | 2012-03-08 Jan Kratochvil <[email protected]> |
6264 | ||
6265 | * libunwind-frame.c: Rename to ... | |
6266 | * ia64-libunwind-tdep.c: ... here. | |
6267 | * libunwind-frame.h: Rename to ... | |
6268 | * ia64-libunwind-tdep.h: ... here. | |
6269 | * Makefile.in (HFILES_NO_SRCDIR): Rename libunwind-frame.h to | |
6270 | ia64-libunwind-tdep.h. | |
6271 | (ALLDEPFILES): Rename libunwind-frame.c to ia64-libunwind-tdep.c. | |
6272 | * README (--with-libunwind): Rename to ... | |
6273 | (--with-libunwind-ia64): ... here, note it is ia64 specific now. | |
6274 | * config.in: Regenerate. | |
6275 | * configure: Regenerate. | |
6276 | * configure.ac: New option --with-libunwind-ia64, make the | |
6277 | AS_HELP_STRING ia64 specific. Deprecate option --with-libunwind. | |
6278 | Remove AC_DEFINE for HAVE_LIBUNWIND. | |
6279 | * ia64-libunwind-tdep.c: Make the file top comment ia64 specific. | |
6280 | Rename libunwind-frame.h #include to ia64-libunwind-tdep.h. | |
6281 | Rename libunwind-frame in the general comment. | |
6282 | * ia64-libunwind-tdep.h: Make the file top comment ia64 specific. | |
6283 | Rename symbol LIBUNWIND_FRAME_H to IA64_TDEP_LIBUNWIND_FRAME_H. | |
6284 | Move forward declarations inside #ifndef. Rename libunwind-frame in | |
6285 | the general comment. | |
6286 | * ia64-tdep.c: Rename libunwind-frame.h #include to | |
6287 | ia64-libunwind-tdep.h. | |
6288 | (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum, ia64_is_fpreg) | |
6289 | (ia64_libunwind_descr): Rename libunwind-frame to | |
6290 | ia64-libunwind-tdep in these function comments. | |
6291 | * ia64-tdep.h: Rename libunwind-frame.h #include to | |
6292 | ia64-libunwind-tdep.h. | |
6293 | * ia64-vms-tdep.c (ia64_vms_libunwind_descr): Rename libunwind-frame to | |
6294 | ia64-libunwind-tdep in that data comment. | |
6295 | ||
3755cbfd JK |
6296 | 2012-03-08 Jan Kratochvil <[email protected]> |
6297 | ||
6298 | * libunwind-frame.h (struct frame_unwind): New declaration. | |
6299 | ||
d1cda5d9 JB |
6300 | 2012-03-08 Joel Brobecker <[email protected]> |
6301 | ||
6302 | * breakpoint.c (_initialize_breakpoint): Fix error in help of | |
6303 | "set breakpoint condition-evaluation" command. | |
6304 | ||
a0ba0aa2 TG |
6305 | 2012-03-08 Tristan Gingold <[email protected]> |
6306 | ||
6307 | * sparc-stub.c: Move to stubs/ | |
6308 | * sh-stub.c: Likewise. | |
6309 | * m68k-stub.c: Likewise. | |
6310 | * m32r-stub.c: Likewise. | |
6311 | * i386-stub.c: Likewise. | |
6312 | ||
7b8b6d6d AS |
6313 | 2012-03-08 Andreas Schwab <[email protected]> |
6314 | ||
007cafee AS |
6315 | * m68klinux-tdep.c (m68k_linux_init_abi): Register |
6316 | linux_get_siginfo_type. | |
6317 | ||
7b8b6d6d AS |
6318 | * m68klinux-nat.c: Include "gdb_proc_service.h". |
6319 | (PTRACE_GET_THREAD_AREA): Define. | |
6320 | (ps_get_thread_area): New function. | |
6321 | ||
bba74b36 YQ |
6322 | 2012-03-08 Yao Qi <[email protected]> |
6323 | ||
6324 | * remote.c (remote_get_noisy_reply): Replace `sprintf' with | |
6325 | `xsnprintf'. | |
6326 | (remote_query_attached): Likewise. | |
6327 | (remote_static_tracepoint_marker_at): Likewise. | |
6328 | (remote_set_permissions): Likewise. | |
6329 | (remote_detach_1, extended_remote_attach_1): Likewise. | |
6330 | (send_g_packet, remote_vkill): Likewise. | |
6331 | (extended_remote_disable_randomization): Likewise. | |
6332 | (remote_add_target_side_condition): Likewise. | |
6333 | (remote_insert_breakpoint): Likewise. | |
6334 | (remote_remove_breakpoint): Likewise. | |
6335 | (remote_insert_watchpoint): Likewise. | |
6336 | (remote_remove_watchpoint): Likewise. | |
6337 | (remote_insert_hw_breakpoint): Likewise. | |
6338 | (remote_insert_hw_breakpoint): Likewise. | |
6339 | (remote_remove_hw_breakpoint): Likewise. | |
6340 | (remote_download_command_source): Likewise. | |
6341 | (remote_download_tracepoint): Likewise. | |
6342 | (remote_download_trace_state_variable): Likewise. | |
6343 | (remote_disable_tracepoint): Likewise. | |
6344 | (remote_trace_set_readonly_regions): Likewise. | |
6345 | (remote_get_tracepoint_status): Likewise. | |
6346 | (remote_trace_find): Likewise. | |
6347 | (remote_get_trace_state_variable_value): Likewise. | |
6348 | (remote_set_disconnected_tracing): Likewise. | |
6349 | (remote_set_circular_trace_buffer): Likewise. | |
6350 | (remote_get_min_fast_tracepoint_insn_len): Likewise. | |
6351 | (remote_use_agent): Likewise. | |
6352 | (remote_add_target_side_condition): Add one parameter BUF_SIZE. | |
6353 | Update callers. | |
6354 | ||
9b224c5e PA |
6355 | 2012-03-07 Pedro Alves <[email protected]> |
6356 | ||
6357 | * NEWS: Mention QProgramSignals. | |
6358 | * inferior.h (update_signals_program_target): Declare. | |
6359 | * infrun.c: (update_signals_program_target): New. | |
6360 | (handle_command): Update the target of the new program signals | |
6361 | array changes. | |
6362 | * remote.c (PACKET_QProgramSignals): New enum. | |
6363 | (last_program_signals_packet): New global. | |
6364 | (remote_program_signals): New. | |
6365 | (remote_start_remote): Update the target with the program signals | |
6366 | list. | |
6367 | (remote_protocol_features): Add entry for QPassSignals. | |
6368 | (remote_open_1): Free anc clear last_program_signals_packet. | |
6369 | (init_remote_ops): Install remote_program_signals. | |
6370 | * target.c (update_current_target): Adjust. | |
6371 | (target_program_signals): New. | |
6372 | * target.h (struct target_ops) <to_program_signals>: New field. | |
6373 | (target_program_signals): Declare. | |
6374 | ||
74c48cbb PA |
6375 | 2012-03-07 Pedro Alves <[email protected]> |
6376 | ||
6377 | * NEWS: Add subtitle for new z0/z1 conditional breakpoint | |
6378 | extensions. | |
6379 | ||
0c13fc49 AS |
6380 | 2012-03-07 Andreas Schwab <[email protected]> |
6381 | ||
6382 | * m68klinux-nat.c (getregs_supplies): Make static. | |
6383 | (getfpregs_supplies): Likewise. | |
6384 | (have_ptrace_getregs): Likewise. | |
6385 | ||
1281d2a3 JB |
6386 | 2012-03-06 Joel Brobecker <[email protected]> |
6387 | ||
6388 | * dwarf2read.c (dwarf2_get_die_type): Pass absolute offset | |
6389 | in call to get_die_type_at_offset. | |
6390 | ||
2b03b41d SS |
6391 | 2012-03-06 Stan Shebs <[email protected]> |
6392 | ||
6393 | * mi/mi-cmd-break.c: Enforce coding standards, fix comments. | |
6394 | * mi/mi-cmd-disas.c: Ditto. | |
6395 | * mi/mi-cmd-env.c: Ditto. | |
6396 | * mi/mi-cmd-file.c: Ditto. | |
6397 | * mi/mi-cmd-stack.c: Ditto. | |
6398 | * mi/mi-cmd-target.c: Ditto. | |
6399 | * mi/mi-cmd-var.c: Ditto. | |
6400 | * mi/mi-cmds.c: Ditto. | |
6401 | * mi/mi-cmds.h: Ditto. | |
6402 | * mi/mi-console.c: Ditto. | |
6403 | * mi/mi-getopt.c: Ditto. | |
6404 | * mi/mi-getopt.h: Ditto. | |
6405 | * mi/mi-interp.c: Ditto. | |
6406 | * mi/mi-main.c: Ditto. | |
6407 | * mi/mi-out.c: Ditto. | |
6408 | * mi/mi-parse.c: Ditto. | |
6409 | * mi/mi-parse.h: Ditto. | |
6410 | * mi/mi-symbol-cmds.c: Ditto. | |
6411 | ||
6412 | * mi/mi-getopt.h: Move mi_opt struct up. | |
6413 | * mi/mi-main.c (captured_mi_execute_command): Remove redundant | |
6414 | return. | |
6415 | * mi/mi-out.c (_initialize_mi_out): Remove empty initialize. | |
6416 | ||
c988ad87 TT |
6417 | 2012-03-06 Tom Tromey <[email protected]> |
6418 | ||
6419 | * proc-service.c (ps_pglobal_lookup): Set the current program | |
6420 | space. | |
6421 | ||
1b7c1b10 PA |
6422 | 2012-03-06 Pedro Alves <[email protected]> |
6423 | ||
6424 | * gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>. | |
6425 | ||
3c182069 JB |
6426 | 2012-03-05 Joel Brobecker <[email protected]> |
6427 | ||
6428 | * MAINTAINERS: List Maciej W. Rozycki as the mips maintainer. | |
6429 | ||
2e794194 JK |
6430 | 2012-03-05 Jan Kratochvil <[email protected]> |
6431 | ||
6432 | Code cleanup. | |
6433 | * common/linux-osdata.c (linux_common_core_of_thread): New function | |
6434 | comment. | |
6435 | * linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1 | |
6436 | call by linux_common_core_of_thread. | |
6437 | (linux_nat_core_of_thread_1): Remove. | |
6438 | * linux-nat.h (linux_nat_core_of_thread_1): Remove declaration. | |
6439 | * linux-thread-db.c: Include linux-osdata.h. | |
6440 | (update_thread_core): Replace linux_nat_core_of_thread_1 call by | |
6441 | linux_common_core_of_thread. | |
6442 | ||
9f9f1f31 TT |
6443 | 2012-03-05 Tom Tromey <[email protected]> |
6444 | ||
6445 | * value.c (value_primitive_field): Don't fetch contents for | |
6446 | non-virtual bases. | |
6447 | ||
b7b189f3 TT |
6448 | 2012-03-05 Tom Tromey <[email protected]> |
6449 | ||
6450 | * jv-valprint.c (java_value_print): Correctly compute 'obj_addr'. | |
6451 | ||
05b8a789 | 6452 | 2012-03-05 Andreas Arnez <[email protected]> |
5538f557 | 6453 | |
5538f557 JB |
6454 | * s390-nat.c: Include "gregset.h". |
6455 | ||
75528772 JK |
6456 | 2012-03-05 Jan Kratochvil <[email protected]> |
6457 | ||
6458 | * libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8. | |
6459 | [!LIBUNWIND_SO] (LIBUNWIND_SO_7): New #define. | |
6460 | (libunwind_load): New variable so_error, use it for dlerror. Try to | |
6461 | load also LIBUNWIND_SO_7. | |
6462 | ||
275418ae PA |
6463 | 2012-03-05 Pedro Alves <[email protected]> |
6464 | ||
6465 | * i387-tdep.c (i387_supply_xsave): Assert the xsave section buffer | |
6466 | is not NULL, and remove resulting dead code. | |
6467 | ||
5cbb9812 TS |
6468 | 2012-03-05 Thomas Schwinge <[email protected]> |
6469 | ||
6470 | * sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function | |
6471 | prologue to sh_analyze_prologue. | |
6472 | (sh_analyze_prologue): Make better use of such an upper limit, and | |
6473 | generally be more cautious about accessing memory. | |
6474 | ||
541515ad TT |
6475 | 2012-03-05 Tom Tromey <[email protected]> |
6476 | ||
6477 | * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from | |
6478 | _initialize_ia64_hpux_tdep. | |
6479 | ||
b4d36fb8 PA |
6480 | 2012-03-05 Pedro Alves <[email protected]> |
6481 | ||
24490249 PA |
6482 | PR gdb/13766 |
6483 | ||
b4d36fb8 PA |
6484 | * i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and |
6485 | the register state is clear, supply explicit zero, instead of | |
6486 | marking the register unavailable. | |
6487 | ||
60c9a3c0 TG |
6488 | 2012-03-05 Tristan Gingold <[email protected]> |
6489 | ||
6490 | * NEWS: Mention OpenVMS ia64 new target. | |
6491 | ||
696759ad TG |
6492 | 2012-03-05 Tristan Gingold <[email protected]> |
6493 | ||
6494 | * ia64-tdep.h: Include libunwind-frame.h and libunwind-ia64.h. | |
6495 | (ia64_unw_accessors, ia64_unw_rse_accessors) | |
6496 | (ia64_libunwind_descr): Declare. | |
6497 | * ia64-vms-tdep.c: New file. | |
6498 | * ia64-tdep.c (ia64_unw_accessors, ia64_unw_rse_accessors) | |
6499 | (ia64_libunwind_descr): Make them public. | |
6500 | * configure.tgt: Add ia64-*-*vms*. | |
6501 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-vms-tdep.o | |
6502 | (ALLDEPFILES): Add ia64-vms-tdep.c | |
6503 | ||
34864976 TG |
6504 | 2012-03-05 Tristan Gingold <[email protected]> |
6505 | ||
169081d0 TG |
6506 | * target.h (target_object): Add TARGET_OBJECT_OPENVMS_UIB. |
6507 | * remote.c (PACKET_qXfer_uib): New enum value. | |
6508 | (remote_protocol_features): Add entry for PACKET_qXfer_uib. | |
6509 | (remote_xfer_partial): Handle TARGET_OBJECT_OPENVMS_UIB. | |
6510 | (_initialize_remote): Call add_packet_config_cmd for | |
6511 | xfer:uib packet. | |
6512 | ||
6513 | 2012-03-05 Tristan Gingold <[email protected]> | |
6514 | ||
6515 | * osabi.c (gdb_osabi_names): Add OpenVMS. | |
6516 | (generic_elf_osabi_sniffer): Likewise. | |
6517 | * defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS. | |
34864976 | 6518 | |
6597b100 JK |
6519 | 2012-03-04 Jan Kratochvil <[email protected]> |
6520 | ||
6521 | Removed unused code. | |
6522 | * libunwind-frame.c (libunwind_frame_unwind) | |
6523 | (libunwind_frame_base_address): Remove. | |
6524 | * libunwind-frame.h (libunwind_frame_base_address): Remove declaration. | |
6525 | ||
87399aa1 YQ |
6526 | 2012-03-04 Yao Qi <[email protected]> |
6527 | ||
6528 | * common/agent.c (gdb_connect_sync_socket): Add _ markup and | |
6529 | remove trailing new line. | |
6530 | (agent_run_command, agent_run_command): Add _ markup. | |
6531 | (agent_capability_check): Likewise. | |
6532 | ||
abf1152a JK |
6533 | 2012-03-03 Jan Kratochvil <[email protected]> |
6534 | ||
6535 | * breakpoint.c (set_condition_evaluation_mode): Set | |
6536 | CONDITION_EVALUATION_MODE unconditionally. | |
6537 | ||
5808517f YQ |
6538 | 2012-03-03 Yao Qi <[email protected]> |
6539 | ||
6540 | * common/agent.c (agent_look_up_symbols): Add one parameter 'arg'. | |
6541 | * common/agent.h: Update declaration. | |
6542 | * inf-child.c (inf_child_use_agent): New. | |
6543 | (inf_child_can_use_agent): New. | |
6544 | (inf_child_target): Initialize fields `to_use_agent' | |
6545 | and `to_can_use_agent'. | |
6546 | * agent.c (agent_new_objfile): New. | |
89b7509a | 6547 | (_initialize_agent): Add agent_new_objfile to new_objfile |
5808517f YQ |
6548 | observer. |
6549 | ||
6550 | * linux-nat.c (linux_child_static_tracepoint_markers_by_strid): | |
6551 | New. | |
89b7509a | 6552 | (linux_target_install_ops): Initialize field |
5808517f YQ |
6553 | `to_static_tracepoint_markers_by_strid'. |
6554 | * remote.c (free_current_marker): Move it to ... | |
6555 | * tracepoint.c (free_current_marker): ... here. New. | |
6556 | (cleanup_target_stop): New. | |
6557 | * tracepoint.h: Declare free_current_marker. | |
6558 | * NEWS: Add one entry about `info static-tracepoint-marker'. | |
6559 | ||
58b4daa5 YQ |
6560 | 2012-03-03 Yao Qi <[email protected]> |
6561 | ||
6562 | * common/agent.c (agent_loaded_p): New. | |
89b7509a | 6563 | (agent_look_up_symbols): New global. |
58b4daa5 YQ |
6564 | * common/agent.h: Declare agent_loaded_p. |
6565 | ||
8ffcbaaf YQ |
6566 | 2012-03-03 Yao Qi <[email protected]> |
6567 | ||
6568 | * common/agent.c (struct ipa_sym_addresses) <addr_capability>: New. | |
6569 | (agent_capability_check, agent_capability_invalidate): New. | |
6570 | (symbol_list): New array element. | |
6571 | * common/agent.h (enum agent_capa): New. | |
6572 | * target.c (target_pre_inferior): Call agent_capability_invalidate. | |
6573 | ||
d1feda86 YQ |
6574 | 2012-03-03 Yao Qi <[email protected]> |
6575 | ||
6576 | * target.h (struct target_ops) <to_use_agent>: New field. | |
6577 | (struct target_ops) <to_can_use_agent>: New field. | |
6578 | (target_use_agent, target_can_use_agent): New macro. | |
6579 | * target.c (update_current_target): Update. | |
6580 | * remote.c: New enum `PACKET_QAgent'. | |
6581 | (remote_protocol_features): Add a new element. | |
6582 | (remote_use_agent, remote_can_use_agent): New. | |
6583 | (init_remote_ops): Initialize field `can_use_agent' with | |
6584 | remote_can_use_agent. Intiailize field `use_agent' with | |
6585 | remote_use_agent. | |
6586 | * common/agent.c (use_agent): New global. | |
6587 | * common/agent.h: Declare it. | |
6588 | * tracepoint.c (info_static_tracepoint_markers_command): Add | |
6589 | comment. | |
6590 | * Makefile.in (SFILES): Add common/agent.c and agent.c. | |
6591 | (COMMON_OBS): Add common/agent.o and agent.o | |
6592 | (common-agent.o): New rule. | |
6593 | * agent.c: New. | |
6594 | ||
2fa291ac YQ |
6595 | 2012-03-03 Yao Qi <[email protected]> |
6596 | ||
6597 | * common/agent.c: New. | |
6598 | * common/agent.h: New. | |
6599 | * configure.ac: Add `sys/socket.h' and `sys/un.h' to | |
6600 | AC_CHECK_HEADERS. | |
6601 | * configure, configh.in: Regenerated. | |
6602 | ||
9fc05685 KB |
6603 | 2012-03-02 Kevin Buettner <[email protected]> |
6604 | ||
6605 | * sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register | |
6606 | unless it exists for this architecture. | |
6607 | ||
a5ee536b JB |
6608 | 2012-03-02 Joel Brobecker <[email protected]> |
6609 | ||
6610 | * language.h (struct language_defn): New "method" la_read_var_value. | |
6611 | * findvar.c: #include "language.h". | |
6612 | (default_read_var_value): Renames read_var_value. Rewrite | |
6613 | function description. | |
6614 | (read_var_value): New function. | |
6615 | * value.h (default_read_var_value): Add prototype. | |
6616 | * ada-lang.c (ada_read_renaming_var_value, ada_read_var_value): | |
6617 | New functions. | |
6618 | (ada_language_defn): Add entry for la_read_var_value. | |
6619 | * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, language.c, | |
6620 | * m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c: Update | |
6621 | language_defn structures to add entry for new la_read_var_value | |
6622 | field. | |
6623 | ||
f59f708a PA |
6624 | 2012-03-02 Tom Tromey <[email protected]> |
6625 | Pedro Alves <[email protected]> | |
6626 | ||
6627 | PR breakpoints/13776: | |
6628 | * breakpoint.c (breakpoint_init_inferior): Delete step-resume | |
6629 | breakpoints. | |
6630 | (delete_longjmp_breakpoint_at_next_stop): New. | |
6631 | * breakpoint.h (delete_longjmp_breakpoint_at_next_stop): Declare. | |
6632 | * target.c (generic_mourn_inferior): Call mark_breakpoints_out | |
6633 | before deleting the inferior. Add comments. | |
6634 | * thread.c (clear_thread_inferior_resources): Don't delete lonjmp | |
6635 | breakpoints immediately, but only on next stop. Move that code | |
6636 | next to where we mark other breakpoints for deletion. | |
6637 | ||
44099a67 JB |
6638 | 2012-03-02 Joel Brobecker <[email protected]> |
6639 | ||
6640 | * mips-linux-nat.c (mips_linux_read_description): Add missing i18n | |
6641 | marker. | |
6642 | * mips-tdep.c (mips_linux_reg_names): Improve comment to avoid ARI | |
6643 | violation. | |
6644 | ||
2a2ef594 PA |
6645 | 2012-03-02 Pedro Alves <[email protected]> |
6646 | ||
6647 | * linux-thread-db.c (attach_thread): Avoid in_thread_list call. | |
6648 | ||
b261e0c5 UW |
6649 | 2012-03-02 Ulrich Weigand <[email protected]> |
6650 | ||
6651 | Fix -Wmissing-prototypes build. | |
6652 | * ppc-linux-nat.c (ppc_linux_get_hwcap): Make static. | |
6653 | * remote-sim.c (gdbsim_has_all_memory): Likewise. | |
6654 | (gdbsim_has_memory): Likewise. | |
6655 | ||
a95babbf YQ |
6656 | 2012-03-02 Yao Qi <[email protected]> |
6657 | ||
6658 | Fix -Wmissing-prototypes build. | |
6659 | * charset.c (phony_iconv_open): Make static. | |
6660 | (phony_iconv_close, phony_iconv): Likewise. | |
6661 | * i386-linux-nat.c (_initialize_i386_linux_nat): New prototype. | |
6662 | * i386-windows-nat.c (_initialize_i386_windows_nat): New | |
6663 | prototype. | |
6664 | * mingw-hdep.c (_initialize_mingw_hdep): New prototype. | |
6665 | * ser-mingw.c (create_select_thread): Make static. | |
6666 | * windows-termcap.c (tgetent): New prototype. | |
6667 | (tgetnum, tgetflag, tgetstr, tputs, tgoto): Likewise. | |
6668 | ||
d603d4b3 JK |
6669 | 2012-03-02 Zhang Yuanhui <[email protected]> |
6670 | ||
6671 | Fix -Wmissing-prototypes build. | |
6672 | * windows-nat.c (dll_symbol_command, ctrl_c_handler): Make them static. | |
6673 | (_initialize_windows_nat, _initialize_check_for_gdb_ini) | |
6674 | (_initialize_loadable): New prototypes. | |
6675 | ||
7fb3ad1f DE |
6676 | 2012-03-02 Doug Evans <[email protected]> |
6677 | ||
6678 | * dwarf2read.c (load_full_comp_unit): Remove unnecessary reading of | |
6679 | abbrev table, read_comp_unit will do it. | |
6680 | ||
693be288 JK |
6681 | 2012-03-02 Jan Kratochvil <[email protected]> |
6682 | ||
6683 | Fix -Wmissing-prototypes build. | |
6684 | * alpha-tdep.c (alpha_deal_with_atomic_sequence): Make it static. | |
6685 | * amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): New prototype. | |
6686 | * amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Likewise. | |
6687 | * arm-symbian-tdep.c (arm_symbian_skip_trampoline_code): Make it static. | |
6688 | (_initialize_arm_symbian_tdep): New prototype. | |
6689 | * arm-wince-tdep.c (arm_wince_skip_main_prologue): Make it static. | |
6690 | * i386-darwin-tdep.c (_initialize_i386_darwin_tdep): New prototype. | |
6691 | * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Make it | |
6692 | static. | |
6693 | * lm32-tdep.c (_initialize_lm32_tdep): New prototype. | |
6694 | * microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): New | |
6695 | prototype. | |
6696 | * microblaze-tdep.c (microblaze_debug, microblaze_fetch_instruction) | |
6697 | (microblaze_skip_prologue, microblaze_frame_cache): Make them static. | |
6698 | * mips-linux-tdep.c (mips_linux_regset_from_core_section): Make it | |
6699 | static. | |
6700 | * moxie-tdep.c (moxie_process_record): Likewise. | |
6701 | * remote-mips.c (mips_can_use_watchpoint, mips_insert_watchpoint) | |
6702 | (mips_remove_watchpoint, mips_stopped_by_watchpoint): Make them static. | |
6703 | * rl78-tdep.c (rl78_breakpoint_from_pc): Make it static. | |
6704 | (_initialize_rl78_tdep): New prototype. | |
6705 | * rx-tdep.c (rx_breakpoint_from_pc): Make it static. | |
6706 | (_initialize_rx_tdep): New prototype. | |
6707 | * solib-darwin.c (darwin_in_dynsym_resolve_code): Make it static. | |
6708 | (_initialize_darwin_solib): New prototype. | |
6709 | * solib-spu.c: Include solib-spu.h. | |
6710 | (_initialize_spu_solib): New prototype. | |
6711 | * spu-multiarch.c (_initialize_spu_multiarch): New prototype. | |
6712 | * tic6x-tdep.c (tic6x_analyze_prologue, tic6x_skip_prologue) | |
6713 | (tic6x_breakpoint_from_pc, tic6x_frame_unwind_cache) | |
6714 | (tic6x_software_single_step): Make it static. | |
6715 | (_initialize_tic6x_tdep): New prototype. | |
6716 | ||
638234e5 JK |
6717 | 2012-03-02 Jan Kratochvil <[email protected]> |
6718 | ||
6719 | Fix -Wmissing-prototypes build. | |
6720 | * cris-tdep.c (cris_can_use_hardware_watchpoint) | |
6721 | (cris_region_ok_for_watchpoint, cris_stopped_data_address): Remove. | |
6722 | ||
f4a6f16d JK |
6723 | 2012-03-01 Jan Kratochvil <[email protected]> |
6724 | ||
6725 | Fix -Wmissing-prototypes build. | |
6726 | * frv-tdep.c (frv_check_watch_resources, frv_stopped_data_address) | |
6727 | (frv_have_stopped_data_address): Remove. | |
6728 | ||
04dcf5fa JK |
6729 | 2012-03-01 Jan Kratochvil <[email protected]> |
6730 | ||
6731 | Fix -Wmissing-prototypes build. | |
6732 | * Makefile.in (HFILES_NO_SRCDIR): Add sh64-tdep.h. | |
6733 | * sh-tdep.c: Include sh64-tdep.h. | |
6734 | * sh-tdep.h (sh64_gdbarch_init, sh64_show_regs): Remove declarations. | |
6735 | * sh64-tdep.c: Include sh64-tdep.h. | |
6736 | * sh64-tdep.h: New file. | |
6737 | ||
19080931 MR |
6738 | 2012-03-01 Maciej W. Rozycki <[email protected]> |
6739 | ||
6740 | * mips-tdep.c (mips32_scan_prologue): Correct indentation. | |
6741 | ||
9aac7884 MR |
6742 | 2012-03-01 Maciej W. Rozycki <[email protected]> |
6743 | ||
6744 | * mips-tdep.c (mips_gdbarch_init): Only set pc_regnum and | |
6745 | sp_regnum once the gdbarch_init_osabi hook has been called. | |
6746 | ||
a385295e MR |
6747 | 2012-03-01 Maciej W. Rozycki <[email protected]> |
6748 | ||
6749 | * mips-tdep.c (mips32_bc1_pc): New function. | |
6750 | (mips32_next_pc): Handle BC1ANY2F, BC1ANY2T, BC1ANY4F, BC1ANY4T, | |
6751 | BPOSGE32 and BPOSGE64 instructions. | |
6752 | (deal_with_atomic_sequence): Likewise. | |
6753 | (mips32_instruction_has_delay_slot): Likewise. | |
6754 | ||
1faeff08 | 6755 | 2012-03-01 Maciej W. Rozycki <[email protected]> |
a09130f9 PA |
6756 | Chris Dearman <[email protected]> |
6757 | Maciej W. Rozycki <[email protected]> | |
6758 | Joseph Myers <[email protected]> | |
1faeff08 MR |
6759 | |
6760 | * features/mips-dsp.xml: New file. | |
6761 | * features/mips64-dsp.xml: New file. | |
6762 | * features/mips-dsp-linux.xml: New file. | |
6763 | * features/mips64-dsp-linux.xml: New file. | |
6764 | * features/Makefile (WHICH): Add mips-dsp-linux and | |
6765 | mips64-dsp-linux. | |
6766 | (mips-dsp-expedite, mips64-dsp-expedite): New variables. | |
6767 | * features/mips-dsp-linux.c: New file. | |
6768 | * features/mips64-dsp-linux.c: New file. | |
6769 | * regformats/mips-dsp-linux.dat: New file. | |
6770 | * regformats/mips64-dsp-linux.dat: New file. | |
6771 | * mips-linux-nat.c (mips_linux_register_addr): Handle DSP | |
6772 | registers. | |
6773 | (mips64_linux_register_addr): Likewise. | |
6774 | (mips64_linux_regsets_fetch_registers): Likewise. | |
6775 | (mips64_linux_regsets_store_registers): Likewise. | |
6776 | (mips64_linux_fetch_registers): Update call to | |
6777 | mips64_linux_regsets_fetch_registers. | |
6778 | (mips64_linux_store_registers): Update call to | |
6779 | mips64_linux_regsets_store_registers. | |
6780 | (mips_linux_read_description): Probe for DSP registers. | |
6781 | (_initialize_mips_linux_nat): Call initialize_tdesc_mips_dsp_linux | |
6782 | and initialize_tdesc_mips64_dsp_linux. | |
6783 | * mips-linux-tdep.c (supply_gregset, mips64_supply_gregset): | |
6784 | Remove padding of no longer used embedded register slots. | |
6785 | * mips-linux-tdep.h (DSP_BASE, DSP_CONTROL): New macros. | |
6786 | (MIPS_RESTART_REGNUM): Redefine enum value. | |
6787 | * mips-tdep.c (mips_generic_reg_names): Remove trailing null | |
6788 | strings. | |
6789 | (mips_tx39_reg_names): Likewise. | |
6790 | (mips_linux_reg_names): New array of register names for Linux | |
6791 | targets. | |
6792 | (mips_register_name): Check for a null pointer in | |
6793 | mips_processor_reg_names and return an empty string. | |
6794 | (mips_register_type): Exclude embedded registers for the IRIX | |
6795 | and Linux ABIs. | |
6796 | (mips_pseudo_register_type): Likewise. Use dynamic numbers to | |
6797 | refer to FP registers, LO, HI, BadVAddr, Cause and PC. Handle | |
6798 | DSP registers. | |
6799 | (mips_stab_reg_to_regnum): Handle DSP accumulators. | |
6800 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise. | |
6801 | (mips_gdbarch_init): Likewise. Initialize internal register | |
6802 | indices for the Linux ABI. Use dynamic numbers to refer to | |
6803 | registers, as applicable, while parsing the target description. | |
6804 | * mips-tdep.h (struct mips_regnum): Add dspacc/dspctl offsets. | |
6805 | ||
263689d8 JB |
6806 | 2012-03-01 Joel Brobecker <[email protected]> |
6807 | ||
6808 | * frame.h (read_frame_register_unsigned): Fix typo in function | |
6809 | description. | |
6810 | ||
f3b4f45c PA |
6811 | 2012-03-01 Pedro Alves <[email protected]> |
6812 | ||
6813 | * jit-reader.in [!__cplusplus] | |
6814 | (GDB_DECLARE_GPL_COMPATIBLE_READER): Add missing backslash. | |
6815 | ||
b03a2011 PA |
6816 | 2012-03-01 Pedro Alves <[email protected]> |
6817 | ||
6818 | * configure.ac (build_warnings): Add -Wmissing-prototypes. | |
6819 | * configure: Regenerate. | |
6820 | ||
70221824 PA |
6821 | 2012-03-01 Pedro Alves <[email protected]> |
6822 | ||
6823 | * amd64-linux-tdep.c (amd64_linux_record_signal): Make static. | |
6824 | * breakpoint.c (create_exception_master_breakpoint, trace_command) | |
6825 | (ftrace_command, strace_command): Make static. | |
6826 | * d-lang.c (_initialize_d_language): Declare. | |
6827 | * dwarf2expr.c (_initialize_dwarf2expr): Declare. | |
6828 | * dwarf2loc.c (_initialize_dwarf2loc): | |
6829 | * dwarf2read.c (process_psymtab_comp_unit): Make static. | |
6830 | * exec.c (exec_get_section_table): Make static. | |
6831 | * i386-linux-tdep.c (i386_linux_record_signal): Make static. | |
6832 | * infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static. | |
6833 | * inferior.c (remove_inferior_command, add_inferior_command) | |
6834 | (clone_inferior_command): Make static. | |
6835 | * linux-nat.c (linux_nat_thread_address_space) | |
6836 | (linux_nat_core_of_thread): Make static. | |
6837 | * linux-tdep.c (_initialize_linux_tdep): Declare. | |
6838 | * objc-lang.c (_initialize_objc_lang): Declare. | |
6839 | * opencl-lang.c (builtin_opencl_type, opencl_language_arch_info): | |
6840 | Make static. | |
6841 | (_initialize_opencl_language): Declare. | |
6842 | * record.c (_initialize_record): Declare. | |
6843 | * remote.c (demand_private_info, remote_get_tib_address) | |
6844 | (remote_supports_cond_tracepoints) | |
6845 | (remote_supports_fast_tracepoints, remote_get_tracepoint_status): | |
6846 | Make static. | |
6847 | * skip.c (_initialize_step_skip): Declare. | |
6848 | * symtab.c (skip_prologue_using_lineinfo): Make static. | |
6849 | * tracepoint.c (delete_trace_state_variable) | |
6850 | (trace_variable_command, delete_trace_variable_command) | |
6851 | (get_uploaded_tsv, find_matching_tracepoint_location) | |
6852 | (find_matching_tsv, create_tsv_from_upload, get_traceframe_info): | |
6853 | Make static. | |
6854 | * value.c (pack_unsigned_long): Make static. | |
6855 | * varobj.c (varobj_ensure_python_env): Make static. | |
6856 | * windows-tdep.c (_initialize_windows_tdep): Declare. | |
6857 | * xml-syscall.c (make_cleanup_free_syscalls_info): Make static. | |
6858 | ||
33fbcbee PA |
6859 | 2012-03-01 Pedro Alves <[email protected]> |
6860 | ||
6861 | * linux-tdep.c (linux_has_shared_address_space): Make static. Add | |
6862 | gdbarch parameter. | |
6863 | (linux_init_abi): Install it as has_shared_address_space gdbarch | |
6864 | callback. | |
6865 | ||
44d0cd3b PA |
6866 | 2012-03-01 Pedro Alves <[email protected]> |
6867 | ||
6868 | * observer.c (observer_test_first_notification_function) | |
6869 | (observer_test_second_notification_function) | |
6870 | (observer_test_third_notification_function): Add declarations. | |
6871 | ||
ed01b82c PA |
6872 | 2012-03-01 Pedro Alves <[email protected]> |
6873 | ||
6874 | * common/signals.c (default_target_signal_to_host) | |
6875 | (default_target_signal_from_host): Move ... | |
6876 | * arch-utils.c: ... here. | |
6877 | * arch-utils.h (default_target_signal_to_host) | |
6878 | (default_target_signal_from_host): Declare. | |
6879 | ||
6880 | * common/signals.c (target_signal_from_command): Move ... | |
6881 | * infrun.c: ... here. | |
6882 | * inferior.h (target_signal_from_command): Declare. | |
6883 | * target.h (target_signal_from_command) | |
6884 | (default_target_signal_from_host, default_target_signal_to_host): | |
6885 | Delete declarations. | |
6886 | ||
6887 | * common/signals.c (_initialize_signals): Delete. | |
6888 | ||
c9b87335 PA |
6889 | 2012-03-01 Pedro Alves <[email protected]> |
6890 | ||
6891 | * jit-reader.in (plugin_is_GPL_compatible): Add declarations for | |
6892 | both __cplusplus and !__cplusplus. | |
6893 | ||
9340a6c0 PA |
6894 | 2012-03-01 Pedro Alves <[email protected]> |
6895 | ||
6896 | * psymtab.c (find_and_open_source): Delete declaration. | |
6897 | * source.c (find_and_open_source): Move comment ... | |
6898 | * source.h (find_and_open_source): ... to this new declaration. | |
6899 | ||
e451c4a1 PA |
6900 | 2012-03-01 Pedro Alves <[email protected]> |
6901 | ||
6902 | * inline-frame.c: Include inline-frame.h. | |
6903 | ||
983fb104 PA |
6904 | 2012-03-01 Pedro Alves <[email protected]> |
6905 | ||
6906 | * tui/tui-data.c (set_gen_win_origin): Delete. | |
6907 | * tui/tui-data.h (tui_set_gen_win_origin): Delete declaration. | |
6908 | * tui/tui-regs.c (tui_last_reg_element_no_in_line): Delete. | |
6909 | ||
5fbce5df PA |
6910 | 2012-03-01 Pedro Alves <[email protected]> |
6911 | ||
6912 | * remote.c (encode_actions): Delete declaration. | |
6913 | * tracepoint.c (encode_actions): Make extern. | |
6914 | * tracepoint.h (encode_actions): Declare. | |
6915 | ||
49a8461d PA |
6916 | 2012-03-01 Pedro Alves <[email protected]> |
6917 | ||
6918 | * python/py-breakpoint.c: Include python.h. | |
6919 | * python/py-continueevent.c (create_continue_event_object): Make | |
6920 | static. | |
6921 | * python/py-lazy-string.c (stpy_get_type): Make static. | |
6922 | * python/py-newobjfileevent.c (create_new_objfile_event_object): | |
6923 | Make static. | |
6924 | * python/py-utils.c (unicode_to_target_python_string): Make | |
6925 | static. | |
6926 | * python/py-value.c: Include python.h. | |
6927 | ||
9079102f PA |
6928 | 2012-03-01 Pedro Alves <[email protected]> |
6929 | ||
6930 | * inferior.c (delete_threads_of_inferior): Delete. | |
6931 | ||
a298c5e8 PA |
6932 | 2012-03-01 Pedro Alves <[email protected]> |
6933 | ||
6934 | Import fallback definitions from glibc. | |
6935 | ||
6936 | * gdb_proc_service.h [!HAVE_PROC_SERVICE_H] (struct | |
6937 | ps_prochandle): Forward declare. | |
6938 | (ps_err_e): Use glibc's comments. | |
6939 | [!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread) | |
6940 | (ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs) | |
6941 | (ps_lsetfpregs, ps_getpid, ps_get_thread_area, ps_pglobal_lookup) | |
6942 | (ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lgetxregsize) | |
6943 | (ps_lgetxregs, ps_lsetxregs, ps_plog): Declare. | |
6944 | (struct ps_prochandle): Adjust comment. | |
6945 | ||
e3084549 PA |
6946 | 2012-03-01 Pedro Alves <[email protected]> |
6947 | ||
6948 | * ada-lang.c (ada_modulus_from_name): Delete. | |
6949 | * ada-lex.l (lexer_init): Make static. | |
6950 | ||
ad5f7d6e PA |
6951 | 2012-03-01 Pedro Alves <[email protected]> |
6952 | ||
6953 | PR gdb/13767 | |
6954 | ||
6955 | * frame.c (read_frame_register_unsigned): New. | |
6956 | * frame.h (read_frame_register_unsigned): Declare. | |
6957 | * i387-tdep.c (print_i387_status_word): New parameter `status_p'. | |
6958 | Handle it. | |
6959 | (print_i387_control_word): New parameter `control_p'. Handle it. | |
6960 | (i387_print_float_info): Handle unavailable float registers. | |
6961 | ||
e0a4d108 KS |
6962 | 2012-03-01 Keith Seitz <[email protected]> |
6963 | ||
6964 | * linespec.c (decode_line_2): Sort the list of methods | |
6965 | alphabetically before presenting the user with a selection | |
6966 | menu. | |
6967 | ||
122d1940 DE |
6968 | 2012-03-01 Doug Evans <[email protected]> |
6969 | ||
6970 | * dwarf2read.c (dwarf2_cu): Remove unused members has_form_ref_addr, | |
6971 | has_namespace_info. | |
6972 | (dwarf2_read_abbrevs): Remove corresponding initialization. | |
6973 | ||
7d74f244 DE |
6974 | 2012-03-01 Scott J. Goldman <[email protected]> |
6975 | ||
6976 | * NEWS: Mention new python command class gdb.COMMAND_USER. | |
6977 | * cli/cli-cmds.c (show_user): Print error when used on a python | |
6978 | command. | |
6979 | (init_cli_cmds): Update documentation strings for "show user" and | |
6980 | "set/show max-user-call-depth" to clarify that it does not apply to | |
6981 | python commands. | |
6982 | * python/py-cmd.c (cmdpy_init): Treat class_user as a valid class in | |
6983 | error check. | |
6984 | (gdbpy_initialize_commands): Add COMMAND_USER as a constant in | |
6985 | gdb python api. | |
6986 | * top.c (execute_command): Only execute a user-defined command as a | |
6987 | legacy macro if c->user_commands is set. | |
6988 | ||
e88acd96 TT |
6989 | 2012-03-01 Tom Tromey <[email protected]> |
6990 | ||
6991 | * valprint.h (struct generic_val_print_decorations): New. | |
6992 | (generic_val_print): Declare. | |
6993 | * valprint.c (generic_val_print): New function. | |
6994 | * p-valprint.c (p_decorations): New global. | |
6995 | (pascal_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, | |
6996 | TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_RANGE, TYPE_CODE_INT, | |
6997 | TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ERROR, TYPE_CODE_UNDEF, | |
6998 | TYPE_CODE_BOOL, TYPE_CODE_CHAR>: Call generic_val_print. | |
6999 | * m2-valprint.c (m2_decorations): New global. | |
7000 | (m2_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, TYPE_CODE_FUNC, | |
7001 | TYPE_CODE_BOOL, TYPE_CODE_RANGE, TYPE_CODE_INT, TYPE_CODE_CHAR, | |
7002 | TYPE_CODE_FLT, TYPE_CODE_METHOD, TYPE_CODE_VOID, TYPE_CODE_UNDEF, | |
7003 | TYPE_CODE_ERROR>: Call generic_val_print. | |
7004 | * f-valprint.c (f_decorations): New global. | |
7005 | (f_val_print): Use print_function_pointer_address. | |
7006 | <TYPE_CODE_REF, TYPE_CODE_FUNC, TYPE_CODE_CHAR, TYPE_CODE_FLAGS, | |
7007 | TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ENUM, TYPE_CODE_RANGE, | |
7008 | TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_UNDEF>: Call | |
7009 | generic_val_print. | |
7010 | * c-valprint.c (c_decorations): New global. | |
7011 | (c_val_print) <TYPE_CODE_MEMBERPTR, TYPE_CODE_REF, TYPE_CODE_ENUM, | |
7012 | TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_BOOL, | |
7013 | TYPE_CODE_RANGE, TYPE_CODE_CHAR, TYPE_CODE_FLT, | |
7014 | TYPE_CODE_DECFLOAT, TYPE_CODE_VOID, TYPE_CODE_ERROR, | |
7015 | TYPE_CODE_UNDEF, TYPE_CODE_COMPLEX>: Call generic_val_print. | |
7016 | * ada-valprint.c (ada_val_print_1) <TYPE_CODE_FLAGS>: Remove | |
7017 | case. | |
7018 | ||
d3eab38a TT |
7019 | 2012-03-01 Tom Tromey <[email protected]> |
7020 | ||
7021 | * valprint.c (val_print): Update. | |
7022 | * p-valprint (pascal_val_print): Return void. | |
7023 | * p-lang.h (pascal_val_print): Return void. | |
7024 | * m2-valprint.c (m2_val_print): Return void. | |
7025 | * m2-lang.h (m2_val_print): Return void. | |
7026 | * language.h (struct language_defn) <la_val_print>: Return void. | |
7027 | * language.c (unk_lang_val_print): Return void. | |
7028 | * jv-valprint.c (java_val_print): Return void. | |
7029 | * jv-lang.h (java_val_print): Return void. | |
7030 | * f-valprint.c (f_val_print): Return void. | |
7031 | * f-lang.h (f_val_print): Return void. | |
7032 | * d-valprint.c (d_val_print): Return void. | |
7033 | (dynamic_array_type): Update. | |
7034 | * d-lang.h (d_val_print): Return void. | |
7035 | * c-valprint.c (c_val_print): Return void. | |
7036 | * c-lang.h (c_val_print): Return void. | |
7037 | * ada-valprint.c (ada_vada_val_print, ada_val_print_1): Return | |
7038 | void. | |
7039 | * ada-lang.h (ada_val_print): Return void. | |
7040 | ||
35c0084b TT |
7041 | 2012-03-01 Tom Tromey <[email protected]> |
7042 | ||
7043 | * value.h (val_print): Return void. | |
7044 | * valprint.c (val_print): Return void. | |
7045 | ||
a1f5dd1b TT |
7046 | 2012-03-01 Tom Tromey <[email protected]> |
7047 | ||
7048 | * value.h (common_val_print): Return void. | |
7049 | * valprint.c (common_val_print): Return void. | |
7050 | ||
8e069a98 TT |
7051 | 2012-03-01 Tom Tromey <[email protected]> |
7052 | ||
7053 | * value.h (value_print): Return void. | |
7054 | * valprint.c (value_print): Return void. | |
7055 | * p-valprint.c (pascal_value_print): Return void. | |
7056 | * p-lang.h (pascal_value_print): Return void. | |
7057 | * language.h (struct language_defn) <la_value_print>: Return | |
7058 | void. | |
7059 | * language.c (unk_lang_value_print): Return void. | |
7060 | * jv-valprint.c (java_value_print): Return void. | |
7061 | * jv-lang.h (java_value_print): Return void. | |
7062 | * f-valprint.c (c_value_print): Don't declare. | |
7063 | Include c-lang.h. | |
7064 | * c-valprint.c (c_value_print): Return void. | |
7065 | * c-lang.h (c_value_print): Return void. | |
7066 | * ada-valprint.c (ada_value_print): Return void. | |
7067 | * ada-lang.h (ada_value_print): Return void. | |
7068 | ||
be335936 TT |
7069 | 2012-03-01 Tom Tromey <[email protected]> |
7070 | ||
7071 | * value.c (value_primitive_field): Handle virtual base classes. | |
7072 | ||
b0db66a7 TT |
7073 | 2012-03-01 Tom Tromey <[email protected]> |
7074 | ||
7075 | * gdbtypes.h (struct vbase): Remove. | |
7076 | ||
132c57b4 TT |
7077 | 2012-03-01 Tom Tromey <[email protected]> |
7078 | ||
7079 | * c-valprint.c (print_function_pointer_address): Move... | |
7080 | * valprint.c: ... here. Make non-static. | |
7081 | * m2-valprint.c (print_function_pointer_address): Remove. | |
7082 | * valprint.h (print_function_pointer_address): Declare. | |
7083 | ||
e41eec66 JB |
7084 | 2012-03-01 Joel Brobecker <[email protected]> |
7085 | ||
7086 | * NEWS: Document the fact that one can provide a condition when | |
7087 | creating an Ada exception catchpoint. | |
7088 | ||
19c37f24 TT |
7089 | 2012-03-01 Tom Tromey <[email protected]> |
7090 | ||
7091 | * valprint.c (val_print_type_code_flags): Fix placement of | |
7092 | trailing brace. | |
7093 | ||
f0fed3a3 JB |
7094 | 2012-03-01 Joel Brobecker <[email protected]> |
7095 | ||
7096 | * copyright.py (MULTILINE_COMMENT_PREFIXES): Delete. | |
7097 | (update_files): Do not set MULTILINE_COMMENT_PREFIXES | |
7098 | environment variable before calling update-copyright. | |
7099 | ||
8ba85d85 JB |
7100 | 2012-03-01 Joel Brobecker <[email protected]> |
7101 | ||
7102 | * gnulib/extra/update-copyright: Update to the latest from | |
7103 | gnulib's git repository. | |
7104 | * copyright.py: Set UPDATE_COPYRIGHT_USE_INTERVALS environment | |
7105 | variable to 2 instead of 1. | |
7106 | ||
8219b1e8 JB |
7107 | 2012-02-29 Joel Brobecker <[email protected]> |
7108 | ||
7109 | * varobj.c (c_value_of_variable): Remove dead code. | |
7110 | ||
718cb7da JB |
7111 | 2012-02-29 Joel Brobecker <[email protected]> |
7112 | ||
7113 | * ada-lex.p (processId): Do not modify already encoded IDs. | |
7114 | Update function documentation. | |
7115 | ||
739593e0 JB |
7116 | 2012-02-29 Joel Brobecker <[email protected]> |
7117 | ||
7118 | * ada-lang.h (ada_find_renaming_symbol): Replace parameter | |
7119 | "name" with "struct symbol *name_sym". | |
7120 | * ada-exp.y (write_var_or_type): Update call to | |
7121 | ada_find_renaming_symbol. | |
7122 | "name" with "struct symbol *name_sym". Adjust Implementation | |
7123 | accordingly. Adjust the function documentation. | |
7124 | ||
852dff6c JB |
7125 | 2012-02-29 Joel Brobecker <[email protected]> |
7126 | ||
7127 | * ada-lang.h (ada_find_any_symbol, ada_find_any_type): Delete. | |
7128 | * ada-lang.c (ada_find_any_type): Add advance declaration. | |
7129 | Make static. Replace ada_find_any_symbol by | |
7130 | ada_find_any_type_symbol. | |
7131 | (ada_find_any_type_symbol): Renames ada_find_any_symbol. | |
7132 | Improve function description. Make static. | |
7133 | (ada_find_renaming_symbol, find_old_style_renaming_symbol): | |
7134 | Replace ada_find_any_symbol by ada_find_any_type_symbol. | |
7135 | ||
1b611343 JB |
7136 | 2012-02-29 Joel Brobecker <[email protected]> |
7137 | ||
7138 | * ada-lang.c (struct tag_args): Delete. | |
7139 | (ada_get_tsd_type): Function body moved up in source file. | |
7140 | (ada_tag_name_1, ada_tag_name_2): Delete. | |
7141 | (ada_get_tsd_from_tag): New function. | |
7142 | (ada_tag_name_from_tsd): New function. | |
7143 | (ada_tag_name): Use a TRY_CATCH block instead of catch_errors | |
7144 | to determine the tag name. | |
7145 | ||
41246937 JB |
7146 | 2012-02-29 Joel Brobecker <[email protected]> |
7147 | ||
7148 | * ada-lang.h (ada_get_decoded_value, ada_get_decoded_type): Add | |
7149 | declaration. | |
7150 | * ada-lang.c (ada_get_decoded_value, ada_get_decoded_type): New | |
7151 | function. | |
7152 | ||
ffde82bf JB |
7153 | 2012-02-29 Joel Brobecker <[email protected]> |
7154 | ||
7155 | * ada-lang.c (ada_is_ignored_field): Rewrite wrong comment. | |
7156 | ||
2ad01556 JB |
7157 | 2012-02-29 Joel Brobecker <[email protected]> |
7158 | ||
7159 | * ada-lang.c (ada_lookup_symbol_list): Only cache the result of | |
7160 | full searches. | |
7161 | ||
99b1c762 JB |
7162 | 2012-02-29 Joel Brobecker <[email protected]> |
7163 | ||
7164 | * ada-lang.c (constrained_packed_array_type): If there is a | |
7165 | parallel XA type, use it to determine the array index type. | |
7166 | ||
2d4a02ee JB |
7167 | 2012-02-29 Joel Brobecker <[email protected]> |
7168 | ||
7169 | * ada-valprint.c (ada_val_print_1): If our value is a reference | |
7170 | to an array descriptor, dereference it before converting it | |
7171 | to a simple array. | |
7172 | ||
c48db5ca JB |
7173 | 2012-02-29 Joel Brobecker <[email protected]> |
7174 | ||
7175 | * ada-lang.c (ada_to_fixed_value): Call unwrap_value before | |
7176 | creating fixed value. | |
7177 | (ada_value_ind, ada_coerce_ref, assign_component) | |
7178 | (ada_evaluate_subexp): Remove call to unwrap_value before | |
7179 | call to ada_to_fixed_value. | |
7180 | ||
2e6fda7d JB |
7181 | 2012-02-29 Joel Brobecker <[email protected]> |
7182 | ||
7183 | * ada-lang.c (to_fixed_array_type): Set result's type name. | |
7184 | ||
5845583d JB |
7185 | 2012-02-29 Joel Brobecker <[email protected]> |
7186 | ||
7187 | * ada-lang.c (catch_ada_exception_command_split): Add new | |
7188 | argument cond_string. Add support for condition at end of | |
7189 | "catch exception" commands. | |
7190 | (ada_decode_exception_location): Add new argument cond_string. | |
7191 | Update call to catch_ada_exception_command_split. | |
7192 | (create_ada_exception_catchpoint): Add new argument cond_string. | |
7193 | Set the breakpoint condition if needed. | |
7194 | (catch_ada_exception_command): Update call to | |
7195 | ada_decode_exception_location. | |
7196 | (ada_decode_assert_location): Add function documentation. | |
7197 | Add support for condition at end of "catch assert" command. | |
7198 | (catch_assert_command): Update calls to ada_decode_assert_location | |
7199 | and create_ada_exception_catchpoint. | |
7200 | ||
9a7f938f JK |
7201 | 2012-02-29 Jan Kratochvil <[email protected]> |
7202 | ||
7203 | Fix disp-step-syscall.exp: fork: single step over fork. | |
7204 | * i386-linux-tdep.c (-i386_linux_get_syscall_number): Rename to ... | |
7205 | (i386_linux_get_syscall_number_from_regcache): ... here, new function | |
7206 | comment, change parameters gdbarch and ptid to regcache. Remove | |
7207 | parameter regcache, initialize gdbarch from regcache here. | |
7208 | (i386_linux_get_syscall_number, i386_linux_displaced_step_copy_insn): | |
7209 | New functions. | |
7210 | (i386_linux_init_abi): Install i386_linux_displaced_step_copy_insn | |
7211 | instead. | |
7212 | * i386-tdep.c (i386_syscall_p): Check also for 'sysenter' and | |
7213 | 'syscall'. Make the 'int' check more strict. | |
7214 | ||
ffdf6de5 JK |
7215 | 2012-02-29 Jan Kratochvil <[email protected]> |
7216 | ||
7217 | Fix reverse mode for syscall on AMD CPUs in 32-bit mode. | |
7218 | * i386-linux-tdep.c (i386_linux_intx80_sysenter_record): Rename to ... | |
7219 | (i386_linux_intx80_sysenter_syscall_record): ... here. | |
7220 | (i386_linux_init_abi): Initialize also I386_SYSCALL_RECORD. | |
7221 | Use the renamed function name. | |
7222 | ||
c70a6932 JK |
7223 | 2012-02-29 Jan Kratochvil <[email protected]> |
7224 | ||
7225 | * arm-linux-tdep.c (arm_linux_copy_svc): Reset stale FRAME. | |
7226 | * breakpoint.c (until_break_command): Likewise. | |
7227 | * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise. | |
7228 | * infcall.c (call_function_by_hand): Likewise. | |
7229 | * infcmd.c (finish_forward): Likewise. | |
7230 | * infrun.c (insert_exception_resume_breakpoint): Likewise. | |
7231 | ||
05b8a789 | 7232 | 2012-02-28 Tristan Gingold <[email protected]> |
d4cd3da9 | 7233 | |
d4cd3da9 JB |
7234 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Rework code to |
7235 | avoid variable assignments inside condition. | |
7236 | ||
6425366c JK |
7237 | 2012-02-28 Jan Kratochvil <[email protected]> |
7238 | ||
7239 | Fix static analysis issue found by cppcheck. | |
7240 | * microblaze-tdep.c (microblaze_extract_return_value): Fix | |
7241 | uninitialized BUF for size 2. | |
7242 | ||
c8cef75f | 7243 | 2012-02-27 Chris Dearman <[email protected]> |
a09130f9 PA |
7244 | Nathan Froyd <[email protected]> |
7245 | Maciej W. Rozycki <[email protected]> | |
c8cef75f MR |
7246 | |
7247 | * mips-tdep.c (mips32_instruction_has_delay_slot): New function. | |
7248 | (mips16_instruction_has_delay_slot): Likewise. | |
7249 | (mips_segment_boundary): Likewise. | |
7250 | (mips_adjust_breakpoint_address): Likewise. | |
7251 | (mips_gdbarch_init): Use mips_adjust_breakpoint_address. | |
7252 | ||
473347ad | 7253 | 2012-02-27 Maciej W. Rozycki <[email protected]> |
a09130f9 | 7254 | Maciej W. Rozycki <[email protected]> |
473347ad MR |
7255 | |
7256 | * infrun.c (handle_inferior_event): Don't proceed through | |
7257 | shared library trampolines if stepping at the machine | |
7258 | instruction level. | |
7259 | ||
cf233303 MR |
7260 | 2012-02-27 Maciej W. Rozycki <[email protected]> |
7261 | ||
7262 | * mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs | |
7263 | too. | |
7264 | ||
cb2cf4ce TS |
7265 | 2012-02-27 Thomas Schwinge <[email protected]> |
7266 | ||
7267 | * sh-tdep.c (sh_make_stub_cache, sh_stub_this_id) | |
7268 | (sh_stub_unwind_sniffer): New functions. | |
7269 | (sh_stub_unwind): New variable. | |
7270 | (sh_gdbarch_init): Wire everything. | |
7271 | ||
644cebc9 PA |
7272 | 2012-02-27 Pedro Alves <[email protected]> |
7273 | ||
7274 | * linux-nat.c (pid_is_stopped): Delete, moved to common/. | |
7275 | (linux_nat_post_attach_wait): Adjust to use | |
7276 | linux_proc_pid_is_stopped. | |
7277 | * common/linux-procfs.h (linux_proc_pid_is_stopped): Declare. | |
7278 | * common/linux-procfs.c (linux_proc_pid_is_stopped): New function, | |
7279 | based on pid_is_stopped from both linux-nat.c and | |
7280 | gdbserver/linux-low.c, and renamed. | |
7281 | ||
283002cf MR |
7282 | 2012-02-24 Maciej W. Rozycki <[email protected]> |
7283 | ||
7284 | * remote.c (remote_watchpoint_addr_within_range): New function. | |
7285 | (init_remote_ops): Use it. | |
7286 | ||
9b3e86b1 MR |
7287 | 2012-02-24 Maciej W. Rozycki <[email protected]> |
7288 | ||
7289 | * target.h (target_watchpoint_addr_within_range): Document macro. | |
7290 | ||
e36930bb PA |
7291 | 2012-02-24 Pedro Alves <[email protected]> |
7292 | ||
7293 | * stack.c (set_last_displayed_sal): Issue internal_error instead | |
7294 | of warning, and issue it after clearing the last displayed sal. | |
7295 | ||
883bc8d1 PA |
7296 | 2012-02-24 Jan Kratochvil <[email protected]> |
7297 | Pedro Alves <[email protected]> | |
7298 | ||
7299 | * breakpoint.c (until_break_command): Install breakpoints after | |
7300 | all frame manipulations. | |
7301 | ||
b775012e LM |
7302 | 2012-02-24 Luis Machado <[email protected]> |
7303 | ||
7304 | * remote.c (remote_supports_cond_breakpoints): New forward | |
7305 | declaration. | |
7306 | (remote_add_target_side_condition): New function. | |
7307 | (remote_insert_breakpoint): Add target-side breakpoint | |
7308 | conditional if supported. | |
7309 | (remote_insert_hw_breakpoint): Likewise. | |
7310 | (init_remote_ops): Set to_supports_evaluation_of_breakpoint_conditions | |
7311 | hook. | |
7312 | ||
7313 | * target.c (update_current_target): Inherit | |
7314 | to_supports_evaluation_of_breakpoint_conditions. | |
7315 | Default to_supports_evaluation_of_breakpoint_conditions to return_zero. | |
7316 | ||
7317 | * target.h (struct target_ops) | |
7318 | <to_supports_evaluation_of_breakpoint_conditions>: New field. | |
7319 | (target_supports_evaluation_of_breakpoint_conditions): New #define. | |
7320 | ||
7321 | * breakpoint.c (get_first_locp_gte_addr): New forward declaration. | |
7322 | (condition_evaluation_both, condition_evaluation_auto, | |
7323 | condition_evaluation_host, condition_evaluation_target, | |
7324 | condition_evaluation_enums, condition_evaluation_mode_1, | |
7325 | condition_evaluation_mode): New static globals. | |
7326 | (translate_condition_evaluation_mode): New function. | |
7327 | (breakpoint_condition_evaluation_mode): New function. | |
7328 | (gdb_evaluates_breakpoint_condition_p): New function. | |
7329 | (ALL_BP_LOCATIONS_AT_ADDR): New helper macro. | |
7330 | (mark_breakpoint_modified): New function. | |
7331 | (mark_breakpoint_location_modified): New function. | |
7332 | (set_condition_evaluation_mode): New function. | |
7333 | (show_condition_evaluation_mode): New function. | |
7334 | (bp_location_compare_addrs): New function. | |
7335 | (get_first_location_gte_addr): New helper function. | |
7336 | (set_breakpoint_condition): Free condition bytecode if locations | |
7337 | has become unconditional. Call mark_breakpoint_modified (...). | |
7338 | (condition_command): Call update_global_location_list (1) for | |
7339 | breakpoints. | |
7340 | (breakpoint_xfer_memory): Use is_breakpoint (...). | |
7341 | (is_breakpoint): New function. | |
7342 | (parse_cond_to_aexpr): New function. | |
7343 | (build_target_condition_list): New function. | |
7344 | (insert_bp_location): Handle target-side conditional | |
7345 | breakpoints and call build_target_condition_list (...). | |
7346 | (update_inserted_breakpoint_locations): New function. | |
7347 | (insert_breakpoint_locations): Handle target-side conditional | |
7348 | breakpoints. | |
7349 | (bpstat_check_breakpoint_conditions): Add comment. | |
7350 | (bp_condition_evaluator): New function. | |
7351 | (bp_location_condition_evaluator): New function. | |
7352 | (print_breakpoint_location): Print information on where the condition | |
7353 | will be evaluated. | |
7354 | (print_one_breakpoint_location): Likewise. | |
7355 | (init_bp_location): Call mark_breakpoint_location_modified (...) for | |
7356 | breakpoint location. | |
7357 | (force_breakpoint_reinsertion): New functions. | |
7358 | (update_global_location_list): Handle target-side breakpoint | |
7359 | conditions. | |
7360 | Reinsert locations that are already inserted if conditions have | |
7361 | changed. | |
7362 | (bp_location_dtor): Free agent expression bytecode. | |
7363 | (disable_breakpoint): Call mark_breakpoint_modified (...). | |
7364 | Call update_global_location_list (...) with parameter 1 for breakpoints. | |
7365 | (disable_command): Call mark_breakpoint_location_modified (...). | |
7366 | Call update_global_location_list (...) with parameter 1 for breakpoints. | |
7367 | (enable_breakpoint_disp): Call mark_breakpoint_modified (...). | |
7368 | (enable_command): mark_breakpoint_location_modified (...). | |
7369 | (_initialize_breakpoint): Update documentation and add | |
7370 | condition-evaluation breakpoint subcommand. | |
7371 | ||
7372 | * breakpoint.h: Include ax.h. | |
7373 | (condition_list): New data structure. | |
7374 | (condition_status): New enum. | |
7375 | (bp_target_info) <cond_list>: New field. | |
7376 | (bp_location) <condition_changed, cond_bytecode>: New fields. | |
7377 | (is_breakpoint): New prototype. | |
7378 | ||
3788aec7 LM |
7379 | 2012-02-24 Luis Machado <[email protected]> |
7380 | ||
7381 | * remote.c (remote_state) <cond_breakpoints>: New field. | |
7382 | (PACKET_ConditionalBreakpoints): New enum. | |
7383 | (remote_cond_breakpoint_feature): New function. | |
7384 | (remote_protocol_features): Add new ConditionalBreakpoints entry. | |
7385 | (remote_supports_cond_breakpoints): New function. | |
7386 | (_initialize_remote): Add new packet configuration for | |
7387 | target-side conditional breakpoints. | |
7388 | ||
72895ff6 LM |
7389 | 2012-02-24 Luis Machado <[email protected]> |
7390 | ||
7391 | * NEWS: Mention target-side conditional breakpoint support, | |
7392 | new condition-evaluation breakpoint subcommand and remote | |
7393 | packet extensions. | |
7394 | ||
dea2aa5f LM |
7395 | 2012-02-24 Luis Machado <[email protected]> |
7396 | ||
7397 | * breakpoint.c (bp_location_compare): Sort by pspace before sorting by | |
7398 | number. | |
7399 | ||
8a8bc27f TS |
7400 | 2012-02-24 Thomas Schwinge <[email protected]> |
7401 | ||
7402 | * sh-tdep.c (sh_skip_prologue): Use skip_prologue_using_sal. | |
7403 | (after_prologue): Remove. | |
7404 | ||
6b446fdf TT |
7405 | 2012-02-23 Tom Tromey <[email protected]> |
7406 | ||
7407 | * jv-valprint.c (java_val_print): Remove dead code. | |
7408 | ||
ef59abfb TG |
7409 | 2012-02-23 Tristan Gingold <[email protected]> |
7410 | ||
a09130f9 PA |
7411 | * ada-tasks.c (struct ada_tasks_inferior_data): Add |
7412 | known_tasks_element and known_tasks_length fields. | |
7413 | (read_known_tasks_array): Change argument type. Use pointer type | |
7414 | and number of elements from DATA. Adjust. | |
7415 | (read_known_tasks_list): Likewise. | |
7416 | (get_known_tasks_addr): Remove. | |
7417 | (ada_set_current_inferior_known_tasks_addr): Renamed to ... | |
7418 | (ada_tasks_inferior_data_sniffer): ... this. Use symtab for element | |
7419 | type and array length. Merge former get_known_tasks_addr code. | |
ef59abfb | 7420 | |
def166f6 JK |
7421 | 2012-02-23 Jan Kratochvil <[email protected]> |
7422 | ||
7423 | PR backtrace/13716 | |
7424 | * infcmd.c (finish_forward): New variable frame_id, initialize it, use | |
7425 | it after set_momentary_breakpoint. | |
7426 | ||
aeaa2474 SA |
7427 | 2012-02-22 Sterling Augustine <[email protected]> |
7428 | ||
7429 | PR 13689: | |
7430 | * breakpoint.c (watchpoint_exp_is_constant): Add UNOP_CAST to switch. | |
7431 | ||
feea76c2 GB |
7432 | 2012-02-22 Gary Benson <[email protected]> |
7433 | ||
7434 | * dwarf2read.c (dwarf2_read_index): Correct misspelling. | |
7435 | (find_slot_in_mapped_hash): Likewise. | |
7436 | ||
f06e05e0 JK |
7437 | 2012-02-21 Jan Kratochvil <[email protected]> |
7438 | ||
7439 | PR build/13638 | |
7440 | * configure.ac (MAKEINFO): Replace AC_CHECK_PROG by AC_ARG_VAR. | |
7441 | (MAKEINFOFLAGS): Replace static string by AC_ARG_VAR. | |
7442 | * configure: Regenerate. | |
7443 | ||
b54a8fd7 PA |
7444 | 2012-02-21 Tristan Gingold <[email protected]> |
7445 | Pedro Alves <[email protected]> | |
7446 | ||
7447 | * ia64-tdep.c: Do not include libunwind-ia64.h. | |
7448 | * libunwind-frame.h: Remove #ifdef HAVE_LIBUNWIND_H guard. | |
7449 | Include libunwind-ia64.h instead of libunwind.h. | |
7450 | * configure.ac (--with-libunwind, $enable_libunwind): Don't check | |
7451 | for libunwind.h existence. | |
7452 | * configure, config.in: Regenerate. | |
7453 | ||
dfcee124 AG |
7454 | 2012-02-21 Anton Gorenkov <[email protected]> |
7455 | ||
7456 | * c-valprint.c (c_value_print): Use value_rtti_indirect_type | |
7457 | instead of value_rtti_target_type. | |
7458 | * eval.c (evaluate_subexp_standard): Use value_rtti_indirect_type | |
7459 | instead of value_rtti_target_type. | |
7460 | * typeprint.c (whatis_exp): Use value_rtti_indirect_type instead of | |
7461 | value_rtti_target_type. | |
7462 | * valops.c (value_ind): Extract function readjust_indirect_value_type. | |
7463 | (value_rtti_target_type): Rename to ... | |
7464 | (value_rtti_indirect_type): ... here and make it indirect. Update | |
7465 | function comment. | |
7466 | * value.c (readjust_indirect_value_type): New function. | |
7467 | (coerce_ref): Support for enclosing type setting for references | |
7468 | with readjust_indirect_value_type. | |
7469 | * value.h (readjust_value_type): New declaration. | |
7470 | (value_rtti_target_type): Rename to ... | |
7471 | (value_rtti_indirect_type): ... here. | |
7472 | ||
02568277 AG |
7473 | 2012-02-21 Anton Gorenkov <[email protected]> |
7474 | ||
7475 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
7476 | ||
10c07b7e | 7477 | 2012-02-20 Doug Evans <[email protected]> |
28ee876a | 7478 | |
d82ea6a8 DE |
7479 | * objfiles.c (add_to_objfile_sections): Remove outdated comments. |
7480 | Rename objfile_p_char parameter to objfilep. | |
7481 | (build_objfile_section_table): Result is now void. All callers | |
7482 | updated. | |
7483 | * objfiles.h (struct objfile): Tweak comments, whitespace. | |
7484 | (build_objfile_section_table): Update. | |
7485 | ||
28ee876a DE |
7486 | * elfread.c (elf_symfile_segments): Fix warning text. |
7487 | ||
24c79950 TT |
7488 | 2012-02-20 Tom Tromey <[email protected]> |
7489 | ||
7490 | PR gdb/13498: | |
7491 | * dwarf2read.c (dw2_expand_symtabs_matching): Only visit a | |
7492 | particular set of file names once. | |
7493 | (dw2_map_symbol_filenames): Likewise. | |
7494 | ||
3a9b40b6 JK |
7495 | 2012-02-20 Jan Kratochvil <[email protected]> |
7496 | ||
7497 | Code cleanup. | |
7498 | * main.c (write_files): Remove the declaration. | |
7499 | (external_editor_command): Move the declaration ... | |
7500 | [GDBTK] (external_editor_command): ... here. Fix the comment. | |
7501 | ||
4d0795ca TT |
7502 | 2012-02-20 Tom Tromey <[email protected]> |
7503 | ||
7504 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove | |
7505 | extraneous block. | |
7506 | ||
637fd620 TG |
7507 | 2012-02-20 Tristan Gingold <[email protected]> |
7508 | ||
7509 | * darwin-nat.h (enum darwin_msg_state): Add comments. | |
7510 | ||
6f124894 TG |
7511 | 2012-02-20 Tristan Gingold <[email protected]> |
7512 | ||
7513 | * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset | |
7514 | value. | |
7515 | ||
2e6e3d9c JB |
7516 | 2012-20-18 Joel Brobecker <[email protected]> |
7517 | ||
7518 | * breakpoint.c (watchpoint_exp_is_const): Add missing empty line | |
7519 | between function description and implementation. | |
7520 | ||
2e8265fd TT |
7521 | 2012-02-17 Tom Tromey <[email protected]> |
7522 | ||
7523 | PR python/12070: | |
7524 | * python/py-event.c (event_object_getset): New global. | |
7525 | (event_object_type): Reference it. | |
7526 | * python/py-type.c (field_object_getset): New global. | |
7527 | (field_object_type): Reference it. | |
7528 | * python/python-internal.h (gdb_py_generic_dict): Declare. | |
7529 | * python/py-utils.c (gdb_py_generic_dict): New function. | |
7530 | ||
8544a150 | 7531 | 2012-02-17 Tristan Gingold <[email protected]> |
6f124894 | 7532 | |
8544a150 | 7533 | * solib-darwin.c (darwin_current_sos): Check magic and filetype |
6f124894 | 7534 | |
ca193e27 TS |
7535 | 2012-02-17 Thomas Schwinge <[email protected]> |
7536 | ||
7537 | * sh-tdep.c (sh_is_renesas_calling_convention): Fix handling of | |
7538 | TYPE_CALLING_CONVENTION annotation. | |
7539 | ||
e5586183 KB |
7540 | 2012-02-16 Kevin Buettner <[email protected]> |
7541 | ||
7542 | * MAINTAINERS: Add rx to target ISA section. | |
7543 | * Makefile.in (ALL_TARGET_OBS): Add rx-tdep.o. | |
7544 | (ALLDEPFILES): Add rx-tdep.c. | |
7545 | ||
7dcd53a0 TT |
7546 | 2012-02-16 Tom Tromey <[email protected]> |
7547 | ||
7548 | * symfile.c (symbol_file_add_main_1): Use inferior's | |
7549 | symfile_flags. | |
7550 | * solib.c (solib_read_symbols): Use inferior's symfile_flags. | |
7551 | * linux-nat.c (linux_child_follow_fork): Set symfile_flags on | |
7552 | inferior. | |
7553 | * infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on | |
7554 | inferior. | |
7555 | (follow_exec): Use inferior's symfile_flags. | |
7556 | * inferior.h (struct inferior) <symfile_flags>: New field. | |
7557 | ||
ddd60447 MF |
7558 | 2012-02-16 Mike Frysinger <[email protected]> |
7559 | ||
7560 | PR gdb/9734: | |
7561 | * remote-sim.c (gdbsim_create_inferior): Call error() when | |
7562 | sim_create_inferior() fails. | |
7563 | ||
b0d32fb6 TG |
7564 | 2012-02-16 Josh Matthews <[email protected]> |
7565 | ||
7566 | * machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure. | |
7567 | ||
9addecb9 TT |
7568 | 2012-02-16 Tom Tromey <[email protected]> |
7569 | ||
7570 | PR c++/13653: | |
7571 | * thread.c (struct current_thread_cleanup) <was_removable>: New | |
7572 | field. | |
7573 | (restore_current_thread_cleanup_dtor): Restore 'removable' field. | |
7574 | (make_cleanup_restore_current_thread): Initialize new field. | |
7575 | ||
a58b110a KB |
7576 | 2012-02-15 Kevin Buettner <[email protected]> |
7577 | ||
7578 | * MAINTAINERS: Add rl78 to target ISA section. | |
7579 | * Makefile.in (ALL_TARGET_OBS): Add rl78-tdep.o. | |
7580 | (ALLDEPFILES): Add rl78-tdep.c. | |
7581 | * NEWS: Mention rl78 as a new target. | |
7582 | ||
4cb6da1c AR |
7583 | 2012-02-15 Aleksandar Ristovski <[email protected]> |
7584 | ||
7585 | * frame.c (find_frame_sal): Initialize sal->pspace field from frame | |
7586 | data. | |
7587 | * stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL. | |
7588 | ||
3af2590d TT |
7589 | 2012-02-15 Tom Tromey <[email protected]> |
7590 | ||
7591 | PR gdb/12659: | |
7592 | * infcmd.c (registers_info): Print just the current register's | |
7593 | name. | |
7594 | ||
c6910659 TT |
7595 | 2012-02-15 Tom Tromey <[email protected]> |
7596 | ||
7597 | * python/py-symbol.c (sympy_value): Use _(). | |
7598 | ||
7cee1e54 PA |
7599 | 2012-02-15 Pedro Alves <[email protected]> |
7600 | ||
7601 | * remote.c (remote_detach_1, extended_remote_attach_1): Tweak | |
7602 | output to be like native targets'. | |
7603 | (remote_pid_to_str): Special case the null ptid. | |
7604 | ||
816338b5 SS |
7605 | 2012-02-14 Stan Shebs <[email protected]> |
7606 | ||
7607 | * NEWS: Mention enable count command. | |
7608 | * breakpoint.h (struct breakpoint): New field enable_count. | |
7609 | * breakpoint.c (enable_breakpoint_disp): Add count argument. | |
7610 | (enable_breakpoint): Add arg to call. | |
7611 | (struct disp_data): New struct. | |
7612 | (do_enable_breakpoint_disp): Interp arg as disp_data and unpack. | |
7613 | (do_map_enable_once_breakpoint): Create a struct and pass it. | |
7614 | (do_map_enable_delete_breakpoint): Ditto. | |
7615 | (do_map_enable_count_breakpoint): New function. | |
7616 | (enable_count_command): New function. | |
7617 | (bpstat_stop_status): Decrement enable_count. | |
7618 | (print_one_breakpoint_location): Report enable count. | |
7619 | (_initialize_breakpoint): Add enable count command. | |
7620 | ||
c47a44f4 KB |
7621 | 2012-02-14 Kevin Buettner <[email protected]> |
7622 | ||
7623 | * rl78-tdep.c (reggroups.h): Include. | |
7624 | (RL78_RAW_BANK0_R0_REGNUM, RL78_RAW_BANK0_R1_REGNUM) | |
7625 | (RL78_RAW_BANK0_R2_REGNUM, RL78_RAW_BANK0_R3_REGNUM) | |
7626 | (RL78_RAW_BANK0_R4_REGNUM, RL78_RAW_BANK0_R5_REGNUM) | |
7627 | (RL78_RAW_BANK0_R6_REGNUM, RL78_RAW_BANK0_R7_REGNUM) | |
7628 | (RL78_RAW_BANK1_R0_REGNUM, RL78_RAW_BANK1_R1_REGNUM) | |
7629 | (RL78_RAW_BANK1_R2_REGNUM, RL78_RAW_BANK1_R3_REGNUM) | |
7630 | (RL78_RAW_BANK1_R4_REGNUM, RL78_RAW_BANK1_R5_REGNUM) | |
7631 | (RL78_RAW_BANK1_R6_REGNUM, RL78_RAW_BANK1_R7_REGNUM) | |
7632 | (RL78_RAW_BANK2_R0_REGNUM, RL78_RAW_BANK2_R1_REGNUM) | |
7633 | (RL78_RAW_BANK2_R2_REGNUM, RL78_RAW_BANK2_R3_REGNUM) | |
7634 | (RL78_RAW_BANK2_R4_REGNUM, RL78_RAW_BANK2_R5_REGNUM) | |
7635 | (RL78_RAW_BANK2_R6_REGNUM, RL78_RAW_BANK2_R7_REGNUM) | |
7636 | (RL78_RAW_BANK3_R0_REGNUM, RL78_RAW_BANK3_R1_REGNUM) | |
7637 | (RL78_RAW_BANK3_R2_REGNUM, RL78_RAW_BANK3_R3_REGNUM) | |
7638 | (RL78_RAW_BANK3_R4_REGNUM, RL78_RAW_BANK3_R5_REGNUM) | |
7639 | (RL78_RAW_BANK3_R6_REGNUM, RL78_RAW_BANK3_R7_REGNUM): Add to | |
7640 | beginning of register list. | |
7641 | (RL78_BANK0_R0_REGNUM, RL78_BANK0_R1_REGNUM, RL78_BANK0_R2_REGNUM) | |
7642 | (RL78_BANK0_R3_REGNUM, RL78_BANK0_R4_REGNUM, RL78_BANK0_R5_REGNUM) | |
7643 | (RL78_BANK0_R6_REGNUM, RL78_BANK0_R7_REGNUM, RL78_BANK1_R0_REGNUM) | |
7644 | (RL78_BANK1_R1_REGNUM, RL78_BANK1_R2_REGNUM, RL78_BANK1_R3_REGNUM) | |
7645 | (RL78_BANK1_R4_REGNUM, RL78_BANK1_R5_REGNUM, RL78_BANK1_R6_REGNUM) | |
7646 | (RL78_BANK1_R7_REGNUM, RL78_BANK2_R0_REGNUM, RL78_BANK2_R1_REGNUM) | |
7647 | (RL78_BANK2_R2_REGNUM, RL78_BANK2_R3_REGNUM, RL78_BANK2_R4_REGNUM) | |
7648 | (RL78_BANK2_R5_REGNUM, RL78_BANK2_R6_REGNUM, RL78_BANK2_R7_REGNUM) | |
7649 | (RL78_BANK3_R0_REGNUM, RL78_BANK3_R1_REGNUM, RL78_BANK3_R2_REGNUM) | |
7650 | (RL78_BANK3_R3_REGNUM, RL78_BANK3_R4_REGNUM, RL78_BANK3_R5_REGNUM) | |
7651 | (RL78_BANK3_R6_REGNUM, RL78_BANK3_R7_REGNUM): Move these into | |
7652 | the pseudo registers. Rearrange other pseudo registers too so | |
7653 | that the bank registers appear at the end. | |
7654 | (rl78_register_type): Account for the fact that the byte sized | |
7655 | bank registers are now pseudo-registers. | |
7656 | (rl78_register_name): Rearrange the register name array. Make | |
7657 | initial set of raw banked registers inaccessible. | |
7658 | (rl78_register_reggroup_p, rl78_register_sim_regno): New functions. | |
7659 | (rl78_pseudo_register_read, rl78_pseudo_register_write): Add | |
7660 | case for copying bytes back and forth between raw and pseudo | |
7661 | versions of the banked registers. Update other cases to reflect | |
7662 | the changed names. | |
7663 | (rl78_return_value): Update to account for changed names of | |
7664 | raw registers. | |
7665 | (rl78_gdbarch_init): Register rl78_register_reggroup_p() and | |
7666 | rl78_register_sim_regno(). | |
7667 | ||
e4569f1e KB |
7668 | 2012-02-14 Kevin Buettner <[email protected]> |
7669 | ||
7670 | * rl78-tdep.c (rl78_skip_prologue): Make `const' the type of | |
7671 | the name parameter being passed to find_pc_partial_function(). | |
7672 | ||
7a05aae7 JK |
7673 | 2012-02-14 Jan Kratochvil <[email protected]> |
7674 | ||
7675 | * MAINTAINERS: Step down from being ia64 target maintainer. | |
7676 | ||
11fde611 JK |
7677 | 2012-02-12 Jan Kratochvil <[email protected]> |
7678 | ||
7679 | * ppc-linux-nat.c (fetch_register, store_register): Fix GCC aliasing | |
7680 | compilation warning. | |
7681 | ||
57008375 JK |
7682 | 2012-02-12 Jan Kratochvil <[email protected]> |
7683 | ||
7684 | Fix crash on loaded shlibs without loaded exec_bfd. | |
7685 | * exec.c (exec_files_info): Do not crash on NULL EXEC_BFD. | |
7686 | (set_section_command): Replace exec_bfd by p->bfd. | |
7687 | ||
ff3c9849 TT |
7688 | 2012-02-10 Tom Tromey <[email protected]> |
7689 | ||
7690 | * linespec.c (decode_line_internal): Skip symtabs_from_filename | |
7691 | when we have a C++ qualified name. | |
7692 | ||
db2b9fdd PA |
7693 | 2012-02-10 Pedro Alves <[email protected]> |
7694 | ||
7695 | * inferior.c (inferior_pid_to_str): New. | |
7696 | (print_inferior, inferior_command): Use it. | |
7697 | ||
12cd34f3 PA |
7698 | 2012-02-10 Pedro Alves <[email protected]> |
7699 | ||
7700 | * configure.ac (HAVE_ELF test): Put the old CFLAGS at the end of | |
7701 | the test CFLAGS. | |
7702 | * configure: Regenerate. | |
7703 | ||
e871429d JK |
7704 | 2012-02-10 Jan Kratochvil <[email protected]> |
7705 | ||
7706 | * linespec.c (decode_line_internal): Fix comment correctness. | |
7707 | ||
1916efaf PA |
7708 | 2012-02-09 Valery Khromov <[email protected]> |
7709 | ||
7710 | PR gdb/12953 | |
7711 | * Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h. | |
7712 | * amd64bsd-nat.c: Add support for debug registers (adapted from | |
7713 | i386bsd-nat.c). | |
7714 | [HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set) | |
7715 | (amd64bsd_dr_set_control, amd64bsd_dr_set_addr) | |
7716 | (amd64bsd_dr_get_addr, amd64bsd_dr_get_status) | |
7717 | (amd64bsd_dr_get_control): New functions. | |
7718 | * amd64bsd-nat.h: New file (adapted from i386bsd-nat.h). | |
7719 | * amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h". | |
7720 | [HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware | |
7721 | watchpoints initialization. | |
7722 | * config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o. | |
7723 | ||
f4859d94 JK |
7724 | 2012-02-09 Jan Kratochvil <[email protected]> |
7725 | ||
7726 | * gdb-gdb.py (StructMainTypePrettyPrinter) <struct_field_img>: Print | |
7727 | flds_bnds.fields. | |
7728 | (StructMainTypePrettyPrinter) <bounds_img>: Print flds_bnds.bounds. | |
7729 | ||
c56a97f9 JK |
7730 | 2012-02-09 Jan Kratochvil <[email protected]> |
7731 | ||
7732 | * breakpoint.c (bp_location_compare): Fix comment. Reindent the code. | |
7733 | ||
1a119f36 JB |
7734 | 2012-02-08 Joel Brobecker <[email protected]> |
7735 | ||
7736 | * language.h (symbol_name_cmp_ftype): Renames | |
7737 | symbol_name_match_p_ftype. | |
7738 | (struct language_defn)[la_get_symbol_name_cmp]: Renames | |
7739 | la_get_symbol_name_match_p. | |
7740 | * ada-lang.c (ada_get_symbol_name_cmp): Renames | |
7741 | ada_get_symbol_name_match_p. Update comment. | |
7742 | (ada_language_defn)[la_get_symbol_name_cmp]: Update value. | |
7743 | * linespec.c (struct symbol_matcher_data)[symbol_name_cmp]: | |
7744 | Renames symbol_name_match_p. Update field type. | |
7745 | (iterate_name_matcher, iterate_over_all_matching_symtabs): Adjust. | |
7746 | * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, m2-lang.c, objc-lang.c, | |
7747 | opencl-lang.c, p-lang.c: Replace "la_get_symbol_name_match_p" by | |
7748 | "la_get_symbol_name_cmp" in comments. | |
7749 | * language.c: Likewise. | |
7750 | ||
c71bb1cf RO |
7751 | 2012-02-08 Rainer Orth <[email protected]> |
7752 | ||
7753 | * amd64-sol2-tdep.c (amd64_sol2_gregset_reg_offset): Correct | |
7754 | %eflags offset. | |
7755 | * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offs) | |
7756 | (amd64_sol2_gregset32_reg_offs): Likewise. | |
7757 | ||
4b2d20a5 TG |
7758 | 2012-02-08 Joel Brobecker <[email protected]> |
7759 | ||
7760 | * solib-darwin.c (darwin_bfd_open): Make sure that the filename | |
7761 | of the returned BFD is allocated by GDB. | |
7762 | ||
f0823d2c TT |
7763 | 2012-02-07 Tom Tromey <[email protected]> |
7764 | ||
7765 | PR python/12027: | |
7766 | * python/python-internal.h (frame_object_type): Declare. | |
7767 | * python/py-symbol.c (sympy_needs_frame): New function. | |
7768 | (sympy_value): New function. | |
7769 | (symbol_object_getset): Add "needs_frame". | |
7770 | (symbol_object_methods): Add "value". | |
7771 | * python/py-frame.c (frame_object_type): No longer static. | |
7772 | ||
64e7d9dd TT |
7773 | 2012-02-07 Tom Tromey <[email protected]> |
7774 | ||
7775 | PR python/13599: | |
7776 | * python/py-symbol.c (sympy_line): New function. | |
7777 | (symbol_object_getset): Add "line". | |
7778 | ||
1d6b2d2b TT |
7779 | 2012-02-07 Tom Tromey <[email protected]> |
7780 | ||
7781 | * charset.c (find_charset_names): Check 'in' against NULL. | |
7782 | ||
0d5cff50 DE |
7783 | 2012-02-06 Doug Evans <[email protected]> |
7784 | ||
7785 | * gdbtypes.h (struct main_type): Change type of name,tag_name, | |
7786 | and fields.name members from char * to const char *. All uses updated. | |
7787 | (struct cplus_struct_type): Change type of fn_fieldlists.name member | |
7788 | from char * to const char *. All uses updated. | |
7789 | (type_name_no_tag): Update. | |
7790 | (lookup_unsigned_typename, lookup_signed_typename): Update. | |
7791 | * gdbtypes.c (type_name_no_tag): Change result type | |
7792 | from char * to const char *. All callers updated. | |
7793 | (lookup_unsigned_typename, lookup_signed_typename): Change type of | |
7794 | name parameter from char * to const char *. | |
7795 | * symtab.h (struct cplus_specific): Change type of demangled_name | |
7796 | member from char * to const char *. All uses updated. | |
7797 | (struct general_symbol_info): Change type of name and | |
7798 | mangled_lang.demangled_name members from char * to const char *. | |
7799 | All uses updated. | |
7800 | (symbol_get_demangled_name, symbol_natural_name): Update. | |
7801 | (symbol_demangled_name, symbol_search_name): Update. | |
7802 | * symtab.c (symbol_get_demangled_name): Change result type | |
7803 | from char * to const char *. All callers updated. | |
7804 | (symbol_natural_name, symbol_demangled_name): Ditto. | |
7805 | (symbol_search_name): Ditto. | |
7806 | (completion_list_add_name): Change type of symname,sym_text, | |
7807 | text,word parameters from char * to const char *. | |
7808 | (completion_list_objc_symbol): Change type of sym_text, | |
7809 | text,word parameters from char * to const char *. | |
7810 | * ada-lang.c (find_struct_field): Change type of name parameter | |
7811 | from char * to const char *. | |
7812 | (encoded_ordered_before): Similarly for N0,N1 parameters. | |
7813 | (old_renaming_is_invisible): Similarly for function_name parameter. | |
7814 | (ada_type_name): Change result type from char * to const char *. | |
7815 | All callers updated. | |
7816 | * ada-lang.h (ada_type_name): Update. | |
7817 | * buildsym.c (hashname): Change type of name parameter | |
7818 | from char * to const char *. | |
7819 | * buildsym.h (hashname): Update. | |
7820 | * dbxread.c (end_psymtab): Change type of include_list parameter | |
7821 | from char ** to const char **. | |
7822 | * dwarf2read.c (determine_prefix): Change result type | |
7823 | from char * to const char *. All callers updated. | |
7824 | * f-lang.c (find_common_for_function): Change type of name, funcname | |
7825 | parameters from char * to const char *. | |
7826 | * f-lang.c (find_common_for_function): Update. | |
7827 | * f-valprint.c (list_all_visible_commons): Change type of funcname | |
7828 | parameters from char * to const char *. | |
7829 | * gdbarch.sh (static_transform_name): Change type of name parameter | |
7830 | and result from char * to const char *. | |
7831 | * gdbarch.c: Regenerate. | |
7832 | * gdbarch.h: Regenerate. | |
7833 | * i386-sol2-tdep.c (i386_sol2_static_transform_name): Change type | |
7834 | of name parameter from char * to const char *. | |
7835 | * jv-lang.c (java_primitive_type_from_name): Ditto. | |
7836 | (java_demangled_signature_length): Similarly for signature parameter. | |
7837 | (java_demangled_signature_copy): Ditto. | |
7838 | (java_demangle_type_signature): Ditto. | |
7839 | * jv-lang.h (java_primitive_type_from_name): Update. | |
7840 | (java_demangle_type_signature): Update. | |
7841 | * objc-lang.c (specialcmp): Change type of a,b parameters | |
7842 | from char * to const char *. | |
7843 | * p-lang.c (is_pascal_string_type): Change type of arrayname parameter | |
7844 | from char * to const char *. All callers updated. | |
7845 | * p-lang.h (is_pascal_string_type): Update. | |
7846 | * solib-frv.c (find_canonical_descriptor_in_load_object): Change type | |
7847 | of name parameter from char * to const char *. | |
7848 | * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Ditto. | |
7849 | * utils.c (fprintf_symbol_filtered): Ditto. | |
7850 | * defs.h (fprintf_symbol_filtered): Update. | |
7851 | * sparc-tdep.h (sparc_sol2_static_transform_name): Update. | |
7852 | * stabsread.h (end_psymtab): Update. | |
7853 | * stack.c (find_frame_funname): Change type of funname parameter | |
7854 | from char ** to const char **. | |
7855 | * stack.h (find_frame_funname): Update. | |
7856 | * typeprint.c (type_print): Change type of varstring parameter | |
7857 | from char * to const char *. | |
7858 | * value.h (type_print): Update. | |
7859 | * xcoffread.c (xcoff_start_psymtab): Change type of filename parameter | |
7860 | from char * to const char *. All callers updated. | |
7861 | (xcoff_end_psymtab): Change type of include_list parameter | |
7862 | from char ** to const char **. All callers updated. | |
7863 | (swap_sym): Similarly for name parameter. All callers updated. | |
7864 | * coffread.c (patch_type): Add (char*) cast to xfree parameter. | |
7865 | Use xstrdup. | |
7866 | (process_coff_symbol): Use xstrdup. | |
7867 | * stabsread.c (stabs_method_name_from_physname): Renamed from | |
7868 | update_method_name_from_physname. Change result type from void | |
7869 | to char *. All callers updated. | |
7870 | (read_member_functions): In has_destructor case, store name in objfile | |
7871 | obstack instead of malloc space. In !has_stub case, fix mem leak. | |
7872 | ||
5579a92e TT |
7873 | 2012-02-06 Luca Pizzamiglio <[email protected]> |
7874 | ||
7875 | * configure: Rebuild. | |
7876 | * configure.ac: Put -L../bfd and -L../libiberty at the front of | |
7877 | LDFLAGS. | |
7878 | ||
9058f767 KB |
7879 | 2012-02-03 Kevin Buettner <[email protected]> |
7880 | ||
7881 | * configure.tgt (rl78-*-elf): New target. | |
7882 | * rl78-tdep.c: New file. | |
7883 | ||
5b37825d PW |
7884 | 2012-02-03 Philippe Waroquiers <[email protected]> |
7885 | ||
7886 | * remote.c (remote_rcmd): Use getpkt_sane to detect timeout | |
7887 | and continue the loop. Add QUIT statement. | |
7888 | ||
e009ee71 TT |
7889 | 2012-02-03 Tom Tromey <[email protected]> |
7890 | ||
7891 | PR gdb/13596: | |
7892 | * solib.h (gdb_bfd_lookup_symbol_from_symtab): Rename from | |
7893 | bfd_lookup_symbol_from_symtab. | |
7894 | * solib-pa64.c (pa64_solib_create_inferior_hook): Use | |
7895 | gdb_bfd_lookup_symbol_from_symtab. | |
7896 | ||
f7e44f65 JB |
7897 | 2012-02-03 Joel Brobecker <[email protected]> |
7898 | ||
7899 | * mi/mi-cmd-stack.c (list_args_or_locals): For argument symbols, | |
7900 | use SYMBOL_LINKAGE_NAME to find the corresponding non-argument | |
7901 | symbol. Add assertion that sym2 is never NULL. | |
7902 | ||
2c02bd72 DE |
7903 | 2012-02-02 Doug Evans <[email protected]> |
7904 | ||
7905 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of | |
7906 | "name" parameter to const char ** from char **. All callers updated. | |
7907 | (find_pc_partial_function): Ditto. | |
7908 | (cache_pc_function_name): Change type to const char * from char *. | |
7909 | * symtab.h ((find_pc_partial_function_gnu_ifunc): Update. | |
7910 | (find_pc_partial_function): Update. | |
7911 | * alpha-tdep.h (struct gdbarch_tdep, member pc_in_sigtramp): Change | |
7912 | type of "name" parameter to const char * from char *. | |
7913 | All uses updated. | |
7914 | * arch-utils.c (generic_in_solib_return_trampoline): Change | |
7915 | type of "name" parameter to const char * from char *. | |
7916 | * arch-utils.h (generic_in_solib_return_trampoline): Update. | |
7917 | * frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Change | |
7918 | type of "name" parameter to const char * from char *. | |
7919 | * gdbarch.sh (in_solib_return_trampoline): Ditto. | |
7920 | * gdbarch.c: Regenerate. | |
7921 | * gdbarch.h: Regenerate. | |
7922 | * hppa-hpux-tdep.c (hppa_hpux_in_solib_return_trampoline): Update. | |
7923 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Update. | |
7924 | * m32r-linux-tdep.c (m32r_linux_pc_in_sigtramp): Change | |
7925 | type of "name" parameter to const char * from char *. | |
7926 | * skip.c (skip_function_pc): Ditto. | |
7927 | * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Ditto. | |
7928 | * sparc-tdep.h (sparc_sol2_pc_in_sigtramp): Update. | |
7929 | * sparc64fbsd-tdep.c (sparc64fbsd_pc_in_sigtramp): Ditto. | |
7930 | * sparc64nbsd-tdep.c (sparc64nbsd_pc_in_sigtramp): Ditto. | |
7931 | * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Ditto. | |
7932 | * sparcnbsd-tdep.c (sparc32nbsd_pc_in_sigtramp): Ditto. | |
7933 | * sparcobsd-tdep.c (sparc32obsd_pc_in_sigtramp): Ditto. | |
7934 | * nbsd-tdep.c (nbsd_pc_in_sigtramp): Similary for "func_name". | |
7935 | * nbsd-tdep.h (nbsd_pc_in_sigtramp): Update. | |
7936 | ||
e886a173 PA |
7937 | 2012-02-02 Pedro Alves <[email protected]> |
7938 | ||
7939 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Return 0 if | |
7940 | the current inferior has no execution. Make sure the current | |
7941 | remote process matches gdb's current inferior. | |
7942 | ||
c709a7c2 TT |
7943 | 2012-02-02 Tom Tromey <[email protected]> |
7944 | ||
7945 | PR gdb/13405: | |
7946 | * tui/tui-win.c (parse_scrolling_args): Don't write to possibly | |
7947 | read-only memory. | |
7948 | ||
f149aabd TT |
7949 | 2012-02-02 Tom Tromey <[email protected]> |
7950 | ||
7951 | PR gdb/9307: | |
7952 | * symtab.c (lookup_language_this): Set block_found. | |
7953 | ||
03bef283 TT |
7954 | 2012-02-01 Tom Tromey <[email protected]> |
7955 | ||
7956 | PR gdb/13431: | |
7957 | * jit.c (struct jit_inferior_data): Rewrite. | |
7958 | (struct jit_objfile_data): New. | |
7959 | (get_jit_objfile_data): New function. | |
7960 | (add_objfile_entry): Update. | |
7961 | (jit_read_descriptor): Return int. Replace descriptor_addr | |
7962 | argument with inf_data. Update. Don't call error. | |
7963 | (jit_breakpoint_re_set_internal): Reorder logic. Update. Look up | |
7964 | descriptor here. | |
7965 | (jit_inferior_init): Don't look up descriptor. Don't call error. | |
7966 | (jit_reset_inferior_data_and_breakpoints) | |
7967 | (jit_inferior_created_observer): Remove. | |
7968 | (jit_inferior_exit_hook): Update. | |
7969 | (jit_executable_changed_observer): Remove. | |
7970 | (jit_event_handler): Update. | |
7971 | (free_objfile_data): Reset inferior data if needed. | |
7972 | (_initialize_jit): Update. | |
7973 | ||
f0bbc364 TT |
7974 | 2012-02-01 Tom Tromey <[email protected]> |
7975 | ||
7976 | * jit.c (bfd_open_from_target_memory): Move higher in file. | |
7977 | ||
47c1316c TG |
7978 | 2012-02-01 Tristan Gingold <[email protected]> |
7979 | ||
7980 | * libunwind-frame.c (libunwind_load): Display message if dlopen | |
7981 | failed. | |
7982 | ||
8e704927 GB |
7983 | 2012-02-01 Gary Benson <[email protected]> |
7984 | ||
09c7a31f | 7985 | * symtab.h (symbol_found_callback_ftype): New typedef. |
8e704927 GB |
7986 | (iterate_over_symbols): Use the above. |
7987 | * symtab.c (iterate_over_symbols): Likewise. | |
7988 | * language.h (language_defn->la_iterate_over_symbols): Likewise. | |
7989 | * ada-lang.c (ada_iterate_over_symbols): Likewise. | |
7990 | * linespec.c (iterate_over_all_matching_symtabs): Likewise. | |
7991 | (iterate_name_matcher): Document return values. | |
7992 | (collect_one_symbol): Likewise. | |
7993 | (collect_function_symbols): Likewise. | |
7994 | (collect_symbols): Likewise. | |
7995 | ||
d9680e73 TT |
7996 | 2012-02-01 Tom Tromey <[email protected]> |
7997 | ||
7998 | * ada-lang.c (resolve_subexp): Update. | |
7999 | (ada_lookup_symbol_list): Add 'full_search' argument. | |
8000 | (ada_iterate_over_symbols): Pass 0 as full_search argument to | |
8001 | ada_lookup_symbol_list. | |
8002 | (ada_lookup_encoded_symbol): Update. | |
8003 | (get_var_value): Update. | |
8004 | * ada-exp.y (block_lookup): Update. | |
8005 | (write_var_or_type): Update. | |
8006 | (write_name_assoc): Update. | |
8007 | * ada-lang.h (ada_lookup_symbol_list): Update. | |
8008 | ||
72e1143f TT |
8009 | 2012-01-31 Tom Tromey <[email protected]> |
8010 | ||
8011 | * language.h (struct language_defn) <la_iterate_over_symbols>: Fix | |
8012 | comment. | |
8013 | ||
ab2d2ad3 DE |
8014 | 2012-01-31 Doug Evans <[email protected]> |
8015 | ||
8016 | * symtab.h: Remove outdated comment. | |
e9111bf7 | 8017 | (SYMBOL_MATCHES_NATURAL_NAME): Delete. |
ab2d2ad3 | 8018 | |
bc884eba JB |
8019 | 2012-02-01 Josh Matthews <[email protected]> (tiny change) |
8020 | ||
8021 | Fix build error in Darwin port. | |
8022 | * i386-darwin-nat.c: Include i386-nat.h. | |
8023 | ||
8fc3fc34 TT |
8024 | 2012-01-30 Tom Tromey <[email protected]> |
8025 | ||
8026 | PR breakpoints/13568: | |
8027 | * dwarf2read.c (dwarf_decode_macro_bytes): Add 'include_hash' | |
8028 | argument. Check for recursive includes. | |
8029 | (dwarf_decode_macros): Create an include hash. | |
8030 | ||
5d853008 ME |
8031 | 2012-01-30 Michael Eager <[email protected]> |
8032 | ||
8033 | * configure.tgt (powerpc-*-linux*): Add glibc-tdep.o. | |
8034 | * ppc-linux-tdep.c: Include glibc-tdep.h. | |
ab2d2ad3 | 8035 | (powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates. |
5d853008 ME |
8036 | (powerpc_linux_in_plt_stub): New function. |
8037 | (powerpc_linux_in_dynsym_resolve_code): New function. | |
8038 | (ppc_skip_trampoline_code): New function. | |
8039 | (ppc_linux_init_abi): Use PPC specific functions rather than generic. | |
8040 | Use glibc_skip_solib_resolver. | |
8041 | ||
40478521 JK |
8042 | 2012-01-28 Jan Kratochvil <[email protected]> |
8043 | ||
8044 | Code cleanup: Make 1440 bytes of data segment read-only. | |
8045 | * arch-utils.c (endian_enum): Make it const char *const []. | |
8046 | * arm-tdep.c (fp_model_strings, arm_abi_strings, arm_mode_strings): | |
8047 | Likewise. | |
8048 | * breakpoint.c (always_inserted_enums): Likewise. | |
8049 | * cli/cli-cmds.c (script_ext_enums): Likewise. | |
8050 | * cli/cli-decode.c (add_setshow_enum_cmd, complete_on_enum): Make the | |
8051 | enumlist parameter const char *const *. | |
8052 | * cli/cli-decode.h (struct cmd_list_element): Make the enums field | |
8053 | const char *const *. | |
8054 | * command.h (complete_on_enum, add_setshow_enum_cmd): Make the enumlist | |
8055 | parameter const char *const *. | |
8056 | * cris-tdep.c (cris_modes): Make it const char *const []. | |
8057 | * filesystem.c (target_file_system_kinds): Likewise. | |
8058 | * i386-tdep.c (valid_flavors, valid_conventions): Likewise. | |
8059 | * infrun.c (follow_fork_mode_kind_names, follow_exec_mode_names) | |
8060 | (can_use_displaced_stepping_enum, scheduler_enums) | |
8061 | (exec_direction_names): Likewise. | |
8062 | * language.c (_initialize_language): Make the type_or_range_names and | |
8063 | case_sensitive_names variables const char *const []. | |
8064 | * mips-tdep.c (mips_abi_strings): Make it const char *const []. | |
8065 | * python/python.c (python_excp_enums): Likewise. | |
8066 | * remote.c (interrupt_sequence_modes): Likewise. | |
8067 | * rs6000-tdep.c (powerpc_vector_strings): Likewise. | |
8068 | * serial.c (logbase_enums): Likewise. | |
8069 | * sh-tdep.c (sh_cc_enum): Likewise. | |
8070 | * stack.c (print_frame_arguments_choices, print_entry_values_choices): | |
8071 | Likewise. | |
8072 | * symtab.c (multiple_symbols_modes): Likewise. | |
8073 | * tui/tui-win.c (tui_border_kind_enums, tui_border_mode_enums): | |
8074 | Likewise. | |
8075 | * utils.c (internal_problem_modes): Likewise. | |
8076 | ||
b3b8b934 JK |
8077 | 2012-01-27 Jan Kratochvil <[email protected]> |
8078 | ||
8079 | Fix the 2012-01-26 regression by la_get_symbol_name_match_p. | |
8080 | * linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P | |
8081 | result. | |
8082 | ||
8c85a4e2 DE |
8083 | 2012-01-27 Doug Evans <[email protected]> |
8084 | ||
8085 | * configure.ac (with_python): Fix absolute path handling for win32. | |
8086 | * configure: Regenerate. | |
8087 | ||
78d8b4d7 DE |
8088 | 2012-01-26 Doug Evans <[email protected]> |
8089 | ||
eca864fe DE |
8090 | * symtab.c: Whitespace cleanup, no code changes. |
8091 | ||
7e082072 DE |
8092 | * symtab.c (lookup_symbol_in_language): Improve comment. |
8093 | (lookup_symbol_aux): Fix comment. | |
8094 | ||
7dc25483 DE |
8095 | * psymtab.c (add_psymbol_to_list): Result is now "void". |
8096 | * psympriv.h (add_psymbol_to_list): Update. | |
8097 | ||
78d8b4d7 DE |
8098 | * dwarf2read.c (add_partial_symbol): Delete local psym, unused. |
8099 | ||
4c63965b JK |
8100 | 2012-01-26 Jan Kratochvil <[email protected]> |
8101 | ||
8102 | Do not open script filenames twice. | |
8103 | * cli/cli-cmds.c (source_script_from_stream): Pass to | |
8104 | source_python_script also STREAM. | |
8105 | * python/py-auto-load.c (source_section_scripts): Pass to | |
8106 | source_python_script_for_objfile also STREAM. | |
8107 | (auto_load_objfile_script): Pass to source_python_script_for_objfile | |
8108 | also INPUT. | |
8109 | * python/python-internal.h (source_python_script_for_objfile): New | |
8110 | parameter file, rename parameter file to filename. | |
8111 | * python/python.c (python_run_simple_file): Call PyRun_SimpleFile | |
8112 | instead if !_WIN32. Update the function comment. | |
8113 | (source_python_script, source_python_script_for_objfile) | |
8114 | (source_python_script): New parameter file, rename parameter file to | |
8115 | filename. Pass FILENAME to python_run_simple_file. | |
8116 | * python/python.h (source_python_script): New parameter file, rename | |
8117 | parameter file to filename. | |
8118 | ||
88f38a04 PA |
8119 | 2012-01-26 Pedro Alves <[email protected]> |
8120 | ||
8121 | * corelow.c (core_has_fake_pid): Delete. | |
8122 | (core_close): Delete references to `core_has_fake_pid'. | |
8123 | (add_to_thread_list): Adjust to mark the inferior's pid as fake. | |
8124 | (core_open): Delete references to `core_has_fake_pid'. | |
8125 | (core_pid_to_str): Adjust to check inferior->fake_pid_p instead of | |
8126 | the removed global. | |
8127 | ||
e078317b JB |
8128 | 2012-01-26 Joel Brobecker <[email protected]> |
8129 | ||
8130 | * symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]: | |
8131 | Remove language parameter from name_matcher. Adjust the comment. | |
8132 | * symtab.c (search_symbols_name_matches, expand_partial_symbol_name): | |
8133 | Remove language parameter. | |
8134 | * ada-lang.c (ada_expand_partial_symbol_name): Likewise. | |
8135 | * linespec.c (iterate_name_matcher): Likewise. | |
8136 | * dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of | |
8137 | name_matcher. Adjust call accordingly. | |
8138 | * psymtab.c (expand_symtabs_matching_via_partial): Likewise. | |
8139 | (maintenance_check_symtabs): Adjust type of parameter "fun". | |
8140 | * psymtab.h (maintenance_check_symtabs): Likewise. | |
8141 | ||
74ccd7f5 JB |
8142 | 2012-01-26 Joel Brobecker <[email protected]> |
8143 | ||
8144 | * language.h (symbol_name_match_p_ftype): New typedef. | |
8145 | (struct language_defn): Replace field la_symbol_name_compare | |
8146 | by la_get_symbol_name_match_p. | |
8147 | * ada-lang.c (ada_get_symbol_name_match_p): New function. | |
8148 | (ada_language_defn): Use it. | |
8149 | * linespec.c (struct symbol_matcher_data): New type. | |
8150 | (iterate_name_matcher): Rewrite. | |
8151 | (iterate_over_all_matching_symtabs): Pass a pointer to | |
8152 | a symbol_matcher_data struct to expand_symtabs_matching | |
8153 | instead of just the lookup name. | |
8154 | * c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c, | |
8155 | opencl-lang.c, p-lang.c, language.c: Delete field | |
8156 | la_symbol_name_compare, and replace by NULL for new field | |
8157 | la_get_symbol_name_match_p. | |
8158 | * symfile.h (struct quick_symbol_functions): Update comment. | |
8159 | ||
5d268276 TT |
8160 | 2012-01-25 Tom Tromey <[email protected]> |
8161 | ||
8162 | * breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before | |
8163 | dereferencing. | |
8164 | ||
edcc5120 TT |
8165 | 2012-01-24 Tom Tromey <[email protected]> |
8166 | ||
8167 | PR symtab/12406: | |
8168 | * solib.c (update_solib_list): Update the program space's | |
8169 | added_solibs and deleted_solibs fields. | |
8170 | * progspace.h (struct program_space) <added_solibs, | |
8171 | deleted_solibs>: New fields. | |
8172 | (clear_program_space_solib_cache): Declare. | |
8173 | * progspace.c (release_program_space): Call | |
8174 | clear_program_space_solib_cache. | |
8175 | (clear_program_space_solib_cache): New function. | |
8176 | * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: Call | |
8177 | bpstat_stop_status. Use handle_solib_event. | |
8178 | * breakpoint.c: Include gdb_regex.h. | |
8179 | (print_solib_event): New function. | |
8180 | (bpstat_print): Use print_solib_event. | |
8181 | (bpstat_stop_status): Add special case for bp_shlib_event. | |
8182 | (handle_solib_event): New function. | |
8183 | (bpstat_what): Use handle_solib_event. | |
8184 | (struct solib_catchpoint): New. | |
8185 | (dtor_catch_solib, insert_catch_solib, remove_catch_solib) | |
8186 | (breakpoint_hit_catch_solib, check_status_catch_solib) | |
8187 | (print_it_catch_solib, print_one_catch_solib) | |
8188 | (print_mention_catch_solib, print_recreate_catch_solib): New | |
8189 | functions. | |
8190 | (catch_solib_breakpoint_ops): New global. | |
8191 | (catch_load_or_unload, catch_load_command_1) | |
8192 | (catch_unload_command_1): New functions. | |
8193 | (internal_bkpt_check_status): Add special case for | |
8194 | bp_shlib_event. | |
8195 | (internal_bkpt_print_it): Use print_solib_event. | |
8196 | (initialize_breakpoint_ops): Initialize | |
8197 | catch_solib_breakpoint_ops. | |
8198 | (_initialize_breakpoint): Register "catch load" and "catch | |
8199 | unload". | |
8200 | * breakpoint.h (handle_solib_event): Declare. | |
8201 | * NEWS: Add entry for "catch load" and "catch unload". | |
8202 | ||
fa864999 TT |
8203 | 2012-01-24 Tom Tromey <[email protected]> |
8204 | ||
8205 | * ada-lang.c: Include gdb_vecs.h. | |
8206 | * charset.c: Include gdb_vecs.h. | |
8207 | * tracepoint.h: Include gdb_vecs.h. | |
8208 | * gdb_vecs.h: New file. | |
8209 | ||
f90263c1 TT |
8210 | 2012-01-24 Pedro Alves <[email protected]> |
8211 | ||
8212 | * breakpoint.c (breakpoint_hit_catch_fork) | |
8213 | (breakpoint_hit_catch_vfork, breakpoint_hit_catch_syscall) | |
8214 | (breakpoint_hit_catch_exec): Make use of the `ws' argument. | |
8215 | * infrun.c (inferior_has_forked, inferior_has_vforked) | |
8216 | (inferior_has_execd, inferior_has_called_syscall): Delete. | |
8217 | (handle_syscall_event): Get syscall_number from the execution | |
8218 | control state's wait status. | |
8219 | (wait_for_inferior): Don't clear syscall_number. | |
8220 | ||
09ac7c10 TT |
8221 | 2012-01-24 Pedro Alves <[email protected]> |
8222 | ||
8223 | * breakpoint.c (bpstat_check_location, bpstat_stop_status, | |
8224 | pc_at_non_inline_function): Add `ws' parameter, and pass it down. | |
8225 | (breakpoint_hit_catch_fork, breakpoint_hit_catch_vfork) | |
8226 | (breakpoint_hit_catch_syscall, breakpoint_hit_catch_exec): Add | |
8227 | `ws' parameter. | |
8228 | (breakpoint_hit_ranged_breakpoint): Add `ws' parameter. Return | |
8229 | false for events other than TARGET_SIGNAL_TRAP. | |
8230 | (breakpoint_hit_watchpoint, base_breakpoint_breakpoint_hit): | |
8231 | Add `ws' parameter. | |
8232 | (bkpt_breakpoint_hit): Add `ws' parameter. Return false for | |
8233 | events other than TARGET_SIGNAL_TRAP. | |
8234 | (tracepoint_breakpoint_hit): Add `ws' parameter. | |
8235 | * breakpoint.h (struct breakpoint_ops) <breakpoint_hit>: Add `ws' | |
8236 | parameter. | |
8237 | (bpstat_stop_status): Same. | |
8238 | (pc_at_non_inline_function): Same. | |
8239 | * infrun.c (handle_syscall_event, handle_inferior_event): Adjust | |
8240 | to pass the current event's waitstatus to bpstat_stop_status | |
8241 | and pc_at_non_inline_function. | |
8242 | ||
86eb7e95 JK |
8243 | 2012-01-24 Jan Kratochvil <[email protected]> |
8244 | ||
8245 | Code cleanup. | |
8246 | * cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM. | |
8247 | Update the function comment for it. | |
8248 | (source_script_with_search): Call make_cleanup_fclose for STREAM. | |
8249 | * cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose | |
8250 | for STREAM. | |
8251 | ||
a9b3a50f PA |
8252 | 2012-01-24 Pedro Alves <[email protected]> |
8253 | ||
8254 | * breakpoint.c (bpstat_stop_status): Moving clearing print_it | |
8255 | outside `bs->stop' block. | |
8256 | (bpstat_what): Rework bp_shlib_event handling. | |
8257 | (internal_bkpt_check_status): If the breakpoint is a | |
8258 | bp_shlib_event, then set bs->stop and bs->print if | |
8259 | stop_on_solib_events is set. | |
8260 | ||
53fe1783 GB |
8261 | 2012-01-24 Gary Benson <[email protected]> |
8262 | ||
8263 | Delete #if 0'd out code. | |
8264 | * stack.c (print_frame_label_vars): Remove. | |
8265 | (catch_info): Likewise. | |
8266 | (_initialize_stack): Remove "info catch" command. | |
8267 | * NEWS: Mention the above. | |
8268 | ||
49c62f2e PA |
8269 | 2012-01-24 Pedro Alves <[email protected]> |
8270 | ||
8271 | * remote.c (remote_add_inferior): New `fake_pid_p' parameter. Use | |
8272 | it. | |
8273 | (remote_notice_new_inferior): If the remote end doesn't support | |
8274 | the multiprocess extensions, then the PID is fake. | |
8275 | (add_current_inferior_and_thread): New. | |
8276 | (remote_start_remote): Use it. | |
8277 | (extended_remote_attach_1): Adjust. | |
8278 | (extended_remote_create_inferior_1): Use | |
8279 | add_current_inferior_and_thread. | |
8280 | ||
d0d8b0c6 JK |
8281 | 2012-01-24 Jan Kratochvil <[email protected]> |
8282 | ||
8283 | Fix watchpoints to be specific for each inferior. | |
8284 | * breakpoint.c (watchpoint_in_thread_scope): Verify also | |
8285 | current_program_space. | |
8286 | * i386-nat.c (i386_inferior_data_cleanup): New. | |
8287 | (i386_inferior_data_get): Replace variable inf_data_local by an | |
8288 | inferior_data call. | |
8289 | (i386_use_watchpoints): Initialize i386_inferior_data. | |
8290 | * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID | |
8291 | specific iterate_over_lwps. | |
8292 | ||
4403d8e9 JK |
8293 | 2012-01-24 Jan Kratochvil <[email protected]> |
8294 | ||
8295 | Fix watchpoints across inferior fork. | |
8296 | * amd64-linux-nat.c (update_debug_registers_callback): Update the | |
8297 | comment for linux_nat_iterate_watchpoint_lwps. | |
8298 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use | |
8299 | linux_nat_iterate_watchpoint_lwps. | |
8300 | (amd64_linux_prepare_to_resume): New comment on Linux kernel. | |
8301 | * i386-linux-nat.c (update_debug_registers_callback): Update the | |
8302 | comment for linux_nat_iterate_watchpoint_lwps. | |
8303 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use | |
8304 | linux_nat_iterate_watchpoint_lwps. | |
8305 | (i386_linux_prepare_to_resume): New comment on Linux kernel. | |
8306 | * i386-nat.c: Include inferior.h. | |
8307 | (dr_mirror): Remove. | |
8308 | (i386_inferior_data, struct i386_inferior_data) | |
8309 | (i386_inferior_data_get): New. | |
8310 | (i386_debug_reg_state): Use i386_inferior_data_get. | |
8311 | (i386_cleanup_dregs, i386_update_inferior_debug_regs) | |
8312 | (i386_insert_watchpoint, i386_remove_watchpoint) | |
8313 | (i386_stopped_data_address, i386_insert_hw_breakpoint) | |
8314 | (i386_remove_hw_breakpoint): New variable state, use | |
8315 | i386_debug_reg_state instead of DR_MIRROR. | |
8316 | * linux-nat.c (delete_lwp): New declaration. | |
8317 | (num_lwps): Move here from downwards. | |
8318 | (delete_lwp_cleanup): New. | |
8319 | (linux_child_follow_fork): Create new child_lp, call | |
8320 | linux_nat_new_thread and linux_nat_prepare_to_resume before calling | |
8321 | PTRACE_DETACH. | |
8322 | (num_lwps): Move upwards. | |
8323 | (linux_nat_iterate_watchpoint_lwps): New. | |
8324 | * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New. | |
8325 | (linux_nat_iterate_watchpoint_lwps_ftype): New declaration. | |
8326 | ||
2992c9a7 | 8327 | 2012-01-24 Joel Brobecker <[email protected]> |
8328 | ||
8329 | GDB 7.4 released. | |
8330 | ||
e360902b PA |
8331 | 2012-01-23 Pedro Alves <[email protected]> |
8332 | ||
8333 | * top.c (caution): Rename to ... | |
8334 | (confirm): ... this. | |
8335 | (show_caution): Rename to ... | |
8336 | (show_confirm): ... this. | |
8337 | (quit_cover): Adjust. | |
8338 | (init_main): Adjust. | |
8339 | * top.h (caution): Rename to ... | |
8340 | (confirm): ... this. | |
8341 | * utils.c (internal_vproblem, defaulted_query): Adjust. | |
8342 | ||
050a2e1d PA |
8343 | 2012-01-23 Pedro Alves <[email protected]> |
8344 | ||
8345 | * top.c (caution): Update comment. | |
8346 | (execute_command): Don't consider the current value of `caution'. | |
8347 | ||
77a35dd8 JK |
8348 | 2012-01-23 Jan Kratochvil <[email protected]> |
8349 | ||
8350 | * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen. | |
8351 | ||
a71b5a38 UW |
8352 | 2012-01-23 Ulrich Weigand <[email protected]> |
8353 | ||
8354 | * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>. | |
8355 | * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning. | |
8356 | * target.c (target_fileio_pwrite): Remove buffer address from | |
8357 | debug output. | |
8358 | (target_fileio_pread): Likewise. | |
8359 | ||
d99bd577 UW |
8360 | 2012-01-20 Ulrich Weigand <[email protected]> |
8361 | ||
8362 | * NEWS: Document remote "info proc" and "generate-core-file". | |
8363 | ||
35c2fab7 UW |
8364 | 2012-01-20 Ulrich Weigand <[email protected]> |
8365 | ||
8366 | * gdbarch.sh (find_memory_regions): New callback. | |
8367 | * gdbarch.c, gdbarch.h: Regenerate. | |
8368 | ||
8369 | * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions | |
8370 | callback before falling back to target method. | |
8371 | ||
8372 | * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove. | |
8373 | (linux_target_install_ops): No longer install it. | |
8374 | ||
8375 | * linux-tdep.c (linux_find_memory_regions): New function. | |
8376 | (linux_init_abi): Install it. | |
8377 | ||
6432734d UW |
8378 | 2012-01-20 Ulrich Weigand <[email protected]> |
8379 | ||
8380 | * gdbarch.sh (make_corefile_notes): New architecture callback. | |
8381 | * gdbarch.c: Regenerate. | |
8382 | * gdbarch.h: Likewise. | |
8383 | ||
8384 | * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes | |
8385 | before target_make_corefile_notes. If NULL is returned, the | |
8386 | target does not support core file generation. | |
8387 | ||
8388 | * linux-nat.c: Include "linux-tdep.h". | |
8389 | (find_signalled_thread, find_stop_signal): Remove. | |
8390 | (linux_nat_do_thread_registers): Likewise. | |
8391 | (struct linux_nat_corefile_thread_data): Likewise. | |
8392 | (linux_nat_corefile_thread_callback): Likewise. | |
8393 | (iterate_over_spus): Likewise. | |
8394 | (struct linux_spu_corefile_data): Likewise. | |
8395 | (linux_spu_corefile_callback): Likewise. | |
8396 | (linux_spu_make_corefile_notes): Likewise. | |
8397 | (linux_nat_collect_thread_registers): New function. | |
8398 | (linux_nat_make_corefile_notes): Replace contents by call to | |
8399 | linux_make_corefile_notes passing linux_nat_collect_thread_registers | |
8400 | as native-only callback. | |
8401 | ||
8402 | * linux-tdep.h: Include "bfd.h". | |
8403 | (struct regcache): Add forward declaration. | |
8404 | (linux_collect_thread_registers_ftype): New typedef. | |
8405 | (linux_make_corefile_notes): Add prototype. | |
8406 | * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h", | |
8407 | "regset.h", and "elf-bfd.h". | |
8408 | (find_signalled_thread, find_stop_signal): New functions. | |
8409 | (linux_spu_make_corefile_notes): Likewise. | |
8410 | (linux_collect_thread_registers): Likewise. | |
8411 | (struct linux_corefile_thread_data): New data structure. | |
8412 | (linux_corefile_thread_callback): New funcion. | |
8413 | (linux_make_corefile_notes): Likewise. | |
8414 | (linux_make_corefile_notes_1): Likewise. | |
8415 | (linux_init_abi): Install it. | |
8416 | ||
3030c96e UW |
8417 | 2012-01-20 Ulrich Weigand <[email protected]> |
8418 | ||
8419 | * gdbarch.sh (info_proc): New callback. | |
8420 | * gdbarch.c, gdbarch.h: Regenerate. | |
8421 | ||
8422 | * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback | |
8423 | before falling back to the target info_proc callback. | |
8424 | ||
8425 | * linux-nat.c: Do not include "cli/cli-utils.h". | |
8426 | (linux_nat_info_proc): Remove. | |
8427 | (linux_target_install_ops): No longer install it. | |
8428 | ||
8429 | * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>. | |
8430 | (read_mapping): New function. | |
8431 | (linux_info_proc): Likewise. | |
8432 | (linux_init_abi): Install it. | |
8433 | ||
145b16a9 UW |
8434 | 2012-01-20 Ulrich Weigand <[email protected]> |
8435 | ||
8436 | * defs.h (enum info_proc_what): Moved here from linux-nat.c | |
8437 | * infcmd.c: (info_proc_cmd_1): New function. | |
8438 | (info_proc_cmd): New function, moved here from equivalent routine | |
8439 | orignally in linux-nat.c. | |
8440 | (info_proc_cmd_mappings): Likewise. | |
8441 | (info_proc_cmd_stat): Likewise. | |
8442 | (info_proc_cmd_status): Likewise. | |
8443 | (info_proc_cmd_cwd): Likewise. | |
8444 | (info_proc_cmd_cmdline): Likewise. | |
8445 | (info_proc_cmd_exe): Likewise. | |
8446 | (info_proc_cmd_all): Likewise. | |
8447 | (_initialize_infcmd): Install "info proc" command and subcommands. | |
8448 | ||
8449 | * target.h (struct target_ops): Add to_info_proc. | |
8450 | (target_info_proc): Add prototype. | |
8451 | * target.c (target_info_proc): New function. | |
8452 | ||
8453 | * procfs.c (procfs_info_proc): Add prototype. | |
8454 | (info_proc_cmd): Rename into ... | |
8455 | (procfs_info_proc): ... this. Update argument types as appropriate | |
8456 | for a to_info_proc implementation. Handle "what" argument. | |
8457 | (procfs_target): Install procfs_info_proc. | |
8458 | (_initialize_procfs): No longer install "info proc" command. | |
8459 | ||
8460 | * linux-nat.c: (enum info_proc_what): Remove. | |
8461 | (linux_nat_info_proc_cmd_1): Rename into ... | |
8462 | (linux_nat_info_proc): ... this. Update argument types as appropriate | |
8463 | for a to_info_proc implementation. | |
8464 | (linux_nat_info_proc_cmd): Remove. | |
8465 | (linux_nat_info_proc_cmd_mappings): Likewise. | |
8466 | (linux_nat_info_proc_cmd_stat): Likewise. | |
8467 | (linux_nat_info_proc_cmd_status): Likewise. | |
8468 | (linux_nat_info_proc_cmd_cwd): Likewise. | |
8469 | (linux_nat_info_proc_cmd_cmdline): Likewise. | |
8470 | (linux_nat_info_proc_cmd_exe): Likewise. | |
8471 | (linux_nat_info_proc_cmd_all): Likewise. | |
8472 | (linux_target_install_ops): Install linux_nat_info_proc. | |
8473 | (_initialize_linux_nat): No longer install "info proc" command | |
8474 | and subcommands. | |
8475 | ||
b9e7b9c3 UW |
8476 | 2012-01-20 Ulrich Weigand <[email protected]> |
8477 | ||
8478 | * configure.ac [AC_CHECK_FUNCS]: Check for readlink. | |
8479 | * config.in, configure: Regenerate. | |
8480 | ||
8481 | * target.h (struct target_ops): Add to_fileio_readlink. | |
8482 | (target_fileio_readlink): Add prototype. | |
8483 | * target.c (target_fileio_readlink): New function. | |
8484 | ||
8485 | * inf-child.c: Conditionally include <sys/param.h>. | |
8486 | (inf_child_fileio_readlink): New function. | |
8487 | (inf_child_target): Install it. | |
8488 | ||
8489 | * remote.c (PACKET_vFile_readlink): New enum value. | |
8490 | (remote_hostio_readlink): New function. | |
8491 | (init_remote_ops): Install it. | |
8492 | (_initialize_remote): Handle vFile:readlink packet type. | |
8493 | ||
7313baad UW |
8494 | 2012-01-20 Pedro Alves <[email protected]> |
8495 | Ulrich Weigand <[email protected]> | |
8496 | ||
8497 | * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite. | |
8498 | * config.in, configure: Regenerate. | |
8499 | ||
8500 | * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite, | |
8501 | to_fileio_pread, to_fileio_close, to_fileio_unlink. | |
8502 | (target_fileio_open): Add prototype. | |
8503 | (target_fileio_pwrite): Likewise. | |
8504 | (target_fileio_pread): Likewise. | |
8505 | (target_fileio_close): Likewise. | |
8506 | (target_fileio_unlink): Likewise. | |
8507 | (target_fileio_read_alloc): Likewise. | |
8508 | (target_fileio_read_stralloc): Likewise. | |
8509 | ||
8510 | * target.c: Include "gdb/fileio.h". | |
8511 | (target_read_stralloc): Accept trailing, but not embedded NUL bytes. | |
8512 | (default_fileio_target): New function. | |
8513 | (target_fileio_open): Likewise. | |
8514 | (target_fileio_pwrite): Likewise. | |
8515 | (target_fileio_pread): Likewise. | |
8516 | (target_fileio_close): Likewise. | |
8517 | (target_fileio_unlink): Likewise. | |
8518 | (target_fileio_close_cleanup): Likewise. | |
8519 | (target_fileio_read_alloc_1): Likewise. | |
8520 | (target_fileio_read_alloc): Likewise. | |
8521 | (target_fileio_read_stralloc): Likewise. | |
8522 | ||
8523 | * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>, | |
8524 | <fcntl.h>, and <unistd.h>. | |
8525 | (inf_child_fileio_open_flags_to_host): New function. | |
8526 | (inf_child_errno_to_fileio_error): Likewise. | |
8527 | (inf_child_fileio_open): Likewise. | |
8528 | (inf_child_fileio_pwrite): Likewise. | |
8529 | (inf_child_fileio_pread): Likewise. | |
8530 | (inf_child_fileio_close): Likewise. | |
8531 | (inf_child_fileio_unlink): Likewise. | |
8532 | (inf_child_target): Install to_fileio routines. | |
8533 | ||
8534 | * remote.c (init_remote_ops): Install to_fileio routines. | |
8535 | ||
901f9912 UW |
8536 | 2012-01-20 Pedro Alves <[email protected]> |
8537 | Ulrich Weigand <[email protected]> | |
8538 | ||
8539 | * remote.c (remote_multi_process_p): Only check for multi-process | |
8540 | protocol feature, do not check for extended protocol. | |
8541 | (remote_supports_multi_process): Check for extended protocol here. | |
8542 | (set_general_process): Likewise. | |
8543 | (extended_remote_kill): Likewise. | |
8544 | (remote_pid_to_str): Likewise. | |
8545 | (remote_query_supported): Always query multiprocess mode. | |
8546 | ||
e714e1bf UW |
8547 | 2012-01-20 Pedro Alves <[email protected]> |
8548 | Ulrich Weigand <[email protected]> | |
8549 | ||
8550 | * inferior.h (struct inferior): Add fake_pid_p. | |
8551 | * inferior.c (exit_inferior_1): Clear fake_pid_p. | |
8552 | * remote.c (remote_start_remote): Set fake_pid_p if we have to use | |
8553 | magic_null_ptid since the remote side doesn't provide a real PID. | |
8554 | ||
50897289 TT |
8555 | 2012-01-19 Tom Tromey <[email protected]> |
8556 | ||
8557 | * NEWS: Combine the two Python sections. | |
8558 | ||
1afc2033 JK |
8559 | 2012-01-19 Jan Kratochvil <[email protected]> |
8560 | ||
8561 | * target.h (target_close): Update comment on the target's unpush state. | |
8562 | ||
305436e0 PA |
8563 | 2012-01-19 Pedro Alves <[email protected]> |
8564 | ||
8565 | * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and | |
8566 | linux_nat_async directly instead of going through the target | |
8567 | vector. | |
8568 | * target.c (unpush_target): Close target after unpushing it, not | |
8569 | before. | |
8570 | ||
49323895 GB |
8571 | 2012-01-19 Gary Benson <[email protected]> |
8572 | ||
8573 | * mdebugread.c (sort_blocks): Replace integer constants with ones | |
8574 | derived from FIRST_LOCAL_BLOCK. | |
8575 | ||
1db33378 PP |
8576 | 2012-01-18 Paul Pluzhnikov <[email protected]> |
8577 | Jan Kratochvil <[email protected]> | |
8578 | ||
8579 | PR gdb/9538 | |
8580 | * symfile.c (find_separate_debug_file): New function. | |
8581 | (terminate_after_last_dir_separator): Likewise. | |
8582 | (find_separate_debug_file_by_debuglink): Also try realpath. | |
8583 | * configure.ac (AC_CHECK_FUNCS): Add lstat. | |
8584 | * configure: Regenerate. | |
8585 | * config.in: Regenerate. | |
8586 | ||
f83d8a90 DE |
8587 | 2012-01-18 Doug Evans <[email protected]> |
8588 | ||
8589 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete. | |
8590 | (main.o): Remove rule. | |
8591 | * configure.ac (BINDIR): Define with AC_DEFINE_DIR. | |
8592 | (--with-sysroot): Rewrite. | |
8593 | * configure: Regenerate. | |
8594 | * config.in: Regenerate. | |
8595 | ||
2dbca4d6 SDJ |
8596 | 2012-01-18 Sergio Durigan Junior <[email protected]> |
8597 | ||
8598 | * parse.c (initialize_expout): New function. | |
8599 | (reallocate_expout): Likewise. | |
8600 | (parse_exp_in_context): Use `initialize_expout' and | |
8601 | `reallocate_expout' when appropriate. | |
8602 | ||
0695b514 PA |
8603 | 2012-01-18 Pedro Alves <[email protected]> |
8604 | ||
8605 | * record.c (struct record_breakpoint, record_breakpoint_p) | |
8606 | (record_breakpoints): New. | |
8607 | (record_insert_breakpoint, record_remove_breakpoint): Manage | |
8608 | record breakpoints list. Only remove breakpoints from the | |
8609 | inferior if they had been inserted there in the first place. | |
8610 | ||
136e1c30 DE |
8611 | 2012-01-17 Doug Evans <[email protected]> |
8612 | ||
8613 | * linespec.c (decode_line_internal): Don't call symtabs_from_filename | |
8614 | if we know we don't have a file name to look for. | |
8615 | ||
c0bf857d PA |
8616 | 2012-01-17 Pedro Alves <[email protected]> |
8617 | ||
8618 | * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if | |
8619 | the frame's stop reason is UNWIND_UNAVAILABLE. | |
8620 | ||
b486de60 JK |
8621 | 2012-01-17 Jan Kratochvil <[email protected]> |
8622 | ||
8623 | Fix compilation error. | |
8624 | * m2-exp.y (yyerror): Use ANSI C prototype. | |
8625 | ||
d04550a6 SDJ |
8626 | 2012-01-16 Sergio Durigan Junior <[email protected]> |
8627 | ||
8628 | * f-exp.y (parse_number): Convert prototype from K&R to ANSI C. | |
8629 | (growbuf_by_size): Likewise. | |
8630 | (yyerror): Likewise. | |
8631 | * m2-exp.y (make_qualname): Remove function (was #if 0'ed). | |
8632 | (modblock): Remove variable (was #if 0'ed). | |
8633 | (parse_number): Convert prototype from K&R to ANSI C. | |
8634 | (yyerror): Likewise. | |
8635 | * objc-exp.y (parse_number): Likewise. | |
8636 | (yyerror): Likewise. | |
8637 | (yylex): Remove #if 0'ed code. | |
8638 | * p-exp.y (uptok): Convert prototype from K&R to ANSI C. | |
8639 | (yyerror): Likewise. | |
8640 | ||
4aac40c8 TT |
8641 | 2012-01-16 Tom Tromey <[email protected]> |
8642 | ||
8643 | * NEWS: Add item. | |
8644 | * symtab.h (compare_filenames_for_search): Declare. | |
8645 | * symtab.c (compare_filenames_for_search): New function. | |
8646 | (iterate_over_some_symtabs): Use it. | |
8647 | * symfile.h (struct quick_symbol_functions) | |
8648 | <map_symtabs_matching_filename>: Change spec. | |
8649 | * psymtab.c (partial_map_symtabs_matching_filename): Use | |
8650 | compare_filenames_for_search. Update for new spec. | |
8651 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Use | |
8652 | compare_filenames_for_search. Update for new spec. | |
8653 | * breakpoint.c (clear_command): Use compare_filenames_for_search. | |
8654 | ||
cafec441 TT |
8655 | 2012-01-16 Tom Tromey <[email protected]> |
8656 | ||
8657 | PR python/13281: | |
8658 | * gdbtypes.h (TYPE_FLAG_ENUM): New macro. | |
8659 | (struct main_type) <flag_flag_enum>: New field. | |
8660 | * dwarf2read.c (process_enumeration_scope): Detect "flag" enums. | |
8661 | * NEWS: Add entries. | |
8662 | * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag" | |
8663 | enums. | |
8664 | * python/lib/gdb/printing.py (_EnumInstance): New class. | |
8665 | (FlagEnumerationPrinter): Likewise. | |
8666 | ||
983af33b SDJ |
8667 | 2012-01-16 Sergio Durigan Junior <[email protected]> |
8668 | ||
8669 | * breakpoint.c (create_sals_from_address_default): New function. | |
8670 | (create_breakpoints_sal_default): Likewise. | |
8671 | (decode_linespec_default): Likewise. | |
8672 | (is_marker_spec): Removed. | |
8673 | (strace_marker_p): New function. | |
8674 | (init_breakpoint_sal): Using `strace_marker_p' instead of | |
8675 | `is_marker_spec'. | |
8676 | (create_breakpoint): Call method `create_sals_from_address' from | |
8677 | breakpoint_ops, replacing code that created SALs conditionally | |
8678 | on the type of the breakpoint. Call method `create_breakpoints_sal', | |
8679 | replacing code that created breakpoints conditionally on the type | |
8680 | wanted. | |
8681 | (base_breakpoint_create_sals_from_address): New function. | |
8682 | (base_breakpoint_create_breakpoints_sal): Likewise. | |
8683 | (base_breakpoint_decode_linespec): Likewise. | |
8684 | (base_breakpoint_ops): Add methods | |
8685 | `base_breakpoint_create_sals_from_address', | |
8686 | `base_breakpoint_create_breakpoints_sal' and | |
8687 | `base_breakpoint_decode_linespec'. | |
8688 | (bkpt_create_sals_from_address): New function. | |
8689 | (bkpt_create_breakpoints_sal): Likewise. | |
8690 | (bkpt_decode_linespec): Likewise. | |
8691 | (tracepoint_create_sals_from_address): Likewise. | |
8692 | (tracepoint_create_breakpoints_sal): Likewise. | |
8693 | (tracepoint_decode_linespec): Likewise. | |
8694 | (strace_marker_create_sals_from_address): Likewise. | |
8695 | (strace_marker_create_breakpoints_sal): Likewise. | |
8696 | (strace_marker_decode_linespec): Likewise. | |
8697 | (strace_marker_breakpoint_ops): New variable. | |
8698 | (addr_string_to_sals): Remove `marker_spec'. Call method | |
8699 | `decode_linespec' from breakpoint_ops, replacing code that decoded | |
8700 | an address string into a SAL. Use `strace_marker_p' instead of | |
8701 | `marker_spec'. | |
8702 | (strace_command): Decide whether we are dealing with a static | |
8703 | tracepoint with marker or not. Use the appropriate breakpoint_ops. | |
8704 | (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops. | |
8705 | * breakpoint.h (linespec_result, linespec_sals): New forward | |
8706 | declarations. | |
8707 | (breakpoint_ops) <create_sals_from_address>, | |
8708 | <create_breakpoints_sal>, <decode_linespec>: New methods. | |
8709 | ||
4795f398 DE |
8710 | 2012-01-14 Doug Evans <[email protected]> |
8711 | ||
8712 | * NEWS: Update text for "maint set python print-stack". | |
8713 | It is deprecated in gdb 7.4 and deleted in 7.5. | |
8714 | ||
ee5106fe EZ |
8715 | 2012-01-13 Eli Zaretskii <[email protected]> |
8716 | ||
8717 | * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before | |
8718 | including curses.h. | |
8719 | ||
b161e06f JK |
8720 | 2012-01-12 Jan Kratochvil <[email protected]> |
8721 | ||
8722 | * configure: Regenerate. | |
8723 | * config.in: Regenerate. | |
8724 | ||
85254831 KS |
8725 | 2012-01-12 Keith Seitz <[email protected]> |
8726 | ||
8727 | PR mi/10586 | |
8728 | * varobj.c (ANONYMOUS_STRUCT_NAME): Define. | |
8729 | (ANONYMOUS_UNION_NAME): Define. | |
8730 | (is_path_expr_parent): New function. | |
8731 | (get_path_expr_parent): New function. | |
8732 | (is_anonymous_child): New function. | |
8733 | (create_child_with_value): If the child is anonymous and without | |
8734 | a name, assign an object name to it. | |
8735 | (c_describe_child): Use get_path_expr_parent to determine | |
8736 | the parent expression. | |
8737 | If there field represents an anonymous struct or union and | |
8738 | has no name, set an appropriate display name and expression. | |
8739 | (cplus_describe_child): Likewise. | |
8740 | ||
620fa63a PA |
8741 | 2012-01-12 Pedro Alves <[email protected]> |
8742 | ||
8743 | * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as | |
8744 | available when %ebp is found to be zero (outermost). | |
8745 | ||
2efa2c79 AT |
8746 | 2012-01-11 Andreas Tobler <[email protected]> |
8747 | ||
8748 | * common/gdb_assert.h (gdb_static_assert): Rename static_assert to | |
8749 | an internal gdb_static_assert. | |
8750 | * mi/mi-common.c: Rename static_assert to gdb_static_assert. | |
8751 | ||
88e7d25d TT |
8752 | 2012-01-11 Tom Tromey <[email protected]> |
8753 | ||
8754 | PR gdb/9598: | |
8755 | * breakpoint.c (_initialize_breakpoint): Fix help for "catch | |
8756 | catch" and "catch throw". | |
8757 | ||
72384ba3 PH |
8758 | 2012-01-11 Paul Hilfinger <[email protected]> |
8759 | ||
8760 | * blockframe.c (block_innermost_frame): Start search from selected | |
8761 | frame, if present, or otherwise the current frame. | |
8762 | ||
8763 | * c-exp.y (variable): Update innermost_block for | |
8764 | 'block COLONCOLON NAME' clause. | |
8765 | * m2-exp.y (variable): Ditto. | |
8766 | * objc-exp.y (variable): Ditto. | |
8767 | ||
065a711f TT |
8768 | 2012-01-10 Tom Tromey <[email protected]> |
8769 | ||
8770 | PR python/13199: | |
8771 | * python/python.c (finish_python_initialization): Set sys.argv. | |
8772 | ||
f3f5162e DE |
8773 | 2012-01-10 Doug Evans <[email protected]> |
8774 | ||
8775 | * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg | |
8776 | "want_line_info". All callers updated. | |
8777 | (dwarf_decode_lines_1): New function. | |
8778 | (handle_DW_AT_stmt_list): Add function comment. | |
8779 | New arg "want_line_info". All callers updated. | |
8780 | (read_file_scope,read_type_unit_scope): Move comment from | |
8781 | handle_DW_AT_stmt_list to here. | |
8782 | ||
9934703b JK |
8783 | 2012-01-10 Jan Kratochvil <[email protected]> |
8784 | ||
8785 | Fix regression after libiberty/ update for GCC PR 6057 and others. | |
8786 | * c-exp.y (operator) <OPERATOR DELETE> | |
8787 | (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. | |
8788 | * cp-name-parser.y (fill_comp, make_operator, make_dtor) | |
8789 | (make_builtin_type, make_name): New variable i, add gdb_assert. | |
8790 | (operator) <OPERATOR NEW>: Update ARGS to 3. | |
8791 | (operator) <OPERATOR DELETE>: Add trailing space. | |
8792 | (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3. | |
8793 | (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. | |
8794 | * cp-support.c (cp_canonicalize_string): Check NULL from | |
8795 | cp_comp_to_string, call warning and return. | |
8796 | ||
06b9f45f JK |
8797 | 2012-01-10 Jan Kratochvil <[email protected]> |
8798 | ||
8799 | Fix duplicate .o files after omitting libbfd.a. | |
8800 | * Makefile.in (ALL_TARGET_OBS): Remove corelow.o. | |
8801 | (SFILES): Add corelow.c. | |
8802 | (COMMON_OBS): Add corelow.o. | |
8803 | (ALLDEPFILES): Remove corelow.c. | |
8804 | * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o. | |
8805 | * config/alpha/alpha-osf3.mh: Likewise. | |
8806 | * config/alpha/fbsd.mh: Likewise. | |
8807 | * config/arm/nbsdaout.mh: Likewise. | |
8808 | * config/arm/nbsdelf.mh: Likewise. | |
8809 | * config/i386/i386gnu.mh: Likewise. | |
8810 | * config/ia64/hpux.mh: Likewise. | |
8811 | * config/ia64/linux.mh: Likewise. | |
8812 | * config/m32r/linux.mh: Likewise. | |
8813 | * config/m68k/linux.mh: Likewise. | |
8814 | * config/mips/irix5.mh: Likewise. | |
8815 | * config/mips/irix6.mh: Likewise. | |
8816 | * config/pa/hpux.mh: Likewise. | |
8817 | * config/pa/linux.mh: Likewise. | |
8818 | * config/powerpc/aix.mh: Likewise. | |
8819 | * config/sparc/linux.mh: Likewise. | |
8820 | * config/sparc/linux64.mh: Likewise. | |
8821 | * config/sparc/sol2.mh: Likewise. | |
8822 | * config/vax/vax.mh: Likewise. | |
8823 | * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu) | |
8824 | (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*) | |
8825 | (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*) | |
8826 | (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*) | |
8827 | (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*) | |
8828 | (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*) | |
8829 | (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*) | |
8830 | (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*) | |
8831 | (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*) | |
8832 | (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu) | |
8833 | (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*) | |
8834 | (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*) | |
8835 | (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) | |
8836 | (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*) | |
8837 | (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*) | |
8838 | (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) | |
8839 | (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*) | |
8840 | (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu) | |
8841 | (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*) | |
8842 | (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*) | |
8843 | (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*) | |
8844 | (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove | |
8845 | corelow.o from gdb_target_obs. | |
8846 | * corefile.c (core_target): Update the comment on NULL value. | |
8847 | (core_file_command): Replace error by gdb_assert on CORE_TARGET. | |
8848 | * corelow.c (sniff_core_bfd): Call error instead of warning on zero | |
8849 | MATCHES. Drop YUMMY set on NULL. | |
8850 | (core_close): Do not call exit_inferior_silent on zero PID. Do not | |
8851 | reclaim CORE_DATA if it is already NULL. | |
8852 | ||
34365054 DE |
8853 | 2012-01-09 Doug Evans <[email protected]> |
8854 | ||
8855 | * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy. | |
8856 | * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy. | |
8857 | ||
696166a3 KS |
8858 | 2012-01-09 Keith Seitz <[email protected]> |
8859 | ||
8860 | * breakpoint.c (wrapper.h): Don't include. | |
8861 | ||
8e7b59a5 KS |
8862 | 2012-01-09 Keith Seitz <[email protected]> |
8863 | ||
8864 | * Makefile.in (SFILES): Remove wrapper.c. | |
8865 | (HFILES_NO_SRCDIR): Remove wrapper.h. | |
8866 | (COMMON_OBS): Remove wrapper.o. | |
8867 | * cli/cli-interp.c: Don't inlude wrapper.h. | |
8868 | * corelow.c: Likewise. | |
8869 | (core_open): Replace gdb_target_find_new_threads with | |
8870 | TRY_CATCH around target_find_new_threads. | |
8871 | * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy. | |
8872 | * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type. | |
8873 | * varobj.c (varobj_create): Likewise for parse_exp_1 and | |
8874 | evaluate_expression. | |
8875 | (varobj_set_value): Likewise for evaluate_expression and | |
8876 | value_assign. | |
8877 | (install_new_variable): Likewise for value_fetch_lazy. | |
8878 | (adjust_value_for_child_access): Likewise for value_ind. | |
8879 | (c_describe_child): Likewise for value_subscript and | |
8880 | value_ind. | |
8881 | (c_value_of_root): Likewise for evaluate_expression. | |
8882 | * wrapper.c: Remove. | |
8883 | * wrapper.h: Remove. | |
8884 | ||
1a4eeb98 DE |
8885 | 2012-01-09 Doug Evans <[email protected]> |
8886 | ||
9ff913ba DE |
8887 | * dwarf2read.c (read_and_check_comp_unit_head): Renamed from |
8888 | partial_read_comp_unit_head. Replace "buffer", "buffer_size" and | |
8889 | "abfd" args with "section". All callers updated. | |
8890 | Error checking code moved ... | |
8891 | (error_check_comp_unit_head): ... here. New function. | |
8892 | (read_and_check_type_unit_head): Renamed from read_type_unit_head. | |
8893 | Delete arg "abfd". New arg "type_offset". All callers updated. | |
8894 | (create_debug_types_hash_table): Simplify by using | |
8895 | read_and_check_type_unit_head. | |
8896 | ||
1a4eeb98 DE |
8897 | * parser-defs.h (namecopy): Delete. |
8898 | * parse.c (namecopy, namecopy_size): Move into copy_name. | |
8899 | ||
2e6af8c0 JK |
8900 | 2012-01-09 Jan Kratochvil <[email protected]> |
8901 | ||
8902 | Partially fix duplicate .o files after omitting libbfd.a. | |
8903 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o. | |
8904 | * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
8905 | * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o. | |
8906 | * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
8907 | * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o. | |
8908 | * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o. | |
8909 | * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
8910 | ||
9f2f828a PA |
8911 | 2012-01-09 Pedro Alves <[email protected]> |
8912 | ||
8913 | * MAINTAINERS: Update my email address. | |
8914 | ||
4d72c0bc DE |
8915 | 2012-01-08 Doug Evans <[email protected]> |
8916 | ||
d467dd73 DE |
8917 | * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to |
8918 | n_type_units. Rename type_comp_units to all_type_units. | |
8919 | All uses updated. | |
8920 | (add_signatured_type_cu_to_table): Renamed from | |
8921 | add_signatured_type_cu_to_list. All callers updated. | |
8922 | ||
4d72c0bc DE |
8923 | * gdbtypes.h (struct cplus_struct_type): Delete member |
8924 | nfn_fields_total. All uses removed. | |
8925 | ||
21b2bd31 DE |
8926 | 2012-01-06 Doug Evans <[email protected]> |
8927 | ||
8928 | * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard | |
8929 | to top of file. | |
8930 | (dwarf2_find_comp_unit): Delete. | |
8931 | (process_psymtab_comp_unit): Make result "void". | |
8932 | Delete args buffer, info_ptr, buffer_size, and replace with | |
8933 | "section". All callers updated. | |
8934 | (dwarf2_build_psymtabs_hard): Simplify. | |
8935 | ||
bfd189b1 SDJ |
8936 | 2012-01-06 Sergio Durigan Junior <[email protected]> |
8937 | Thiago Jung Bauermann <[email protected]> | |
8938 | ||
8939 | * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword | |
8940 | before `struct gdb_exception'. | |
8941 | * breakpoint.c (update_global_location_list_nothrow) | |
8942 | (update_breakpoint_locations, enable_breakpoint_disp): Likewise. | |
8943 | * cp-abi.c (value_rtti_type): Likewise. | |
8944 | * cp-support.c (cp_validate_operator): Likewise. | |
8945 | * infrun.c (insert_exception_resume_breakpoint) | |
8946 | (check_exception_resume, keep_going): Likewise. | |
8947 | * mi-interp.c (mi_breakpoint_created) | |
8948 | (mi_breakpoint_modified): Likewise. | |
8949 | * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise. | |
8950 | * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p) | |
8951 | (ia64_hpux_handle_dld_breakpoint_1): Likewise. | |
8952 | ||
6b07635f DE |
8953 | 2012-01-05 Doug Evans <[email protected]> |
8954 | ||
0b30b85c DE |
8955 | * dwarf2read.c (statement_prologue): Delete, unused. |
8956 | ||
98714339 DE |
8957 | * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int. |
8958 | * dwarf2loc.h (dwarf2_per_cu_addr_size): Update. | |
8959 | ||
6b07635f DE |
8960 | * dwarf2read.c (comp_unit_header): Delete, unused. |
8961 | ||
761f4555 UW |
8962 | 2012-01-05 Ulrich Weigand <[email protected]> |
8963 | ||
8964 | * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o. | |
8965 | * config/s390/s390.mh (NATDEPFILES): Remove corelow.o. | |
8966 | ||
2ca0b532 PA |
8967 | 2012-01-05 Khoo Yit Phang <[email protected]> |
8968 | ||
8969 | * infrun.c (normal_stop): Don't skip calling the normal_stop | |
8970 | observers if the thread was doing a multi-step, but stopped for | |
8971 | some reason other than stepping. | |
8972 | ||
50aeff07 PA |
8973 | 2012-01-05 Pedro Alves <[email protected]> |
8974 | ||
8975 | * cli/cli-decode.h: Add comments. | |
8976 | (CMD_LIST_AMBIGUOUS): Moved to command.h | |
8977 | (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
8978 | (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq) | |
8979 | (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1) | |
8980 | (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition) | |
8981 | (add_com, add_com_alias, add_info, add_info_alias) | |
8982 | (complete_on_cmdlist, complete_on_enum, help_list): Remove | |
8983 | declarations. | |
8984 | * command.h: Add and adjust comments. | |
8985 | (CMD_LIST_AMBIGUOUS): Moved here. | |
8986 | (help_cmd, help_cmd_list): Delete declarations. | |
8987 | ||
5953832c DE |
8988 | 2012-01-04 Doug Evans <[email protected]> |
8989 | ||
e5fe5e75 DE |
8990 | * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd". |
8991 | All callers updated. | |
8992 | (load_full_type_unit): Renamed from read_signatured_type_at_offset. | |
8993 | Replace all arguments with "per_cu". All callers updated. | |
8994 | ||
28dee7f5 DE |
8995 | * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment. |
8996 | ||
23745b47 DE |
8997 | * dwarf2read.c (init_one_comp_unit): Delete arg "objfile". |
8998 | New arg "per_cu". All callers updated. | |
8999 | ||
5953832c DE |
9000 | Delete #if 0'd out code. |
9001 | * language.c (binop_result_type): Delete. | |
9002 | (simple_type, ordered_type, same_type, integral_type): Delete. | |
9003 | (numeric_type, character_type, string_type, boolean_type): Delete. | |
9004 | (float_type, structured_type): Delete. | |
9005 | * language.h: Update. | |
9006 | ||
0f5b7562 TT |
9007 | 2012-01-04 Tom Tromey <[email protected]> |
9008 | ||
9009 | * python/py-value.c (valpy_binop): Initialize 'res_val'. | |
9010 | ||
78218f56 JB |
9011 | 2012-01-04 Joel Brobecker <[email protected]> |
9012 | ||
9013 | * corefile.c (close_exec_file): Delete. | |
9014 | (reopen_exec_file): Remove commented out code that seems related | |
9015 | to close_exec_file, which is being deleted here. | |
9016 | * inferior.h (close_exec_file): Delete. | |
9017 | * fork-child.c (fork_inferior): Remove call to fork_inferior. | |
9018 | ||
0fcd72ba JB |
9019 | 2012-01-04 Joel Brobecker <[email protected]> |
9020 | ||
9021 | * ada-lang.c: #include "cli/cli-utils.h". | |
9022 | (get_selections): Use skip_spaces. | |
9023 | (ada_get_next_arg): Use skip_spaces and skip_to_space. | |
9024 | (catch_ada_exception_command_split): Use skip_spaces. | |
9025 | (ada_decode_assert_location): Likewise. | |
9026 | ||
1dabb4c4 JB |
9027 | 2012-01-04 Joel Brobecker <[email protected]> |
9028 | ||
9029 | * linespec.c (decode_line_internal): Check for C++ or Java | |
9030 | compound constructs only if the current language is C, C++ | |
9031 | or Java. | |
9032 | ||
5931a2fa JK |
9033 | 2012-01-04 Jan Kratochvil <[email protected]> |
9034 | ||
9035 | Revert: | |
9036 | 2012-01-02 Jan Kratochvil <[email protected]> | |
9037 | Joel Brobecker <[email protected]> | |
9038 | Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. | |
9039 | * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to | |
9040 | 3 times. | |
9041 | * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and | |
9042 | fall through into AT_ENTRY_POINT. | |
9043 | (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust | |
9044 | DUMMY_ADDR with it. | |
9045 | * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase | |
9046 | PPC_INSN_SIZE skip to 3 times. | |
9047 | ||
1a2da5ee JB |
9048 | 2012-01-04 Joel Brobecker <[email protected]> |
9049 | ||
9050 | * linespec.c (add_minsym): Preserve function descriptors. | |
9051 | ||
8645ff69 UW |
9052 | 2012-01-04 Ulrich Weigand <[email protected]> |
9053 | ||
9054 | * breakpoint.c (all_locations_are_pending): Consider locations | |
9055 | in program spaces executing during startup pending as well. | |
9056 | ||
0b302171 JB |
9057 | 2012-01-04 Joel Brobecker <[email protected]> |
9058 | ||
9059 | Copyright year update in most files of the GDB Project. | |
9060 | ||
8ba098ad JB |
9061 | 2012-01-04 Joel Brobecker <[email protected]> |
9062 | ||
9063 | * copyright.sh: Delete. | |
9064 | * copyright.py: Rewrite. | |
9065 | ||
09c01c30 JB |
9066 | 2012-01-04 Joel Brobecker <[email protected]> |
9067 | ||
9068 | * gnulib/extra/update-copyright: New file, imported from gnulib. | |
9069 | ||
3c36c0af JB |
9070 | 2012-01-04 Joel Brobecker <[email protected]> |
9071 | ||
9072 | * README (Copyright and License Notices): New section. | |
9073 | ||
888fe1e1 TT |
9074 | 2012-01-03 Tom Tromey <[email protected]> |
9075 | ||
9076 | PR python/12533: | |
9077 | * python/py-value.c (valpy_dereference, valpy_get_address | |
9078 | valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast) | |
9079 | (valpy_getitem, valpy_call, valpy_binop, valpy_negative) | |
9080 | (valpy_absolute, valpy_richcompare): Free intermediate values. | |
9081 | ||
6e681866 JB |
9082 | 2011-01-03 Joel Brobecker <[email protected]> |
9083 | ||
9084 | * ada-lang.c: Reformat the copyright notice. | |
9085 | ||
0cd09acb JK |
9086 | 2012-01-02 Jan Kratochvil <[email protected]> |
9087 | ||
9088 | * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o. | |
9089 | * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*) | |
9090 | (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*) | |
9091 | (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o. | |
9092 | Revert this part of: | |
9093 | 2012-01-02 Jan Kratochvil <[email protected]> | |
9094 | Build gdb directly from *.o files not using libgdb.a. | |
9095 | * Makefile.in (COMMON_OBS): Remove solib-target.o. | |
9096 | ||
12c3e59c JB |
9097 | 2012-01-02 Joel Brobecker <[email protected]> |
9098 | ||
9099 | * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c, | |
9100 | gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c: | |
9101 | Reformat the copyright header. | |
9102 | ||
11bf1490 JK |
9103 | 2012-01-02 Jan Kratochvil <[email protected]> |
9104 | ||
9105 | Revert this part of: | |
9106 | 2012-01-02 Jan Kratochvil <[email protected]> | |
9107 | Remove the gdbtui binary. | |
9108 | * gdb.c (main): Remove args.interpreter_p initialization. | |
9109 | * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. | |
9110 | * main.h (struct captured_main_args): Remove interpreter_p. | |
9111 | ||
1fef196f JB |
9112 | 2012-01-02 Joel Brobecker <[email protected]> |
9113 | ||
9114 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011. | |
9115 | ||
67827812 JB |
9116 | 2012-01-02 Joel Brobecker <[email protected]> |
9117 | ||
9118 | * top.c (print_gdb_version): Update copyright year. | |
9119 | ||
a4d0b831 YQ |
9120 | 2012-01-02 Yao Qi <[email protected]> |
9121 | ||
9122 | * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent. | |
9123 | ||
b5914469 JK |
9124 | 2012-01-02 Jan Kratochvil <[email protected]> |
9125 | Joel Brobecker <[email protected]> | |
9126 | ||
9127 | Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. | |
9128 | * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to | |
9129 | 3 times. | |
9130 | * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and | |
9131 | fall through into AT_ENTRY_POINT. | |
9132 | (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust | |
9133 | DUMMY_ADDR with it. | |
9134 | * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase | |
9135 | PPC_INSN_SIZE skip to 3 times. | |
9136 | ||
8da828f7 JK |
9137 | 2012-01-02 Jan Kratochvil <[email protected]> |
9138 | ||
9139 | * amd64-linux-nat.c (update_debug_registers_callback): New comment on | |
9140 | the return value. | |
9141 | * i386-linux-nat.c (update_debug_registers_callback): Likewise. | |
9142 | ||
8574e74b JK |
9143 | 2012-01-02 Jan Kratochvil <[email protected]> |
9144 | ||
9145 | Build gdb directly from *.o files not using libgdb.a. | |
9146 | * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o. | |
9147 | (COMMON_OBS): Remove solib-target.o. | |
9148 | (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule. | |
9149 | (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS). | |
9150 | (LIBGDB_OBS, libgdb.a): Move it above. | |
9151 | * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*) | |
9152 | (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu) | |
9153 | (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe) | |
9154 | (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu) | |
9155 | (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*) | |
9156 | (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*) | |
9157 | (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu) | |
9158 | (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*) | |
9159 | (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*) | |
9160 | (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*) | |
9161 | (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*) | |
9162 | (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*) | |
9163 | (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*) | |
9164 | (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*) | |
9165 | (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) | |
9166 | (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*) | |
9167 | (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*) | |
9168 | (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) | |
9169 | (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*) | |
9170 | (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu) | |
9171 | (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*) | |
9172 | (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*) | |
9173 | (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*) | |
9174 | (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*) | |
9175 | (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu) | |
9176 | (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*) | |
9177 | (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs. | |
9178 | ||
217bff3e JK |
9179 | 2012-01-02 Jan Kratochvil <[email protected]> |
9180 | ||
9181 | Remove the gdbtui binary. | |
9182 | * .gitignore (/gdbtui): Remove. | |
9183 | * Makefile.in (TUI): Remove. | |
9184 | (SUBDIR_TUI_OBS): Remove tui-main.o. | |
9185 | (SUBDIR_TUI_SRCS): Remove tui/tui-main.c. | |
9186 | (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui) | |
9187 | (tui-main.o): Remove. | |
9188 | (all_object_files): Remove tui-main.o. | |
9189 | * NEWS: New note for the gdbtui removal. | |
9190 | * configure: Rebuilt. | |
9191 | * configure.ac: No longer add all-tui, clean-tui, install-tui and | |
9192 | uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and | |
9193 | CONFIG_UNINSTALL respectively. | |
9194 | * gdb.c (main): Remove args.interpreter_p initialization. | |
9195 | * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. | |
9196 | * main.h (struct captured_main_args): Remove interpreter_p. | |
9197 | * tui/tui-main.c: Remove. | |
9198 | ||
9cdd5dbd DE |
9199 | 2012-01-01 Doug Evans <[email protected]> |
9200 | ||
bb5ed363 DE |
9201 | * dwarf2read.c (dwarf2_compute_name): Simplify objfile references. |
9202 | (dwarf2_physname, read_import_statement): Ditto. | |
9203 | (read_call_site_scope, dwarf2_record_block_ranges): Ditto. | |
9204 | (process_structure_scope read_subroutine_type): Ditto. | |
9205 | (read_typedef, load_partial_dies, read_partial_die): Ditto. | |
9206 | (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto. | |
9207 | (dwarf2_fetch_die_location_block): Ditto. | |
9208 | (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto. | |
9209 | ||
a0f42c21 DE |
9210 | * dwarf2read.c (read_signatured_type): Delete `objfile' arg. |
9211 | All callers updated. | |
9212 | (load_full_comp_unit, queue_comp_unit, process_queue): Ditto. | |
9213 | (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto. | |
9214 | (process_psymtab_comp_unit, load_partial_comp_unit): Ditto. | |
9215 | ||
2dc860c0 DE |
9216 | * dwarf2read.c (load_cu): Move assert to more useful location. |
9217 | ||
68dc6402 DE |
9218 | * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit. |
9219 | All callers updated. | |
9220 | ||
9cdd5dbd DE |
9221 | * dwarf2read.c (dwarf2_per_objfile): Add comment. |
9222 | (dwarf2_elf_names): Minor reformat. | |
9223 | (dwarf2_per_cu_data): Tweak comment. | |
9224 | (dwarf2_read_section): Fix comment. | |
9225 | (create_all_comp_units): Fix comment. | |
9226 | (load_full_comp_unit): Fix comment. | |
9227 | (process_full_comp_unit): Fix comment. | |
9228 | (read_signatured_type): Fix comment. | |
9229 | ||
0c10e53e | 9230 | For older changes see ChangeLog-2011. |
c906108c SS |
9231 | \f |
9232 | Local Variables: | |
9233 | mode: change-log | |
9234 | left-margin: 8 | |
9235 | fill-column: 74 | |
9236 | version-control: never | |
57da7796 | 9237 | coding: utf-8 |
c906108c | 9238 | End: |