Commit | Line | Data |
---|---|---|
f5911ea1 HAQ |
1 | 2013-02-15 Pedro Alves <pedro@codesourcery.com> |
2 | Hafiz Abid Qadeer <abidh@codesourcery.com> | |
3 | ||
4 | * NEWS: Mention new field "trace-file". | |
5 | * tracepoint.c (trace_status_mi): Output "trace-file" field. | |
6 | (tfile_open): Record the trace file's filename in the trace | |
7 | status. | |
8 | (tfile_files_info): Mention the name of the trace file. | |
9 | Check the "filename" field explicitely. | |
10 | (trace_status_command): Explicitely check "filename" field. | |
11 | (trace_find_command): Ditto. | |
12 | (trace_find_pc_command): Ditto. | |
13 | (trace_find_tracepoint_command): Ditto. | |
14 | (trace_find_line_command): Ditto. | |
15 | (trace_find_range_command): Ditto. | |
16 | (trace_find_outside_command): Ditto. | |
17 | * tracepoint.h (struct trace_status) <from_file>: Rename it | |
18 | to "filename" and make it hold the trace file's filename | |
19 | instead of a boolean. | |
20 | * remote.c (remote_get_trace_status): Initialize "filename" | |
21 | field with NULL instead of 0. | |
22 | ||
796cb314 YQ |
23 | 2013-02-15 Yao Qi <yao@codesourcery.com> |
24 | ||
25 | * remote.c: Fix a typo. | |
26 | ||
42e79b1d PM |
27 | 2013-02-14 Pierre Muller <muller@sourceware.org> |
28 | ||
29 | * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove. | |
30 | ||
baea0dae PA |
31 | 2013-02-14 Pedro Alves <palves@redhat.com> |
32 | ||
33 | * utils.c (savestring): Don't #undef it. Move function to | |
34 | common/common-utils.c. | |
35 | * common/common-utils.c: Include gdb_string.h. | |
36 | (savestring): Move here from utils.c. | |
37 | * common/common-utils.h (savestring): Declare. | |
38 | ||
57c3b6ed PA |
39 | 2013-02-14 Pedro Alves <palves@redhat.com> |
40 | ||
41 | * utils.c (savestring): Rename parameter 'size' to 'len'. | |
42 | ||
d6c44983 YZ |
43 | 2013-02-14 Pedro Alves <palves@redhat.com> |
44 | Yufeng Zhang <yufeng.zhang@arm.com> | |
45 | ||
46 | * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete. | |
47 | (aarch64_inferior_data, struct aarch64_inferior_data): | |
48 | Delete. | |
49 | (struct aarch64_process_info): New. | |
50 | (aarch64_process_list): New global. | |
51 | (aarch64_find_process_pid, aarch64_add_process) | |
52 | (aarch64_process_info_get): New functions. | |
53 | (aarch64_inferior_data_get): Delete. | |
54 | (aarch64_process_info_get): New function. | |
55 | (aarch64_forget_process): New function. | |
56 | (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement. | |
57 | (aarch64_linux_prepare_to_resume): Pass the lwp's pid to | |
58 | aarch64_get_debug_reg_state. | |
59 | (aarch64_notify_debug_reg_change): Use iterate_over_lwps | |
60 | instead of linux_nat_iterate_watchpoint_lwps. | |
61 | (aarch64_linux_new_fork): New function. | |
62 | (aarch64_linux_child_post_startup_inferior): Use | |
63 | aarch64_forget_process instead of aarch64_init_debug_reg_state. | |
64 | (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint) | |
65 | (aarch64_linux_remove_hw_breakpoint) | |
66 | (aarch64_handle_aligned_watchpoint) | |
67 | (aarch64_handle_unaligned_watchpoint) | |
68 | (aarch64_linux_insert_watchpoint) | |
69 | (aarch64_linux_remove_watchpoint) | |
70 | (aarch64_linux_stopped_data_address): Adjust to pass the current | |
71 | process id to aarch64_debug_reg_state. | |
72 | (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as | |
73 | linux_nat_new_fork hook, and aarch64_forget_process as | |
74 | linux_nat_forget_process hook; remove the call to | |
75 | register_inferior_data_with_cleanup. | |
76 | ||
4819b3f8 PA |
77 | 2013-02-14 Pedro Alves <palves@redhat.com> |
78 | ||
79 | * eval.c (evaluate_subexp_for_address) <default_case_after_eval, | |
80 | EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before | |
81 | lval_memory. | |
82 | ||
1773c82c HAQ |
83 | 2013-02-14 Pedro Alves <pedro@codesourcery.com> |
84 | Hafiz Abid Qadeer <abidh@codesourcery.com> | |
85 | ||
86 | * tracepoint.h (validate_trace_state_variable_name): Declare. | |
87 | * tracepoint.c (validate_trace_state_variable_name): New. | |
88 | (trace_variable_command): Parse the trace state variable's name | |
89 | without using parse_expression. Do several validations. | |
90 | * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the | |
91 | trace state variable's name with parse_expression. Validate it. | |
92 | ||
53778a97 YQ |
93 | 2013-02-14 Yao Qi <yao@codesourcery.com> |
94 | ||
95 | * infcmd.c (breakpoint_proceeded): Remove it. | |
96 | ||
7b3ae3a6 YQ |
97 | 2013-02-14 Yao Qi <yao@codesourcery.com> |
98 | ||
99 | * tracepoint.c (end_actions_pseudocommand): Make it static. | |
100 | (while_stepping_pseudocommand): Likewise. | |
101 | * tracepoint.h (end_actions_pseudocommand): Remove the | |
102 | declaration. | |
103 | (while_stepping_pseudocommand): Likewise. | |
104 | ||
64580925 YQ |
105 | 2013-02-14 Yao Qi <yao@codesourcery.com> |
106 | ||
107 | * cli/cli-decode.c (help_cmd): Remove the declaration of | |
108 | "cmdlist". | |
109 | (help_all): Likewise. | |
110 | ||
26cb8b7c PA |
111 | 2013-02-13 Pedro Alves <palves@redhat.com> |
112 | ||
113 | * amd64-linux-nat.c (update_debug_registers_callback): | |
114 | Update comment. | |
115 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use | |
116 | iterate_over_lwps. | |
117 | (amd64_linux_prepare_to_resume): Pass the lwp's pid to | |
118 | i386_debug_reg_state. | |
119 | (amd64_linux_new_fork): New function. | |
120 | (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as | |
121 | linux_nat_new_fork hook, and i386_forget_process as | |
122 | linux_nat_forget_process hook. | |
123 | * i386-linux-nat.c (update_debug_registers_callback): | |
124 | Update comment. | |
a8256ea1 | 125 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use |
26cb8b7c PA |
126 | iterate_over_lwps. |
127 | (i386_linux_prepare_to_resume): Pass the lwp's pid to | |
128 | i386_debug_reg_state. | |
129 | (i386_linux_new_fork): New function. | |
130 | (_initialize_i386_linux_nat): Install i386_linux_new_fork as | |
131 | linux_nat_new_fork hook, and i386_forget_process as | |
132 | linux_nat_forget_process hook. | |
133 | * i386-nat.c (i386_init_dregs): Delete. | |
134 | (i386_inferior_data, struct i386_inferior_data): | |
135 | Delete. | |
136 | (struct i386_process_info): New. | |
137 | (i386_process_list): New global. | |
138 | (i386_find_process_pid, i386_add_process, i386_process_info_get): | |
139 | New functions. | |
140 | (i386_inferior_data_get): Delete. | |
141 | (i386_process_info_get): New function. | |
142 | (i386_debug_reg_state): New parameter 'pid'. Reimplement. | |
143 | (i386_forget_process): New function. | |
144 | (i386_cleanup_dregs): Rewrite. | |
145 | (i386_update_inferior_debug_regs, i386_insert_watchpoint) | |
146 | (i386_remove_watchpoint, i386_region_ok_for_watchpoint) | |
147 | (i386_stopped_data_address, i386_insert_hw_breakpoint) | |
148 | (i386_remove_hw_breakpoint): Adjust to pass the current process id | |
149 | to i386_debug_reg_state. | |
150 | (i386_use_watchpoints): Don't register inferior data. | |
151 | * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and | |
152 | adjust comment. | |
153 | (i386_forget_process): Declare. | |
154 | * linux-fork.c (delete_fork): Call linux_nat_forget_process. | |
155 | * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook): | |
156 | New static globals. | |
157 | (linux_child_follow_fork): Don't call linux_nat_new_thread here. | |
158 | (add_initial_lwp): New, factored out from ... | |
159 | (add_lwp): ... this. Don't check the number of lwps before | |
160 | calling linux_nat_new_thread. | |
161 | (linux_nat_iterate_watchpoint_lwps): Delete. | |
162 | (linux_nat_attach): Use add_initial_lwp instead of add_lwp. | |
163 | (linux_handle_extended_wait): Call the linux_nat_new_fork hook on | |
164 | forks and vforks. | |
165 | (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the | |
166 | initial lwp. | |
167 | (linux_nat_kill, linux_nat_mourn_inferior): Call | |
168 | linux_nat_forget_process. | |
169 | (linux_nat_set_new_fork, linux_nat_set_forget_process) | |
170 | (linux_nat_forget_process): New functions. | |
171 | * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete | |
172 | type. | |
173 | (linux_nat_iterate_watchpoint_lwps): Delete declaration. | |
174 | (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New | |
175 | types. | |
176 | (linux_nat_set_new_fork, linux_nat_set_forget_process) | |
177 | (linux_nat_forget_process): New declarations. | |
178 | ||
179 | * amd64fbsd-nat.c (super_mourn_inferior): New global. | |
180 | (amd64fbsd_mourn_inferior): New function. | |
181 | (_initialize_amd64fbsd_nat): Override to_mourn_inferior. | |
182 | * windows-nat.c (windows_detach): Call i386_cleanup_dregs. | |
183 | ||
5befea72 MS |
184 | 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com> |
185 | ||
55015247 YQ |
186 | * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity): |
187 | Adding _(). | |
5befea72 | 188 | |
1d3ffd6b MS |
189 | 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com> |
190 | ||
191 | * aarch64-linux-nat.c (debug_reg_change_callback) | |
192 | (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with | |
193 | %s and phex(). | |
194 | ||
6eb04473 MS |
195 | 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com> |
196 | ||
197 | * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long | |
198 | with LONGEST. | |
199 | ||
a016fc87 HAQ |
200 | 2013-02-13 Pedro Alves <palves@redhat.com> |
201 | Hafiz Abid Qadeer <abidh@codesourcery.com> | |
202 | ||
203 | * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS. | |
204 | ||
e234dfaf TT |
205 | 2013-02-12 Tom Tromey <tromey@redhat.com> |
206 | ||
207 | PR symtab/11464: | |
208 | * c-exp.y (lex_one_token): Initialize other fields of yylval on | |
209 | NAME return. | |
210 | (classify_inner_name): Remove 'first_name' argument, add | |
211 | 'context'. Remove unused variable. | |
212 | (yylex): Explicitly maintain the context type. Exit loop earlier | |
213 | if NAME result is seen. | |
214 | ||
0b1afbb3 PA |
215 | 2013-02-12 Pedro Alves <palves@redhat.com> |
216 | ||
217 | * amd64-darwin-tdep.c: Add (C) after Copyright. | |
218 | * cli/cli-cmds.h: Ditto. | |
219 | * cli/cli-decode.c: Ditto. | |
220 | * cli/cli-decode.h: Ditto. | |
221 | * cli/cli-dump.c: Ditto. | |
222 | * cli/cli-dump.h: Ditto. | |
223 | * cli/cli-interp.c: Ditto. | |
224 | * cli/cli-logging.c: Ditto. | |
225 | * cli/cli-script.c: Ditto. | |
226 | * cli/cli-script.h: Ditto. | |
227 | * cli/cli-setshow.c: Ditto. | |
228 | * cli/cli-setshow.h: Ditto. | |
229 | * cli/cli-utils.c: Ditto. | |
230 | * cli/cli-utils.h: Ditto. | |
231 | * config/alpha/nm-osf3.h: Ditto. | |
232 | * config/djgpp/djconfig.sh: Ditto. | |
233 | * config/i386/nm-fbsd.h: Ditto. | |
234 | * config/i386/nm-i386gnu.h: Ditto. | |
235 | * config/nm-linux.h: Ditto. | |
236 | * config/nm-nto.h: Ditto. | |
237 | * config/rs6000/nm-rs6000.h: Ditto. | |
238 | * config/sparc/nm-sol2.h: Ditto. | |
239 | * darwin-nat-info.c: Ditto. | |
240 | * dfp.c: Ditto. | |
241 | * dfp.h: Ditto. | |
242 | * gdb-demangle.h: Ditto. | |
243 | * i386-darwin-nat.c: Ditto. | |
244 | * i386-darwin-tdep.c: Ditto. | |
245 | * linux-fork.h: Ditto. | |
246 | * m32c-tdep.c: Ditto. | |
247 | * microblaze-linux-tdep.c: Ditto. | |
248 | * microblaze-rom.c: Ditto. | |
249 | * microblaze-tdep.c: Ditto. | |
250 | * microblaze-tdep.h: Ditto. | |
251 | * mips-linux-tdep.h: Ditto. | |
252 | * ppc-ravenscar-thread.c: Ditto. | |
253 | * ppc-ravenscar-thread.h: Ditto. | |
254 | * prologue-value.c: Ditto. | |
255 | * prologue-value.h: Ditto. | |
256 | * ravenscar-thread.c: Ditto. | |
257 | * ravenscar-thread.h: Ditto. | |
258 | * sparc-ravenscar-thread.c: Ditto. | |
259 | * sparc-ravenscar-thread.h: Ditto. | |
260 | * tilegx-linux-tdep.c: Ditto. | |
261 | * unwind_stop_reasons.def: Ditto. | |
262 | * windows-nat.h: Ditto. | |
263 | * xtensa-linux-tdep.c: Ditto. | |
264 | * xtensa-xtregs.c: Ditto. | |
265 | * regformats/regdat.sh: Ditto. | |
266 | * regformats/regdef.h: Ditto. | |
267 | ||
6c01dd94 PA |
268 | 2013-02-12 Pedro Alves <palves@redhat.com> |
269 | ||
270 | * break-catch-sig.c: Update copyright years. | |
271 | ||
b65a2bd9 SCR |
272 | 2013-02-11 Siva Chandra Reddy <sivachandra@google.com> |
273 | ||
274 | Add support for a destructor for ui_out data and use it to | |
275 | provide a ui_out destructor. | |
276 | * ui-out.h: Declare the new ui_out destructor. | |
277 | (ui_out_impl): Add a field for data destructor in ui_out_impl. | |
278 | * ui-out.c (default_data_destroy): Add a default data destructor | |
279 | which does nothing. | |
280 | (default_ui_out_impl): Set the new data_destroy field to | |
281 | default_data_destroy | |
282 | (uo_data_destroy): Local function which invokes the data | |
283 | destructor if present. | |
284 | (clear_table): Local function which clears the table data of a | |
285 | ui_out object. | |
286 | (ui_out_destroy): Public function which frees a ui_out object. | |
287 | (ui_out_table_end): Use the new clear_table function. | |
288 | * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to | |
289 | NULL. | |
290 | * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field | |
291 | to NULL. | |
292 | ||
c2792f5a DE |
293 | 2013-02-11 Doug Evans <dje@google.com> |
294 | ||
295 | * printcmd.c (printf_c_string,printf_wide_c_string): New functions. | |
296 | (printf_decfloat): New function. Broken out from ui_printf. | |
297 | Remove unnecessary code to shift the entire format string down. | |
298 | (printf_pointer): New function. | |
299 | (ui_printf): Code to print C strings, wide C strings, decfloats, | |
300 | and pointers moved to separate functions. | |
301 | ||
d9e98382 SDJ |
302 | 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com> |
303 | ||
304 | * valops.c (value_assign): Handling bitfield offset in | |
305 | `lval_internalvar_component' case. | |
306 | ||
4ff3ce77 DE |
307 | 2013-02-08 Doug Evans <dje@google.com> |
308 | ||
309 | * common/format.c (parse_format_string): Fix whitespace. | |
310 | ||
901900c4 MGD |
311 | 2013-02-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
312 | ||
313 | * stack.c (return_command): Work around uninitialized variable | |
314 | warning. | |
315 | ||
b5dbc8d4 YZ |
316 | 2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com> |
317 | ||
318 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the | |
319 | number of the registers from 36 to 34. | |
320 | ||
51d66578 MS |
321 | 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com> |
322 | ||
323 | * NEWS: Mention new AArch64 native and target support. | |
324 | ||
176b1c95 MS |
325 | 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com> |
326 | ||
327 | * MAINTAINERS (Write After Approval): Add myself. | |
328 | ||
9d19df75 MS |
329 | 2013-02-08 Jim MacArthur <jim.macarthur@arm.com> |
330 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
331 | Nigel Stephens <nigel.stephens@arm.com> | |
332 | Yufeng Zhang <yufeng.zhang@arm.com> | |
333 | ||
334 | * aarch64-linux-nat.c: New file. | |
335 | * config/aarch64/linux.mh: New file. | |
336 | * configure.host: Add AArch64. | |
337 | * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c. | |
338 | ||
7e1e0340 DE |
339 | 2013-02-07 Doug Evans <dje@google.com> |
340 | ||
341 | * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to | |
342 | disassemble command. | |
343 | ||
45e25a36 MS |
344 | 2013-02-07 Marcus Shawcroft <marcus.shawcroft@arm.com> |
345 | ||
346 | * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call | |
347 | set_gdbarch_fetch_tls_load_module_address. | |
348 | ||
bbfdfe1c DM |
349 | 2013-02-06 David S. Miller <davem@davemloft.net> |
350 | ||
351 | * sparc-tdep.c (sparc32_return_value): Handle writing return value when | |
352 | using RETURN_VALUE_ABI_PRESERVES_ADDRESS. | |
353 | * value.c (struct_return_convention): New function. | |
354 | (using_struct_return): Implement in terms of struct_return_convention. | |
355 | * value.h (struct_return_convention): Declare. | |
356 | * stack.c (return_command): Allow successful overriding of the return | |
357 | value when RETURN_VALUE_ABI_PRESERVES_ADDRESS. | |
358 | ||
bc9abe4a TT |
359 | 2013-02-06 Tom Tromey <tromey@redhat.com> |
360 | ||
361 | * python/py-type.c (typy_strip_typedefs): Don't call check_typedef | |
362 | outside of TRY_CATCH. | |
363 | ||
134a2066 YQ |
364 | 2013-02-06 Yao Qi <yao@codesourcery.com> |
365 | ||
366 | * mi/mi-interp.c: Include "tracepoint.h". | |
367 | (mi_tsv_modified): Declare. | |
368 | (mi_tsv_created, mi_tsv_deleted): Update declaration. | |
369 | (mi_interpreter_init): Call observer_attach_tsv_modified. | |
370 | (mi_tsv_modified): New. | |
371 | (mi_tsv_created, mi_tsv_deleted): Update. | |
372 | * tracepoint.c (trace_variable_command): Call | |
373 | observer_notify_tsv_modified if the initial value of tsv is | |
374 | changed. | |
375 | (delete_trace_state_variable): Call | |
376 | observer_notify_tsv_deleted earlier. | |
377 | (trace_variable_command): Caller update. | |
378 | (create_tsv_from_upload): Likewise. | |
379 | * observer.sh: Declare "struct trace_state_variable". | |
380 | ||
381 | * NEWS: Mention the new MI notification "=tsv-modified". | |
382 | ||
59be2b6a DE |
383 | 2013-02-05 Doug Evans <dje@google.com> |
384 | ||
385 | * completer.c (location_completer): Fix typo in comment. | |
386 | ||
d30113d4 JK |
387 | 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
388 | ||
389 | * breakpoint.c (add_location_to_breakpoint): Insert the location with | |
390 | ADDRESS sorted. | |
391 | ||
14ac654f MS |
392 | 2013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com> |
393 | ||
394 | * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix: | |
395 | Refactor if statement to avoid trailing || operator. | |
396 | ||
543bf33d AT |
397 | 2013-02-05 Andreas Tobler <andreast@fgznet.ch> |
398 | ||
399 | * NEWS: Add PowerPC FreeBSD as a new native configuration. | |
400 | ||
dc18f110 AT |
401 | 2013-02-04 Andreas Tobler <andreast@fgznet.ch> |
402 | ||
403 | * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files. | |
404 | * configure.host: Add powerpc*-*-freebsd* target. | |
405 | * configure.tgt: Add target info for powerpc*-*-freebsd*. | |
406 | * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files. | |
407 | * config/powerpc/fbsd.mh: New file. | |
408 | ||
b3ac9c77 SDJ |
409 | 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com> |
410 | Denys Vlasenko <dvlasenk@redhat.com> | |
411 | Pedro Alves <palves@redhat.com> | |
412 | ||
413 | * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook. | |
414 | (struct elf_internal_linux_prpsinfo): Forward declare. | |
415 | * gdbarch.h, gdbarch.c: Regenerate. | |
416 | * linux-tdep.c: Include `cli/cli-utils.h'. | |
417 | (linux_fill_prpsinfo): New function. | |
418 | (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's | |
419 | an elfcore_write_linux_prpsinfo hook, use it, otherwise, use | |
420 | elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64 | |
421 | depending on gdbarch pointer bitness. | |
422 | * ppc-linux-tdep.c: Include elf-bfd.h. | |
423 | (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32 | |
424 | on 32-bit. | |
425 | ||
176eb98c MS |
426 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
427 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
428 | Nigel Stephens <nigel.stephens@arm.com> | |
429 | Yufeng Zhang <yufeng.zhang@arm.com> | |
430 | ||
431 | * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes. | |
432 | ||
cf0dbd6f MS |
433 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
434 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
435 | Nigel Stephens <nigel.stephens@arm.com> | |
436 | Yufeng Zhang <yufeng.zhang@arm.com> | |
437 | ||
438 | * aarch64-newlib-tdep.c: New file. | |
439 | * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of | |
440 | aarch64*-*-elf. | |
441 | * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB. | |
442 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o. | |
443 | (ALLDEPFILES): Add aarch64-newlib-tdep.c. | |
444 | * osabi.c (gdb_osabi_names): Add "Newlib". | |
445 | ||
1ae3db19 MS |
446 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
447 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
448 | Nigel Stephens <nigel.stephens@arm.com> | |
449 | Yufeng Zhang <yufeng.zhang@arm.com> | |
450 | ||
451 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o. | |
452 | (ALLDEPFILES): Add aarch64-linux-tdep.c. | |
453 | * aarch64-linux-tdep.c: New file. | |
454 | * aarch64-linux-tdep.h: New file. | |
455 | * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset. | |
456 | * configure.tgt: Add aarch64-none-linux-gnu. | |
457 | ||
07b287a0 MS |
458 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
459 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
460 | Nigel Stephens <nigel.stephens@arm.com> | |
461 | Yufeng Zhang <yufeng.zhang@arm.com> | |
462 | ||
463 | * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o. | |
464 | (HFILES_NO_SRCDIR): Add aarch64-tdep.h. | |
465 | (ALLDEPFILES): Add aarch64-tdep.c. | |
466 | * aarch64-tdep.c: New file. | |
467 | * aarch64-tdep.h: New file. | |
468 | * configure.tgt: Add AArch64. | |
469 | * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu. | |
470 | (aarch64-expedite): New definition. | |
471 | * features/aarch64-core.xml: New file. | |
472 | * features/aarch64-fpu.xml: New file. | |
473 | * features/aarch64-without-fpu.c: New file (generated). | |
474 | * features/aarch64-without-fpu.xml: New file. | |
475 | * features/aarch64.c: New file (generated). | |
476 | * features/aarch64.xml: New file. | |
477 | * regformats/aarch64-without-fpu.dat: New file (generated). | |
478 | * regformats/aarch64.dat: New file (generated). | |
479 | ||
0f1b18ab JK |
480 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
481 | ||
482 | * contrib/expect-read1.c: New file. | |
483 | * contrib/expect-read1.sh: New file. | |
484 | ||
233d95b5 JK |
485 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
486 | ||
487 | * dwarf2read.c (file_file_name): New function with code from | |
488 | file_full_name. | |
489 | (file_full_name): Move most of the code to file_file_name. | |
490 | (macro_start_file): Rename variable full_name to file_name and use | |
491 | file_file_name for it. Add comp_dir parameter to new_macro_table. | |
492 | * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any | |
493 | macro_source_file->filename access by macro_source_fullname call. | |
494 | * macroscope.c (_initialize_macroscope): Update the new_macro_table | |
495 | caller. | |
496 | * macrotab.c (struct macro_table): New field comp_dir. | |
497 | (macro_include): New variables link_fullname and source_fullname. | |
498 | Replace any macro_source_file->filename access by macro_source_fullname | |
499 | call. | |
500 | (macro_lookup_inclusion): Remove the partial filenames checking code. | |
501 | (check_for_redefinition): New variables source_fullname and | |
502 | found_key_fullname. Replace any macro_source_file->filename access by | |
503 | macro_source_fullname call. | |
504 | (macro_undef): New variables source_fullname and key_fullname. Replace | |
505 | any macro_source_file->filename access by macro_source_fullname call. | |
506 | (macro_lookup_definition): New variables retval and source_fullname. | |
507 | Replace any macro_source_file->filename access by macro_source_fullname | |
508 | call. | |
509 | (foreach_macro): New variable key_fullname. Replace any | |
510 | macro_source_file->filename access by macro_source_fullname call. | |
511 | (foreach_macro_in_scope): New variable datum_fullname. Replace any | |
512 | macro_source_file->filename access by macro_source_fullname call. | |
513 | (new_macro_table): Add parameter comp_dir. Initialize T with it. | |
514 | (macro_source_fullname): New function. | |
515 | * macrotab.h (struct macro_source_file): Extent the filename field | |
516 | comment. | |
517 | (new_macro_table): New parameter comp_dir, add a comment for it. | |
518 | (macro_source_fullname): new declaration. | |
519 | ||
da235a7c JK |
520 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
521 | ||
522 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable | |
523 | this_real_name to outer block. Use it also for | |
524 | compare_filenames_for_search. | |
525 | (dw2_expand_symtabs_matching): New variable this_real_name. Use it | |
526 | with dw2_get_real_path for file_matcher, considering also | |
527 | BASENAMES_MAY_DIFFER. | |
528 | (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS. | |
529 | ||
fbd9ab74 JK |
530 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
531 | ||
532 | * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter | |
533 | to the file_matcher parameter. Pass 0 to it. | |
534 | (dwarf2_create_include_psymtab): Copy also DIRNAME. | |
535 | * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of | |
536 | NULL psymtab_to_fullname result. | |
537 | (psymtab_to_fullname): Remove variable r. Never return NULL, assemble | |
538 | an expected filename instead. | |
539 | (expand_symtabs_matching_via_partial): Add basenames parameter to the | |
540 | file_matcher parameter. Call also psymtab_to_fullname, after newly | |
541 | considering BASENAMES_MAY_DIFFER. | |
542 | * source.c (rewrite_source_path): Remove static. | |
543 | * source.h (rewrite_source_path): New declaration. | |
544 | * symfile.h (struct quick_symbol_functions): Add basenames parameter to | |
545 | the expand_symtabs_matching field. Comment it. | |
546 | * symtab.c (file_matches): New function comment. Add parameter | |
547 | basenames, implement it. | |
548 | (search_symbols_file_matches): Add basenames parameter. Update the | |
549 | file_matches caller. | |
550 | (search_symbols): Match FILES also against symtab_to_fullname. | |
551 | Optimize it for BASENAMES_MAY_DIFFER. | |
552 | ||
56d397a3 JK |
553 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
554 | ||
555 | * source.c (print_source_lines_base): Print for TUI also "fullname". | |
556 | * tui/tui-data.c (init_content_element): Change tui_locator_element | |
557 | field to full_name. | |
558 | * tui/tui-data.h (struct tui_locator_element): Likewise. | |
559 | * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename | |
560 | tui_update_locator_filename calls to tui_update_locator_fullname. | |
561 | Replace symtab->filename refererence by symtab_to_fullname call. | |
562 | * tui/tui-out.c (tui_field_string): Check for "fullname" now. | |
563 | * tui/tui-source.c (tui_set_source_content): Change tui_locator_element | |
564 | field to full_name. Replace symtab->filename refererence by | |
565 | symtab_to_fullname call. | |
566 | (tui_show_symtab_source): Rename parameter to fullname. Change | |
567 | tui_locator_element field to full_name. | |
568 | * tui/tui-stack.c: Include source.h. | |
569 | (tui_set_locator_filename): Rename the declaration to ... | |
570 | (tui_set_locator_fullname): ... here. Rename its parameter to | |
571 | fullname, updates its comment. | |
572 | (tui_set_locator_info): Rename its parameter to fullname. | |
573 | (tui_set_locator_filename): Rename the definition to ... | |
574 | (tui_set_locator_fullname): ... here. Rename its parameter to | |
575 | fullname, updates its comment. Change tui_locator_element field to | |
576 | full_name. | |
577 | (tui_set_locator_info): Rename its parameter to fullname. | |
578 | (tui_set_locator_info): Rename callee to tui_set_locator_fullname. | |
579 | (tui_update_locator_filename): Rename to ... | |
580 | (tui_update_locator_fullname): ... here. Rename callee to | |
581 | tui_set_locator_fullname. | |
582 | (tui_show_frame_info): Replace symtab->filename refererence by | |
583 | symtab_to_fullname call. | |
584 | * tui/tui-stack.h (tui_update_locator_filename): Rename to ... | |
585 | (tui_update_locator_fullname): ... here. | |
586 | * tui/tui-winsource.c (tui_display_main): Rename the callee to | |
587 | tui_update_locator_fullname. Replace symtab->filename refererence by | |
588 | symtab_to_fullname call. | |
589 | * tui/tui.c (tui_show_source): Rename its parameter to fullname. | |
590 | Rename the callee to tui_update_locator_fullname. | |
591 | * tui/tui.h (tui_show_source): Rename its parameter to fullname. | |
592 | ||
05cba821 JK |
593 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
594 | ||
595 | * ada-lang.c (user_select_syms): Replace symtab->filename refererences | |
596 | by symtab_to_filename_for_display calls. | |
597 | * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise. | |
598 | (clear_command): New variable sal_fullname, initialize it. Replace | |
599 | compare_filenames_for_search by filename_cmp with sal_fullname. | |
600 | (say_where, update_static_tracepoint): Replace symtab->filename | |
601 | refererences by symtab_to_filename_for_display calls. | |
602 | * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec): | |
603 | Likewise. | |
604 | * dwarf2read.c: Include source.h. | |
605 | (fixup_go_packaging): Replace symtab->filename refererences by | |
606 | symtab_to_filename_for_display calls. | |
607 | * linespec.c (add_sal_to_sals): Rename variable filename to fullname. | |
608 | Replace symtab->filename refererences by symtab_to_filename_for_display | |
609 | calls. | |
610 | (create_sals_line_offset, convert_linespec_to_sals): New variable | |
611 | fullname, initialize it, replace symtab->filename reference by the | |
612 | variable. | |
613 | * linux-fork.c: Include source.h. | |
614 | (info_checkpoints_command): Replace symtab->filename refererences by | |
615 | symtab_to_filename_for_display calls. | |
616 | * macroscope.c (sal_macro_scope): Replace symtab->filename refererences | |
617 | by symtab_to_filename_for_display calls. | |
618 | * mdebugread.c: Include source.h. | |
619 | (psymtab_to_symtab_1): Replace symtab->filename refererences by | |
620 | symtab_to_filename_for_display calls. | |
621 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) | |
622 | (mi_cmd_file_list_exec_source_files): Likewise. | |
623 | * printcmd.c: Include source.h. | |
624 | (build_address_symbolic): Replace symtab->filename refererences by | |
625 | symtab_to_filename_for_display calls. | |
626 | * psymtab.c (partial_map_symtabs_matching_filename) | |
627 | (read_psymtabs_with_fullname): Call compare_filenames_for_search also | |
628 | with psymtab_to_fullname. | |
629 | * python/py-symtab.c (stpy_str): Replace symtab->filename refererences | |
630 | by symtab_to_filename_for_display calls. | |
631 | (stpy_get_filename): New variable filename, initialize it, use instead | |
632 | of symtab->filename refererences. | |
633 | (salpy_str): Make variable filename const char *. Replace | |
634 | symtab->filename refererences by symtab_to_filename_for_display calls. | |
635 | * skip.c: Include source.h and filenames.h. | |
636 | (skip_file_command): Remove const from the symtab variable. Replace | |
637 | symtab->filename refererences by symtab_to_fullname call. | |
638 | (function_name_is_marked_for_skip): New variables searched_for_fullname | |
639 | and fullname. Use them to search also with symtab's fullname. | |
640 | * source.c (find_source_lines): Replace symtab->filename refererences | |
641 | by symtab_to_filename_for_display calls. | |
642 | (print_source_lines_base): New variable filename, use it instead of | |
643 | symtab->filename. Replace symtab->filename refererences by | |
644 | symtab_to_filename_for_display calls. | |
645 | (line_info, forward_search_command): Replace symtab->filename | |
646 | refererences by symtab_to_filename_for_display calls. | |
647 | (reverse_search_command): Replace symtab->filename refererences by | |
648 | symtab_to_filename_for_display calls. New variable filename for it. | |
649 | * stack.c (frame_info): Likewise. | |
650 | * symmisc.c: Include source.h. | |
651 | (dump_objfile, dump_symtab_1, maintenance_print_symbols) | |
652 | (maintenance_info_symtabs): Replace symtab->filename refererences by | |
653 | symtab_to_filename_for_display calls. | |
654 | * symtab.c (iterate_over_some_symtabs): Call | |
655 | compare_filenames_for_search also with symtab_to_fullname. | |
656 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace | |
657 | symtab->filename refererences by symtab_to_filename_for_display calls. | |
658 | (find_line_symtab): Replace symtab->filename refererences by | |
659 | symtab_to_filename_for_display calls. | |
660 | (file_matches): Replace filename_cmp by compare_filenames_for_search. | |
661 | (print_symbol_info): Make the last parameter const char *. New | |
662 | variable s_filename. Use it in the function. | |
663 | (symtab_symbol_info): Make the last_filename variable const char *. | |
664 | Replace symtab->filename refererences by symtab_to_filename_for_display | |
665 | calls. | |
666 | (rbreak_command): New variable fullname. Use it. Replace | |
667 | symtab->filename refererence by symtab_to_filename_for_display call. | |
668 | * tracepoint.c (set_traceframe_context, trace_find_line_command) | |
669 | (print_one_static_tracepoint_marker): Replace symtab->filename | |
670 | refererences by symtab_to_filename_for_display calls. | |
671 | * tui/tui-source.c (tui_set_source_content): New variables filename and | |
672 | s_filename. Replace symtab->filename refererences by this variable. | |
673 | Replace other symtab->filename refererences by | |
674 | symtab_to_filename_for_display calls. | |
675 | ||
1b56eb55 JK |
676 | 2013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com> |
677 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
678 | ||
679 | Add a new variable that controls a way in which filenames are | |
680 | displayed. | |
681 | * NEWS (set filename-display): New entry. | |
682 | * source.c (filename_display_basename, filename_display_relative) | |
683 | (filename_display_absolute, filename_display_kind_names) | |
684 | (filename_display_string, show_filename_display_string) | |
685 | (symtab_to_filename_for_display): New. | |
686 | (_initialize_source): Added initialization of 'filename-display' | |
687 | variable. | |
688 | * source.h (symtab_to_filename_for_display): Added declaration. | |
689 | * stack.c (print_frame): Added new variable and calling of a new | |
690 | function and condition with this variable. Changed third argument of | |
691 | calling of a function. | |
692 | ||
aa079c93 JK |
693 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
694 | ||
695 | * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window): | |
696 | Rename field reference filename to fullname. | |
697 | * tui/tui-data.h (struct tui_source_info): Rename field filename to | |
698 | fullname. New comment for it. | |
699 | * tui/tui-source.c (tui_set_source_content): Rename field reference | |
700 | filename to fullname. Initialize field by symtab_to_fullname now. | |
701 | * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field | |
702 | reference filename to fullname. Use symtab_to_fullname during | |
703 | comparison. | |
704 | ||
652a8996 JK |
705 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
706 | ||
707 | Code cleanup. | |
708 | * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ... | |
709 | (dw2_expand_symtabs_with_fullname): ... here. Rename parameter | |
710 | filename to fullname. Rename variable this_name to this_fullname. | |
711 | Lowercase FILENAME_CMP call. | |
712 | (dw2_find_symbol_file): New comment for the returned string. | |
713 | (dwarf2_gdb_index_functions): Rename the function to | |
714 | dw2_expand_symtabs_with_fullname. | |
715 | * psymtab.c (read_psymtabs_with_filename): Rename to ... | |
716 | (read_psymtabs_with_fullname): ... here. Rename parameter filename to | |
717 | fullname. | |
718 | (psym_functions): Rename the function to read_psymtabs_with_fullname. | |
719 | * symfile.h (struct quick_symbol_functions): Rename field | |
720 | expand_symtabs_with_filename to expand_symtabs_with_fullname and its | |
721 | parameter filename to fullname. Document returned string meaning for | |
722 | find_symbol_file. | |
723 | * symtab.c (find_line_symtab): Rename the called function to | |
724 | expand_symtabs_with_fullname. | |
725 | ||
af529f8f JK |
726 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
727 | ||
728 | Code cleanup. | |
729 | * breakpoint.c (clear_command): Remove variable is_abs, unify the | |
730 | call of filename_cmp with compare_filenames_for_search. | |
731 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable | |
732 | is_abs, unify the call of FILENAME_CMP with | |
733 | compare_filenames_for_search. New gdb_asserts for real_path and name. | |
734 | Unify the call of compare_filenames_for_search with FILENAME_CMP. | |
735 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. | |
736 | * symfile.h (struct quick_symbol_functions): Extend the comment for | |
737 | map_symtabs_matching_filename. | |
738 | * symtab.c (compare_filenames_for_search): Remove the function comment | |
739 | relative path requirement. Handle absolute filenames, with a comment. | |
740 | (iterate_over_some_symtabs): Remove variable is_abs, unify the call of | |
741 | FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for | |
742 | real_path and name. Unify the call of compare_filenames_for_search | |
743 | with FILENAME_CMP. | |
744 | (iterate_over_symtabs): New gdb_assert on REAL_PATH. | |
745 | ||
2f202fde JK |
746 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
747 | ||
748 | Code cleanup. | |
749 | * breakpoint.c (print_breakpoint_location): Replace bp_location field | |
750 | source_file references by symtab field references. Remove variables | |
751 | sal and fullname. | |
752 | (momentary_breakpoint_from_master, add_location_to_breakpoint): | |
753 | (clear_command, say_where): Replace bp_location field source_file | |
754 | references by symtab field references. | |
755 | (bp_location_dtor): Remove the source_file reference. | |
756 | (update_static_tracepoint): Replace bp_location field source_file | |
757 | references by symtab field references. | |
758 | (breakpoint_free_objfile): New function. | |
759 | * breakpoint.h (struct bp_location): Extend the comment for line_number. | |
760 | Replace the field source_file by field symtab, extend its comment. | |
761 | (breakpoint_free_objfile): New declaration. | |
762 | * objfiles.c (free_objfile): Call breakpoint_free_objfile. | |
763 | * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location | |
764 | field source_file references by symtab field references. | |
765 | ||
f5b95b50 JK |
766 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
767 | ||
768 | Replace xfullpath calls by gdb_realpath calls. | |
769 | * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the | |
770 | function comment. | |
771 | * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path. | |
772 | Remove it from the iterate_over_some_symtabs call. | |
773 | (dw2_map_symtabs_matching_filename): Remove parameter full_path. | |
774 | Remove it from the dw2_map_expand_apply calls, remove a block handling | |
775 | it. | |
776 | * psymtab.c (partial_map_expand_apply): Remove parameter full_path. | |
777 | Remove it from the iterate_over_some_symtabs call. | |
778 | (partial_map_symtabs_matching_filename): Remove parameter full_path. | |
779 | Remove it from the partial_map_expand_apply calls, remove a block | |
780 | handling it. Drop gdb_realpath call and cleanups from the real_path | |
781 | handling. | |
782 | * source.c (openp): Drop the comment part about xfullpath. Replace | |
783 | xfullpath calls by gdb_realpath calls. | |
784 | (find_and_open_source): Replace xfullpath call by gdb_realpath call. | |
785 | * symfile.h (struct quick_symbol_functions): Remove parameter full_path | |
786 | from method map_symtabs_matching_filename and its comment. | |
787 | * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by | |
788 | gdb_realpath call. | |
789 | * symtab.c (iterate_over_some_symtabs): Remove parameter full_path, | |
790 | remove it also from the function comment, remove a block handling it. | |
791 | Drop gdb_realpath call and cleanups from the real_path handling. | |
792 | (iterate_over_symtabs): Drop variable full_path and its use. | |
793 | * symtab.h (iterate_over_some_symtabs): Remove parameter full_path. | |
794 | * utils.c (xfullpath): Remove. | |
795 | * utils.h (xfullpath): Remove. | |
796 | ||
d78489bf AT |
797 | 2013-02-01 Andreas Tobler <andreast@fgznet.ch> |
798 | ||
799 | * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o. | |
800 | (HFILES_NO_SRCDIR): Add ppc64-tdep.h. | |
801 | (ALLDEPFILES): Add ppc64-tdep.c. | |
802 | * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add | |
803 | ppc64-tdep.o to gdb_target_obs. | |
804 | * ppc64-tdep.h: New file. | |
805 | * ppc64-tdep.c: New file. | |
806 | (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from | |
807 | ppc-linux-tdep.c to here. | |
808 | (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN) | |
809 | (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro. | |
810 | (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target) | |
811 | (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move | |
812 | from ppc-linux-tdep.c to here. | |
813 | (ppc64_convert_from_func_ptr_addr): Rename from | |
814 | ppc64_linux_convert_from_func_ptr_addr to | |
815 | ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to | |
816 | here. | |
817 | * rs6000-tdep.c: | |
818 | (read_insn): Move from ppc-linux-tdep.c to here. | |
819 | (insns_match_pattern, insn_d_field, insn_ds_field): Move | |
820 | from ppc-linux-tdep.c to here and rename them with the ppc_ prefix. | |
821 | * ppc-linux-tdep.c: Include ppc64-tdep.h. | |
822 | Removed above functions. | |
823 | (ppc_linux_init_abi): Adjust. | |
824 | ||
8db60374 AR |
825 | 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com> |
826 | ||
827 | * ada-valprint.c (ada_print_floating): Remove unused 'len'. | |
828 | ||
f2e5f4ce AR |
829 | 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com> |
830 | ||
831 | * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'. | |
832 | ||
c1f7d745 PA |
833 | 2013-02-01 Pedro Alves <palves@redhat.com> |
834 | ||
835 | * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function. | |
836 | * frame.h (deprecated_pc_in_call_dummy): Delete declaration. | |
837 | ||
8a92335b JK |
838 | 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
839 | ||
840 | * elfread.c (elf_symfile_read): Limit separate debug info additions to | |
841 | files with no separate debug info. | |
842 | * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls. | |
843 | * symfile.c (read_symbols): Call find_separate_debug_file_in_section | |
844 | only for files with no separate debug info. | |
845 | ||
8eacb197 TT |
846 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
847 | ||
848 | * jit.c (jit_program_space_data): Rename from jit_inferior_data; | |
849 | change type. | |
850 | (struct jit_program_space_data): Rename from jit_inferior_data. | |
851 | Update comments. | |
852 | (get_jit_program_space_data): Rename from get_jit_inferior_data. | |
853 | Change return type. Attach data to program space. | |
854 | (jit_program_space_data_cleanup): Rename from | |
855 | jit_inferior_data_cleanup; change argument type. | |
856 | (jit_read_descriptor): Change 'inf_data' argument to 'ps_data', | |
857 | change type. | |
858 | (jit_register_code): Update. | |
859 | (jit_update_inferior_cache): Remove. | |
860 | (jit_breakpoint_deleted): Get jit data from the location's program | |
861 | space. | |
862 | (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to | |
863 | 'ps_data', change type. | |
864 | (jit_inferior_init, jit_breakpoint_re_set_internal) | |
865 | (jit_event_handler): Update. | |
866 | (free_objfile_data): Get data from objfile's program space. | |
867 | (_initialize_jit): Update. | |
868 | ||
f25c0135 TT |
869 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
870 | ||
871 | PR gdb/13987: | |
872 | * jit.c (struct jit_inferior_data) <cached_code_address, | |
873 | jit_breakpoint>: New fields. | |
874 | (jit_breakpoint_re_set_internal): Fix logging. Only create | |
875 | breakpoint if cached address has changed. | |
876 | (jit_update_inferior_cache, jit_breakpoint_deleted): New | |
877 | functions. | |
878 | (_initialize_jit): Register breakpoint deleted observer. | |
879 | ||
974a734b AR |
880 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
881 | ||
882 | * infrun.c (handle_syscall_event): Remove unused gdbarch. | |
883 | (save_infcall_suspend_state): Ifdef out unused inf. | |
884 | (restore_infcall_suspend_state): Ifdef out unused inf. | |
885 | * jit.c (jit_register_code): Remove unused i, b, inf_data. | |
886 | (jit_frame_sniffer): Remove unused inf_data. | |
887 | ||
df54f8eb AR |
888 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
889 | ||
890 | * c-exp.y (classify_inner_name): Remove unused type. | |
891 | * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed, | |
892 | in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished, | |
893 | need_escape. | |
894 | (c_get_string): Remove unused kind. | |
895 | * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2. | |
896 | ||
5799c0b9 AR |
897 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
898 | ||
899 | * charset.c (intermediate_encoding): Remove unused i. | |
900 | * completer.c (signal_completer): Remove unused i. | |
901 | * continuations.c (discard_my_continuations_1): Remove unused | |
902 | continuation_ptr. | |
903 | * corelow.c (core_close): Remove unuseD name. | |
904 | (get_core_siginfo): Remove unused pid. | |
905 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused | |
906 | i, cps. | |
907 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset. | |
908 | (loclist_describe_location): Remove unused first. | |
909 | * event-top.c (command_line_handler): Remove unused got_eof. | |
910 | * exec.c (exec_close_1): Remove unused need_symtab_cleanup. | |
911 | (resize_section_table): Remove unused old_value. | |
912 | * gdb_bfd.c (gdb_bfd_map_section): Remove unused header. | |
913 | * gnu-v3-abi.c (compute_vtable_size): Remove unused addr. | |
914 | * i386-tdep.c (i386_process_record): Remove unused rex. | |
915 | * infcmd.c (get_return_value): Remove unused uiout. | |
916 | * jv-lang.c (type_from_class): Remove unused is_array. | |
917 | * jv-valprint.c (java_val_print): Remove unused i. | |
918 | * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid. | |
919 | * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid. | |
920 | * m2-typeprint.c (m2_print_type): Remove unused code. | |
921 | * macroexp.c (get_character_constant): Remove unused body_start. | |
922 | (macro_stringify): Remove unused result. | |
923 | * objc-lang.c (find_methods): Remove unused gdbarch. | |
924 | * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2. | |
925 | * regcache.c (regcache_cooked_read): Remove unused gdbarch. | |
926 | * stack.c (print_frame_args): Remove unused summary. | |
927 | * thread.c (thread_apply_command): Remove unused p. | |
928 | * valarith.c (value_x_unop): Remove unused mangle_ptr. | |
929 | * valops.c (search_struct_method): Remove unused skip. | |
930 | * valprint.c (generic_val_print): Remove unused byte_order. | |
931 | * varobj.c (varobj_update): Remove unused changed. | |
932 | * cli/cli-cmds.c (complete_command): Remove unused next_item. | |
933 | (alias_command): Remove unused c. | |
934 | * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c. | |
935 | * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused | |
936 | format. | |
937 | (mi_cmd_data_write_memory): Remove unused word_format. | |
938 | (mi_cmd_data_write_memory_bytes): Remove unused r. | |
939 | * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused | |
940 | p_start, p_end. | |
941 | * python/python.c (_initialize_python): Remove unused cmd_name, cmd. | |
942 | * tui/tui-disasm.c (tui_set_disassem_content): Remove unused | |
943 | line_width. | |
944 | ||
c656bca5 AR |
945 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
946 | ||
947 | * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. | |
948 | * symtab.c (iterate_over_symtabs): Remove unused s. | |
949 | (find_pc_sect_symtab): Remove unused pspAce. | |
950 | (find_pc_sect_line): Remove unused alt_symtab. | |
951 | (find_pcs_for_symtab_line): Remove unused ix, previous_function. | |
952 | (completion_list_add_name): Remove unused newsize. | |
953 | ||
7078baeb TT |
954 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
955 | ||
956 | PR c++/14998: | |
957 | * dwarf2read.c (read_tag_ptr_to_member_type): Handle | |
958 | TYPE_CODE_FUNC. | |
959 | ||
c2e8b827 AR |
960 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
961 | ||
962 | * target.c (target_read_string): Remove unused origlen. | |
963 | ||
0e43993a AR |
964 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
965 | ||
966 | * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. | |
967 | * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. | |
968 | * ax-general.c (ax_print): Remove unused is_float. | |
969 | * blockframe.c (block_innermost_frame): Remove unused start, end. | |
970 | * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. | |
971 | ||
765a97ab AR |
972 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
973 | ||
974 | * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. | |
975 | (svr4_read_so_list): Remove unused lmo. | |
976 | * solib-target.c (solib_target_relocate_section_addresses): Remove | |
977 | unused flags. | |
978 | ||
a99dad3d TT |
979 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
980 | ||
981 | * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". | |
982 | ||
3bff1ecd TT |
983 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
984 | ||
985 | * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. | |
986 | * utils.c (gnu_debuglink_crc32): Remove. | |
987 | * utils.h (gnu_debuglink_crc32): Don't declare. | |
988 | ||
7d455152 TT |
989 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
990 | ||
991 | * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) | |
992 | (read_structure_type, read_enumeration_type): Remove cast. | |
993 | ||
abee88f2 TT |
994 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
995 | ||
996 | * dwarf2read.c (read_namespace_type): Remove cast. | |
997 | (read_typedef): Likewise. | |
998 | ||
8d9878a4 TT |
999 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
1000 | ||
1001 | * dwarf2read.c (free_dwo_file): Remove assert. | |
1002 | ||
a543d2a9 TT |
1003 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
1004 | ||
1005 | * value.c (deprecated_set_value_modifiable): Remove. | |
1006 | * value.h (deprecated_set_value_modifiable): Remove. | |
1007 | ||
bed911e5 DE |
1008 | 2013-01-28 Doug Evans <dje@google.com> |
1009 | ||
1010 | * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address | |
1011 | to addresses from dwo files. | |
1012 | ||
28c64fc2 SCR |
1013 | 2013-01-25 Siva Chandra Reddy <sivachandra@google.com> |
1014 | ||
1015 | * valops.c (find_overload_match): Remove unused argument 'lax'. | |
1016 | * value.h: Remove unused argument 'lax' from the declaration of | |
1017 | find_overload_match. | |
1018 | * eval.c (value_subexp_standard): Do not pass a 'lax' argument | |
1019 | to find_overload_match. | |
1020 | * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' | |
1021 | argument to find_overload_match. | |
1022 | ||
4d4ec4e5 TT |
1023 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
1024 | ||
1025 | * dwarf2read.c (processing_has_namespace_info): Remove. | |
1026 | (struct dwarf2_cu) <processing_has_namespace_info>: New field. | |
1027 | (process_die, read_func_scope, dwarf2_start_symtab) | |
1028 | (new_symbol_full): Update. | |
1029 | ||
195a3f6c TT |
1030 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
1031 | ||
1032 | * cp-namespace.c (cp_set_block_scope): Remove. | |
1033 | * cp-support.h (cp_set_block_scope): Remove. | |
1034 | * dbxread.c: Include block.h. | |
1035 | (cp_set_block_scope): New function. | |
1036 | (process_one_symbol): Update. | |
1037 | * dwarf2read.c (read_func_scope): Use block_set_scope. | |
1038 | ||
8ba0730a PA |
1039 | 2013-01-25 Pedro Alves <palves@redhat.com> |
1040 | ||
1041 | * remote.c (add_current_inferior_and_thread): Tweak comment. | |
1042 | ||
12aaed36 TT |
1043 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
1044 | ||
1045 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. | |
1046 | (cp_add_using_directive): Add 'copy_names' argument. | |
1047 | * cp-support.h (cp_add_using_directive): Update. | |
1048 | (struct using_direct) <import_src, import_dest, alias, | |
1049 | declaration>: Now const. | |
1050 | * dwarf2read.c (read_import_statement): Use obconcat. | |
1051 | Don't copy names passed to cp_add_using_directive. | |
1052 | ||
7fc75ca7 TT |
1053 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
1054 | ||
1055 | * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. | |
1056 | ||
3405876a PA |
1057 | 2013-01-25 Pedro Alves <palves@redhat.com> |
1058 | ||
1059 | * remote.c (stop_reply_extract_thread): New. | |
1060 | (add_current_inferior_and_thread): New parameter 'wait_status'. | |
1061 | Handle it. | |
1062 | (remote_start_remote): Pass wait status to | |
1063 | add_current_inferior_and_thread. | |
1064 | (extended_remote_run): Update comment. | |
1065 | (extended_remote_create_inferior_1): Pass wait status to | |
1066 | add_current_inferior_and_thread. | |
1067 | ||
8954db33 AB |
1068 | 2013-01-25 Andrew Burgess <aburgess@broadcom.com> |
1069 | Ulrich Weigand <uweigand@de.ibm.com> | |
1070 | ||
1071 | * valarith.c (value_vector_widen): New function for replicating a | |
1072 | scalar into a vector. | |
1073 | (value_binop): Use value_vector_widen to widen scalar to vector | |
1074 | rather than casting, this better matches gcc C behaviour. | |
1075 | * valops.c (value_casst): Update logic for casting between vector | |
1076 | types, and for casting from scalar to vector, try to match gcc C | |
1077 | behaviour. | |
1078 | * value.h (value_vector_widen): Declare. | |
1079 | * opencl-lang.c (opencl_value_cast): New opencl specific casting | |
1080 | function, handle special case for casting scalar to vector. | |
1081 | (opencl_relop): Use opencl_value_cast. | |
1082 | (evaluate_subexp_opencl): Use opencl_value_cast instead of | |
1083 | value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE | |
1084 | in order to use opencl_value_cast. | |
1085 | ||
843b20dc YQ |
1086 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
1087 | ||
1088 | * event-loop.c: Include "queue.h". | |
1089 | (gdb_event_p): New typedef. | |
1090 | (DECLARE_QUEUE_P): Use. | |
1091 | (DEFINE_QUEUE_P): Use. | |
1092 | (async_queue_event): Remove. | |
1093 | (gdb_event_xfree): New. | |
1094 | (initialize_event_loop): New. | |
1095 | (process_event): Use QUEUE macros. | |
1096 | (event_queue): Remove. | |
1097 | (gdb_wait_for_event): Caller update. | |
1098 | (check_async_event_handlers): Likewise. | |
1099 | (poll_timers): Likewise. | |
1100 | * event-loop.h (initialize_event_loop): Declare. | |
1101 | * event-loop.c (gdb_event_xfree): New. | |
1102 | * top.c (gdb_init): Call initialize_event_loop. | |
1103 | ||
20ad8856 YQ |
1104 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
1105 | ||
1106 | * event-loop.c (async_queue_event): Remove one parameter | |
1107 | 'position'. Remove code handling 'position' == TAIL. | |
1108 | (gdb_wait_for_event): Caller update. | |
1109 | (check_async_event_handlers): Caller update. | |
1110 | (poll_timers): Caller update. | |
1111 | * event-loop.h (enum queue_position): Remove. | |
1112 | ||
3bbbe775 MK |
1113 | 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com> |
1114 | ||
1115 | * MAINTAINERS: Update my email. | |
1116 | ||
a87d9ac4 YQ |
1117 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
1118 | ||
1119 | * main.c (print_gdb_help): Remove "--epoch" from the help | |
1120 | message. | |
1121 | ||
2077afdd TD |
1122 | 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com> |
1123 | ||
1124 | * symtab.c (skip_prologue_using_sal): Consider a file | |
1125 | change the same as an increased line number | |
1126 | ||
63da4037 TD |
1127 | 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
1128 | ||
1129 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
1130 | ||
45e6c716 TT |
1131 | 2013-01-24 Tom Tromey <tromey@redhat.com> |
1132 | ||
1133 | * ada-lang.h (ada_decode_symbol): Make return type const. | |
1134 | * ada-lang.c (ada_decode_symbol): Likewise. | |
1135 | ||
b1ae631a DE |
1136 | 2013-01-23 Doug Evans <dje@google.com> |
1137 | ||
1138 | * linespec.c (find_linespec_symbols): Make static. | |
1139 | ||
55a78401 SDJ |
1140 | 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
1141 | ||
1142 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct | |
1143 | type on float conversion for complex type. | |
1144 | ||
bea883fd SCR |
1145 | 2013-01-23 Siva Chandra Reddy <sivachandra@google.com> |
1146 | ||
1147 | Add a new class gdb.Architecture which exposes GDB's | |
1148 | internal representation of architecture via GDB Python API. | |
1149 | * Makefile.in: Add entries corresponding to the new file | |
1150 | python/py-arch.c. | |
1151 | * NEWS (Python Scripting): Add entries for the new class | |
1152 | gdb.Architecture and the new method gdb.Frame.architecture. | |
1153 | * python/py-arch.c: Implement gdb.Architecture class. | |
1154 | * python/py-frame.c (frapy_arch): Implement the method | |
1155 | gdb.Frame.architecture(). | |
1156 | (frame_object_methods): Add 'architecture' to the method table. | |
1157 | * python/python-internal.h: Add declarations of new utility | |
1158 | functions. | |
1159 | * python/python.c (_initialize_python): Initialize | |
1160 | gdb.Architecture class. | |
1161 | ||
796a7ff8 DE |
1162 | 2013-01-23 Doug Evans <dje@google.com> |
1163 | ||
1164 | Work around binutils/15021. | |
1165 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and | |
1166 | type_unit_group out of union s. All uses updated. | |
1167 | (read_index_from_section): Watch for index version 8. | |
1168 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as | |
1169 | an imported symtab. | |
1170 | (write_psymtabs_to_index): Increment version number to 8. | |
1171 | ||
0928e93d PA |
1172 | 2013-01-22 Pedro Alves <palves@redhat.com> |
1173 | ||
1174 | * annotate.c (breakpoint_changed): Skip if breakpoint is not | |
1175 | user-visible. | |
1176 | ||
9c97429f PA |
1177 | 2013-01-22 Pedro Alves <palves@redhat.com> |
1178 | ||
1179 | * annotate.c (annotate_breakpoints_changed): Rename to ... | |
1180 | (annotate_breakpoints_invalid): ... this. Make static. | |
1181 | (breakpoint_changed): Adjust. | |
1182 | (_initialize_annotate): Always install the observers. Install a | |
1183 | "breakpoint_created" observer. | |
1184 | * annotate.h (annotate_breakpoints_changed): Delete declaration. | |
1185 | * breakpoint.c (set_breakpoint_condition) | |
1186 | (breakpoint_set_commands, do_map_commands_command) | |
1187 | (init_raw_breakpoint, clear_command, set_ignore_count) | |
1188 | (enable_breakpoint_disp): No longer call | |
1189 | annotate_breakpoints_changed. | |
1190 | ||
bd00c694 PA |
1191 | 2013-01-22 Pedro Alves <palves@redhat.com> |
1192 | ||
1193 | * annotate.c: Include "inferior.h". | |
1194 | (frames_invalid_emitted) | |
1195 | (breakpoints_invalid_emitted): New globals. | |
1196 | (async_background_execution_p): New function. | |
1197 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip | |
1198 | emitting the annotation if it has already been emitted. | |
1199 | (annotate_display_prompt): New function. | |
1200 | * annotate.h (annotate_display_prompt): New declaration. | |
1201 | * event-top.c: Include annotate.h. | |
1202 | (display_gdb_prompt): Call annotate_display_prompt. | |
1203 | ||
187d10dd PA |
1204 | 2013-01-22 Pedro Alves <palves@redhat.com> |
1205 | ||
1206 | * annotate.c (ignore_count_changed): Delete. | |
1207 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. | |
1208 | (annotate_ignore_count_change): Delete. | |
1209 | (annotate_stopped): Don't emit a delayed breakpoints-changed | |
1210 | annotation. | |
1211 | * annotate.h (annotate_ignore_count_change): Delete. | |
1212 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call | |
1213 | annotate_ignore_count_change. | |
1214 | ||
d84cf7eb TT |
1215 | 2013-01-22 Tom Tromey <tromey@redhat.com> |
1216 | ||
1217 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only | |
1218 | require_rvalue for a register location. | |
1219 | ||
8f1d5693 MK |
1220 | 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com> |
1221 | ||
1222 | * breakpoint.c (print_one_breakpoint_location): Add MI | |
1223 | field 'thread-groups' when printing a breakpoint. | |
1224 | (output_thread_groups): New function. | |
1225 | ||
aa6199c6 SCR |
1226 | 2013-01-21 Siva Chandra Reddy <sivachandra@google.com> |
1227 | ||
1228 | * python/lib/gdb/commands/explore.py | |
1229 | (CompoundExplorer.explore_expr): Correct the name of a method | |
1230 | being invoked. | |
1231 | (ExploreTypeCommand.invoke): Add a missing 'return'. | |
1232 | ||
d2afef13 TT |
1233 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1234 | ||
1235 | * gdb_obstack.h (obconcat): Move declaration here, from... | |
1236 | * symfile.h (obconcat): ... here. | |
1237 | * gdb_obstack.c: New file. | |
1238 | (obconcat): Move from... | |
1239 | * symfile.c (obconcat): ... here. | |
1240 | * Makefile.in (SFILES): Add gdb_obstack.c. | |
1241 | (COMMON_OBS): Add gdb_obstack.o. | |
1242 | ||
10f0c4bb TT |
1243 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1244 | ||
1245 | * symfile.h (obsavestring): Don't declare. | |
1246 | * symfile.c (obsavestring): Remove. | |
1247 | * ada-exp.y: Use obstack_copy0, not obsavestring. | |
1248 | * ada-lang.c: Use obstack_copy0, not obsavestring. | |
1249 | * coffread.c: Use obstack_copy0, not obsavestring. | |
1250 | * cp-namespace.c: Use obstack_copy0, not obsavestring. | |
1251 | * dbxread.c: Use obstack_copy0, not obsavestring. | |
1252 | * dwarf2read.c: Use obstack_copy0, not obsavestring. | |
1253 | * jit.c: Use obstack_copy0, not obsavestring. | |
1254 | * mdebugread.c: Use obstack_copy0, not obsavestring. | |
1255 | * psymtab.c: Use obstack_copy0, not obsavestring. | |
1256 | * stabsread.c: Use obstack_copy0, not obsavestring. | |
1257 | * xcoffread.c: Use obstack_copy0, not obsavestring. | |
1258 | ||
86f62fd7 TT |
1259 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1260 | ||
1261 | * dwarf2read.c (fixup_go_packaging): Save package name | |
1262 | on objfile obstack. | |
1263 | * gdbtypes.c (init_type): Don't copy name. | |
1264 | ||
15d034d0 TT |
1265 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1266 | ||
1267 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now | |
1268 | const. | |
1269 | (struct attribute) <u.str>: Now const. | |
1270 | (struct fnfieldlist) <name>: Now const. | |
1271 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. | |
1272 | (partial_die_parent_scope): Make return type const. | |
1273 | (partial_die_full_name, add_partial_symbol): Update. | |
1274 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make | |
1275 | 'name' const. | |
1276 | (find_file_and_directory): Make 'name' and 'comp_dir' const. | |
1277 | (read_file_scope, read_func_scope, dwarf2_add_field) | |
1278 | (dwarf2_add_member_fn, read_structure_type) | |
1279 | (process_enumeration_scope, read_array_type, read_module_type) | |
1280 | (read_base_type, read_subrange_type): Update. | |
1281 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. | |
1282 | (new_symbol_full, guess_full_die_structure_name): Update. | |
1283 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. | |
1284 | (dwarf2_name): Return const type. | |
1285 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' | |
1286 | const. | |
1287 | ||
748e18ae TT |
1288 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1289 | ||
1290 | * gdbtypes.c (init_type): Make 'name' const. | |
1291 | * gdbtypes.h (init_type): Update. | |
1292 | ||
46212e0b TT |
1293 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1294 | ||
1295 | * buildsym.c (patch_subfile_names): Use set_last_source_file. | |
1296 | (start_symtab): Make 'name' and 'dirname' const. Use | |
1297 | set_last_source_file. | |
1298 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. | |
1299 | (last_source_file): Define. Now static. | |
1300 | (set_last_source_file, get_last_source_file): New functions. | |
1301 | * buildsym.h (last_source_file): Don't declare. | |
1302 | (start_symtab): Update. | |
1303 | (set_last_source_file, get_last_source_file): Declare. | |
1304 | * coffread.c (complete_symtab): Use set_last_source_file. | |
1305 | (coff_end_symtab): Likewise. | |
1306 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. | |
1307 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use | |
1308 | set_last_source_file. | |
1309 | (process_one_symbol): Use get_last_source_file. | |
1310 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. | |
1311 | (psymtab_to_symtab_1): Use get_last_source_file. | |
1312 | * xcoffread.c (process_linenos): Use get_last_source_file. | |
1313 | (complete_symtab): Use set_last_source_file. | |
1314 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. | |
1315 | (scan_xcoff_symtab): Use set_last_source_file. | |
1316 | ||
9d2ceabe TT |
1317 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1318 | ||
1319 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. | |
1320 | (symbol_set_names): Remove casts. Handle field const-ness. | |
1321 | ||
cfc594ee TT |
1322 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1323 | ||
1324 | * dwarf2read.c (new_symbol_full): Remove cast. | |
1325 | * symtab.c (symbol_set_demangled_name): Make 'name' const. | |
1326 | * symtab.h (symbol_set_demangled_name): Update. | |
1327 | ||
5484b13a TT |
1328 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1329 | ||
1330 | * main.c (captured_main): Call bfd_init. | |
1331 | ||
1605ef26 TT |
1332 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
1333 | ||
1334 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. | |
1335 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. | |
1336 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. | |
1337 | * NEWS: Update. | |
1338 | ||
3b74cdc3 JK |
1339 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
1340 | ||
1341 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. | |
1342 | ||
5a352474 JK |
1343 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
1344 | ||
1345 | Fix gdb.fortran/common-block.exp crash in PIE mode. | |
1346 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use | |
1347 | LOC_COMMON_BLOCK. | |
1348 | * f-valprint.c (info_common_command_for_block): Expect | |
1349 | LOC_COMMON_BLOCK in gdb_assert. | |
1350 | * symtab.h (struct general_symbol_info): Update comment for the | |
1351 | common_block member. | |
1352 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. | |
1353 | (enum address_class): New member LOC_COMMON_BLOCK. | |
1354 | ||
c60797fd DB |
1355 | 2013-01-18 David Blaikie <dblaikie@gmail.com> |
1356 | ||
1357 | * MAINTAINERS (Write After Approval): Add "David Blaikie". | |
0cae7dfb | 1358 | |
46f35228 TT |
1359 | 2013-01-18 Tom Tromey <tromey@redhat.com> |
1360 | ||
1361 | PR c++/14999: | |
1362 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: | |
1363 | Call require_rvalue. | |
1364 | ||
257e7a09 YQ |
1365 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
1366 | ||
1367 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. | |
1368 | (dbx_read_symtab): New declaration. | |
1369 | (dbx_psymtab_to_symtab): Delete. | |
1370 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. | |
1371 | Rename parameter PST to SELF. Exchanged two parameters. | |
1372 | (start_psymtab): Caller update. | |
1373 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. | |
1374 | (dwarf2_read_symtab): New declaration. | |
1375 | (dwarf2_psymtab_to_symtab): Delete. | |
1376 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. | |
1377 | Rename parameter PST to SELF. Exchanged two parameters. | |
1378 | (create_partial_symtab): Caller update. | |
1379 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. | |
1380 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. | |
1381 | Rename parameter PST to SELF. Exchanged two parameters. | |
1382 | (parse_partial_symbols, new_psymtab): Caller update. | |
1383 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange | |
1384 | two parameters. | |
1385 | * psymtab.c (psymtab_to_symtab): Caller update. | |
1386 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. | |
1387 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. | |
1388 | Rename parameter PST to SELF. Exchanged two parameters. | |
1389 | (xcoff_start_psymtab): Caller update. | |
1390 | ||
0de5618e YQ |
1391 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
1392 | ||
1393 | * infrun.c (proceed): Rename local variable 'oneproc' to | |
1394 | 'force_step'. | |
1395 | ||
5c04624b DE |
1396 | 2013-01-17 Doug Evans <dje@google.com> |
1397 | ||
848e3e78 DE |
1398 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
1399 | (dw2_build_type_unit_groups): Delete. All uses updated. | |
1400 | ||
5c04624b DE |
1401 | * symtab.h (struct symbol_search): Add comment. |
1402 | ||
d84fca2c JK |
1403 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1404 | ||
1405 | * symtab.c (compare_filenames_for_search): New comment for | |
1406 | HAS_DRIVE_SPEC. | |
1407 | ||
6108433d TT |
1408 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
1409 | ||
1410 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. | |
1411 | ||
c89ffd86 JK |
1412 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1413 | ||
1414 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, | |
1415 | initialize it by existing make_cleanup. Call new do_cleanups. | |
1416 | ||
db2b2972 TT |
1417 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
1418 | ||
1419 | * cp-abi.c (cp_abi_completer): New function. | |
1420 | (_initialize_cp_abi): Set completer for "set cp-abi". | |
1421 | ||
be7d37a2 TT |
1422 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
1423 | ||
1424 | * mem-break.c: Remove obsolete comment. | |
1425 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. | |
1426 | ||
c9fb1240 SD |
1427 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
1428 | ||
1429 | * jit.c (jit_reader_load_command): Interpret the jit reader name | |
1430 | as an absolute path if it begins with a forward slash. | |
1431 | ||
db334a01 SD |
1432 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
1433 | ||
1434 | PR gdb/14550 | |
1435 | ||
1436 | * jit.c (finalize_symtab): Ensure that only the global block has a | |
1437 | NULL superblock. | |
1438 | ||
7d928dac PA |
1439 | 2013-01-17 Pedro Alves <palves@redhat.com> |
1440 | ||
1441 | * acinclude.m4: Include ../config/plugins.m4, | |
1442 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. | |
1443 | * Makefile.in (aclocal_m4_deps): Update. | |
1444 | * aclocal.m4: Renegerate. | |
1445 | ||
fb8cf7c5 DE |
1446 | 2013-01-16 Doug Evans <dje@google.com> |
1447 | ||
1448 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. | |
1449 | ||
ab04a2af TT |
1450 | 2013-01-16 Pedro Alves <palves@redhat.com> |
1451 | Tom Tromey <tromey@redhat.com> | |
1452 | ||
1453 | PR cli/7221: | |
1454 | * NEWS: Add "catch signal". | |
1455 | * breakpoint.c (base_breakpoint_ops): No longer static. | |
1456 | (bpstat_explains_signal): New function. | |
1457 | (init_catchpoint): No longer static. | |
1458 | (base_breakpoint_explains_signal): New function. | |
1459 | (base_breakpoint_ops): Initialize new field. | |
1460 | * breakpoint.h (enum bpstat_signal_value): New. | |
1461 | (struct breakpoint_ops) <explains_signal>: New field. | |
1462 | (bpstat_explains_signal): Remove macro, declare as function. | |
1463 | (base_breakpoint_ops, init_catchpoint): Declare. | |
1464 | * break-catch-sig.c: New file. | |
1465 | * inferior.h (signal_catch_update): Declare. | |
1466 | * infrun.c (signal_catch): New global. | |
1467 | (handle_syscall_event): Update for change to | |
1468 | bpstat_explains_signal. | |
1469 | (handle_inferior_event): Likewise. Always handle random signals | |
1470 | via bpstats. | |
1471 | (signal_cache_update): Check signal_catch. | |
1472 | (signal_catch_update): New function. | |
1473 | (_initialize_infrun): Initialize signal_catch. | |
1474 | * Makefile.in (SFILES): Add break-catch-sig.c. | |
1475 | (COMMON_OBS): Add break-catch-sig.o. | |
1476 | ||
8ac3646f TT |
1477 | 2013-01-16 Tom Tromey <tromey@redhat.com> |
1478 | ||
1479 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) | |
1480 | (print_one_catch_solib, print_one_catch_syscall) | |
1481 | (print_one_catch_exec, print_one_exception_catchpoint): Emit | |
1482 | "catch-type". | |
1483 | ||
5a18e302 YQ |
1484 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
1485 | ||
1486 | * printcmd.c (current_display_number): Make it static. | |
1487 | ||
3f01d0d0 YQ |
1488 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
1489 | ||
1490 | * infcmd.c (step_once): Don't check '!single_inst' as it was | |
1491 | checked before. | |
1492 | ||
1ed59174 JK |
1493 | 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
1494 | ||
1495 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. | |
1496 | ||
44478ab3 TT |
1497 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
1498 | ||
1499 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the | |
1500 | set command. | |
1501 | * command.h (add_setshow_string_noescape_cmd): Update. | |
1502 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. | |
1503 | (complete_set_gnutarget): New function. | |
1504 | (_initialize_core): Set the "set gnutarget" completer. | |
1505 | ||
06d66ee9 TT |
1506 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
1507 | ||
1508 | PR symtab/14442: | |
1509 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. | |
1510 | (c_type_print_modifier): Likewise. | |
1511 | * dwarf2read.c (read_tag_restrict_type): New function. | |
1512 | (read_type_die_1): Handle DW_TAG_restrict_type. | |
1513 | * gdbtypes.c (make_restrict_type): New function. | |
1514 | (recursive_dump_type): Handle TYPE_RESTRICT. | |
1515 | * gdbtypes.h (enum type_flag_values): Renumber. | |
1516 | (enum type_instance_flag_value): Add | |
1517 | TYPE_INSTANCE_FLAG_RESTRICT. | |
1518 | (TYPE_RESTRICT): New macro. | |
1519 | (make_restrict_type): Declare. | |
1520 | ||
c9bf0622 TT |
1521 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
1522 | ||
1523 | PR symtab/14931: | |
1524 | * psymtab.c (struct psymtab_state): New. | |
1525 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New | |
1526 | functions. | |
1527 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. | |
1528 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. | |
1529 | ||
44d594fd PA |
1530 | 2013-01-14 Richard Sharman <richard_sharman@mitel.com> |
1531 | Pedro Alves <palves@redhat.com> | |
1532 | ||
1533 | PR remote/14786 | |
1534 | ||
1535 | * remote.c (remote_threads_info): Make a copy of the reply from | |
1536 | qfThreadInfo and use that instead of rs->buf. | |
1537 | ||
442e4d9c YQ |
1538 | 2013-01-14 Yao Qi <yao@codesourcery.com> |
1539 | ||
1540 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. | |
1541 | (dbx_psymtab_to_symtab): Likewise. | |
1542 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. | |
1543 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. | |
1544 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. | |
1545 | ||
5b12a61c JK |
1546 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
1547 | ||
1548 | * parse.c (parse_exp_in_context): New variable inner_chain. Call | |
1549 | make_cleanup_restore_current_language. Call set_language. Move | |
1550 | OLD_CHAIN and INNER_CHAIN cleanups. | |
1551 | * utils.c (do_restore_current_language) | |
1552 | (make_cleanup_restore_current_language): New functions. | |
1553 | * utils.h (make_cleanup_restore_current_language): New declaration. | |
1554 | ||
f0a4b570 JK |
1555 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
1556 | ||
1557 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for | |
1558 | non-existing files. | |
1559 | ||
57b3c00c JK |
1560 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
1561 | non-existing files if FILENAME is already absolute. | |
1562 | ||
daefa854 JK |
1563 | 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
1564 | ||
1565 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of | |
1566 | fputs_filtered. Append trailing newline. | |
1567 | ||
ca9c6ee2 YQ |
1568 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
1569 | Stan Shebs <stan@codesourcery.com> | |
1570 | ||
1571 | * psymtab.c (init_psymbol_list): Clarify the comment. | |
1572 | ||
f28045c2 YQ |
1573 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
1574 | ||
1575 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. | |
1576 | (update_dprintf_command_list): Assert that 'printf_line' is | |
1577 | non-null. Remove condition check. | |
1578 | ||
da5132d3 JK |
1579 | 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
1580 | ||
1581 | Code cleanup. | |
1582 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return | |
1583 | type const char *. | |
1584 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname | |
1585 | const char *. | |
1586 | * tui/tui-source.h (tui_source_is_displayed): Likewise. | |
1587 | ||
843e694d AG |
1588 | 2013-01-09 Anthony Green <green@moxielogic.com> |
1589 | ||
1590 | * cp-abi.c (cplus_print_vtable): Don't return value from void | |
1591 | function. | |
1592 | * ada-lang.c (re_set_catch_assert): Ditto. | |
1593 | ||
da51c347 DE |
1594 | 2013-01-09 Doug Evans <dje@google.com> |
1595 | ||
1596 | * symfile.h (quick_symbol_functions): Delete member | |
1597 | pre_expand_symtabs_matching. All uses removed. | |
1598 | * dwarf2read.c (dw2_lookup_symbol): Implement. | |
1599 | (dw2_do_expand_symtabs_matching): Delete. | |
1600 | (dw2_pre_expand_symtabs_matching): Delete. | |
1601 | (struct dw2_symtab_iterator): New type. | |
1602 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. | |
1603 | (dw2_expand_symtabs_for_function): Rewrite. | |
1604 | (dwarf2_gdb_index_functions): Update. | |
1605 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. | |
1606 | (psym_functions): Update. | |
1607 | ||
b2259038 TT |
1608 | 2013-01-09 Tom Tromey <tromey@redhat.com> |
1609 | ||
1610 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. | |
1611 | * configure: Rebuild. | |
1612 | * configure.ac: Add somread.o to the build if BFD has SOM | |
1613 | support. | |
1614 | * somread.c: Include som/aout.h, not syms.h. | |
1615 | (som_symtab_read): Use som_external_symbol_dictionary_record. | |
1616 | Unpack records manually. | |
1617 | (_initialize_somread): Declare. | |
1618 | ||
bdad4180 MF |
1619 | 2012-01-08 Mike Frysinger <vapier@gentoo.org> |
1620 | ||
1621 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: | |
1622 | Cast return_address to 64bits. | |
1623 | ||
03cdf680 HZ |
1624 | 2013-01-08 Hui Zhu <hui_zhu@mentor.com> |
1625 | ||
1626 | * printcmd.c: Remove define of function output_command. | |
1627 | * tracepoint.c: Remove extern of function output_command. | |
1628 | * valprint.h: (output_command): New extern. | |
1629 | ||
8a808554 TT |
1630 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
1631 | ||
1632 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): | |
1633 | Remove. | |
1634 | (objc_language_defn): Use c_printchar, c_printstr, | |
1635 | c_emit_char. | |
1636 | ||
e93a8774 TT |
1637 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
1638 | ||
1639 | PR cli/7719: | |
1640 | * NEWS: Update. | |
1641 | * ada-valprint.c (printstr, print_field_values): Remove | |
1642 | "inspect_it" code. | |
1643 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" | |
1644 | code. | |
1645 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" | |
1646 | code. | |
1647 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. | |
1648 | * main.c (captured_main): Remove "epoch" argument. | |
1649 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. | |
1650 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. | |
1651 | * p-valprint.c (pascal_object_print_value_fields): Remove | |
1652 | "inspect_it" code. | |
1653 | * printcmd.c (print_command_1): Remove 'inspect' argument. | |
1654 | (print_command, call_command): Update. | |
1655 | (inspect_command): Remove. | |
1656 | (_initialize_printcmd): Make "inspect" an alias for "print". | |
1657 | * top.c (epoch_interface): Remove. | |
1658 | * top.h (epoch_interface): Remove. | |
1659 | * valprint.c (user_print_options): Update. | |
1660 | (print_converted_chars_to_obstack): Remove "inspect_it" code. | |
1661 | * valprint.h (struct value_print_options) <inspect_it>: Remove | |
1662 | field. | |
1663 | ||
1664 | 2013-01-04 Tom Tromey <tromey@redhat.com> | |
1665 | ||
1666 | * valprint.h (read_string): Add 'extern'. | |
1667 | ||
b967eb24 JB |
1668 | 2013-01-07 Joel Brobecker <brobecker@adacore.com> |
1669 | ||
1670 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test | |
1671 | used to decide whether to define darwin_read_dyld_info or not. | |
1672 | ||
78a8b30e PM |
1673 | 2013-01-03 Pierre Muller <muller@sourceware.org> |
1674 | ||
1675 | * main.c (relocate_gdb_directory): Avoid calling stat function | |
1676 | if DIR is empty. | |
1677 | ||
50da2f25 YQ |
1678 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
1679 | ||
1680 | * psymtab.c (fixup_psymbol_section): Update declaration. | |
1681 | (fixup_psymbol_section): Remove code returning value. | |
1682 | ||
e7e8980f YQ |
1683 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
1684 | ||
1685 | * symtab.h: Remove some out of date comments. | |
1686 | (enum exception_event_kind): Move it ... | |
1687 | * breakpoint.c: ... here. | |
1688 | ||
569283d4 MF |
1689 | 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk> |
1690 | ||
9f9d9a96 | 1691 | PR gdb/14405 |
569283d4 MF |
1692 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
1693 | TASK_DYLD_INFO_COUNT is defined. | |
1694 | (darwin_xfer_partial): Call darwin_read_dyld_info only if | |
1695 | TASK_DYLD_INFO_COUNT is defined. | |
1696 | ||
2e36fbea TT |
1697 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
1698 | ||
1699 | * symfile.h (struct ecoff_debug_hack): Remove. | |
1700 | * objfiles.c: Don't include mdebugread.h. | |
1701 | ||
4f05add4 TT |
1702 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
1703 | ||
1704 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. | |
1705 | * configure.ac: Check for Mach-O support in BFD. Update | |
1706 | CONFIG_OBS. | |
1707 | * configure: Rebuild. | |
1708 | ||
def63ff0 TT |
1709 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
1710 | ||
1711 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. | |
1712 | * configure.ac: Use GDB_AC_CHECK_BFD. | |
1713 | * configure: Rebuild. | |
1714 | ||
60c5dd93 MK |
1715 | 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com> |
1716 | ||
1717 | * MAINTAINERS: Update my email. | |
1718 | ||
6e58437e JB |
1719 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
1720 | ||
1721 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. | |
1722 | ||
627fe805 JB |
1723 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
1724 | ||
1725 | * rs6000-nat.c (bss_data_overlap): New function. | |
1726 | (vmap_symtab): Use it to adjust the .bss section's offset. | |
1727 | ||
28e7fd62 JB |
1728 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
1729 | ||
1730 | Update year range in copyright notice of all files. | |
1731 | ||
e93a8774 | 1732 | 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com> |
b9786c74 JB |
1733 | |
1734 | * top.c (print_gdb_version): Update copyright year. | |
1735 | ||
72b20e9c | 1736 | For older changes see ChangeLog-2012. |
c906108c SS |
1737 | \f |
1738 | Local Variables: | |
1739 | mode: change-log | |
1740 | left-margin: 8 | |
1741 | fill-column: 74 | |
1742 | version-control: never | |
57da7796 | 1743 | coding: utf-8 |
c906108c | 1744 | End: |