Commit | Line | Data |
---|---|---|
686a5eed KS |
1 | 2008-03-03 Keith Seitz <keiths@redhat.com> |
2 | ||
3 | From Dave Murphy <davem@devkitpro.org>: | |
4 | * configure.ac: Set tcl configdir to win under mingw. | |
5 | * configure: Regenerate. | |
6 | ||
fa4727a6 DJ |
7 | 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com> |
8 | ||
9 | * breakpoint.c (fetch_watchpoint_value): New function. | |
10 | (update_watchpoint): Set and clear val_valid. Use | |
11 | fetch_watchpoint_value. Handle unreadable values on the | |
12 | value chain. Correct check for user-requested array watchpoints. | |
13 | (breakpoint_init_inferior): Clear val_valid. | |
14 | (watchpoint_value_print): New function. | |
15 | (print_it_typical): Use it. Do not free or clear old_val. Print | |
16 | watchpoints even if old_val == NULL. | |
17 | (watchpoint_check): Use fetch_watchpoint_value. Check for values | |
18 | becoming readable or unreadable. | |
19 | (watch_command_1): Use fetch_watchpoint_value. Set val_valid. | |
20 | (do_enable_watchpoint): Likewise. | |
21 | * breakpoint.h (struct breakpoint): Update comment for val. Add | |
22 | val_valid. | |
23 | * NEWS: Mention watchpoints on inaccessible memory. | |
24 | ||
c03374d5 DJ |
25 | 2007-02-29 Daniel Jacobowitz <dan@codesourcery.com> |
26 | ||
27 | * Makefile.in (i386-nat.o): Update. | |
28 | * amd64-linux-nat.c (_initialize_amd64_linux_nat): Call | |
29 | i386_use_watchpoints. | |
30 | * i386-linux-nat.c (_initialize_i386_linux_nat): Call | |
31 | i386_use_watchpoints. | |
32 | * i386-nat.c (i386_stopped_data_address): Take two arguments. | |
33 | (i386_stopped_by_watchpoint): Update call. | |
34 | (i386_can_use_hw_breakpoint, i386_use_watchpoints): New. | |
35 | * config/i386/nm-i386.h: Conditionalize definitions on | |
36 | ! I386_WATCHPOINTS_IN_TARGET_VECTOR. | |
37 | (i386_use_watchpoints): Declare. | |
38 | (i386_stopped_data_address): Update. | |
39 | * config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. | |
40 | * config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. | |
41 | ||
c24d7425 | 42 | 2008-02-29 Joel Brobecker <brobecker@adacore.com> |
43 | ||
44 | GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC) | |
45 | * version.in: Bump version to 6.8.50.20080229-cvs. | |
46 | ||
a7dfd010 MD |
47 | 2008-02-28 Markus Deuling <deuling@de.ibm.com> |
48 | ||
49 | * f-typeprint.c (f_print_type): Handle NULL pointer in VARSTRING | |
50 | properly. | |
51 | ||
258c00cc TT |
52 | 2008-02-28 Tom Tromey <tromey@redhat.com> |
53 | ||
54 | * infcmd.c (notice_args_read): Print result of get_inferior_args. | |
55 | ||
8edfe269 DJ |
56 | 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
57 | ||
58 | * infcmd.c (kill_if_already_running): Make static. Use | |
59 | target_require_runnable. | |
60 | * target.c (target_require_runnable): New. | |
61 | * target.h (target_require_runnable): Declare. | |
62 | ||
0d6ba1b1 DJ |
63 | 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
64 | ||
65 | * frame.c (reinit_frame_cache): Only annotate if frames were | |
66 | previously valid. | |
67 | ||
6fe305f7 UW |
68 | 2008-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
69 | ||
70 | * regformats/reg-ppc.dat: Rename "ps" to "msr". | |
71 | * regformats/reg-ppc64.dat: Likewise. | |
72 | ||
9b4b61c8 UW |
73 | 2008-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
74 | ||
75 | * features/Makefile (%.dat): Emit xmltarget statement. | |
76 | ||
77 | * regformats/regdat.sh: Support xmltarget and xmlarch statments. | |
78 | Generate code to set gdbserver_xmltarget in init_registers_${name}. | |
79 | ||
80 | * regformats/arm-with-iwmmxt.dat: Regenerate. | |
81 | * regformats/mips64-linux.dat: Regenerate. | |
82 | * regformats/mips-linux.dat: Regenerate. | |
83 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
84 | * regformats/rs6000/powerpc-64.dat: Regenerate. | |
85 | * regformats/rs6000/powerpc-e500.dat: Regenerate. | |
86 | ||
87 | * regformats/reg-arm.dat: Add xmlarch statement. | |
88 | * regformats/reg-i386.dat: Likewise. | |
89 | * regformats/reg-i386-linux.dat: Likewise. | |
90 | * regformats/reg-x86-64-linux.dat: Likewise. | |
91 | * regformats/reg-spu.dat: Likewise. | |
92 | ||
20b4711e DJ |
93 | 2008-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
94 | ||
95 | * remote.c (remote_wait, remote_async_wait): Stop if we receive | |
96 | an error. | |
97 | ||
1843f87b DJ |
98 | 2008-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
99 | ||
100 | * utils.c (debug_timestamp): New. | |
101 | (vfprintf_unfiltered): Print timestamps if requested. | |
102 | (show_debug_timestamp): New. | |
103 | (initialize_utils): Register "set debug timestamp". | |
104 | * NEWS: Mention "set debug timestamp". Add GDB 6.8 section. | |
105 | ||
6a048695 JB |
106 | 2008-02-27 Joel Brobecker <brobecker@adacore.com> |
107 | ||
108 | * breakpoint.c (skip_prologue_sal): New function. | |
109 | (resolve_sal_pc): Adjust SAL past prologue if the SAL was | |
110 | computed from a line number. | |
111 | ||
0b998f49 JB |
112 | 2008-02-27 Joel Brobecker <brobecker@adacore.com> |
113 | ||
114 | * features/rs6000/power-core.xml, features/rs6000/power64-core.xml | |
115 | features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: | |
116 | Set PC register type to "code_ptr". | |
117 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
118 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
119 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
120 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
121 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
122 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
123 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: | |
124 | Regenerate. | |
125 | ||
d05b4ac3 UW |
126 | 2008-02-27 Ulrich Weigand <uweigand@de.ibm.com> |
127 | ||
128 | * regformats/regdat.sh: Rename init_registers function in | |
129 | generated file to init_registers_${name}. | |
130 | ||
131 | * regformats/reg-crisv32.dat: Set "name" to crisv32. | |
132 | * regformats/reg-ppc64.dat: Set "name" to ppc64. | |
133 | * regformats/reg-s390x.dat: Set "name" to s390x. | |
134 | ||
a5d9d57d DJ |
135 | 2008-02-26 Greg Law <glaw@undo-software.com> |
136 | ||
137 | * regcache.c (registers_changed): Call reinit_frame_cache. | |
138 | ||
e25c958c DJ |
139 | 2008-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
140 | ||
141 | * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o. | |
142 | * sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver | |
143 | and svr4_fetch_objfile_link_map. | |
144 | * Makefile.in (sh-linux-tdep.o): Update. | |
145 | ||
5daa78cc TJB |
146 | 2008-02-26 Thiago Jung Bauermann <bauerman@br.ibm.com> |
147 | ||
148 | * amd64-tdep.c (amd64_classify): Add support for decimal float | |
149 | types. | |
150 | * i386-tdep.c (i386_return_value): Make 128-bit decimal float | |
151 | use the struct return convention. | |
152 | ||
54e52265 VP |
153 | 2008-02-26 Nick Roberts <nickrob@snap.net.nz> |
154 | ||
155 | * breakpoint.c (print_one_breakpoint_location): Revert Enb field | |
156 | to old format. Discard breakpoint address if shared library is | |
157 | unloaded. | |
158 | (breakpoint_1): Adjust formatting of table header accordingly. | |
159 | ||
d8f2712d VP |
160 | 2008-02-25 Vladimir Prus <vladimir@codesourcery.com> |
161 | ||
162 | * remote.c (remote_get_threadlist): If the response | |
163 | is empty, don't try to parse it. | |
164 | ||
05ce04a4 VP |
165 | 2008-02-23 Vladimir Prus <vladimir@codesourcery.com> |
166 | ||
167 | Unbreak 'target async'. | |
168 | * serial.c (serial_async): Set the | |
169 | handler function before enabling async | |
170 | mode. | |
171 | ||
b36ec657 DJ |
172 | 2008-02-22 Daniel Jacobowitz <dan@codesourcery.com> |
173 | ||
174 | * solib-svr4.c (enable_break): Convert r_brk to a code address. | |
175 | ||
df7df359 PA |
176 | 2008-02-21 Pedro Alves <pedro@codesourcery.com> |
177 | ||
178 | * remote.c (extended_remote_attach_1): Set attach_flag. | |
179 | (extended_remote_create_inferior_1): Clear attach_flag. | |
180 | ||
7cd25cfc DJ |
181 | 2008-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
182 | ||
183 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set | |
184 | r_brk_offset. | |
185 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
186 | * solib-svr4.c (solib_svr4_r_brk): New. | |
187 | (open_symbol_file_object, svr4_current_sos): Always check the | |
188 | debug base. | |
189 | (svr4_fetch_objfile_link_map): Do not set debug_base. | |
190 | (enable_break): Use r_brk if it is set. | |
191 | (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset. | |
192 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
193 | * solib-svr4.h (struct link_map_offsets): Add r_brk_offset. | |
194 | ||
07ea644b MD |
195 | 2008-02-20 Markus Deuling <deuling@de.ibm.com> |
196 | Mark Kettenis <kettenis@gnu.org> | |
197 | ||
198 | * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by | |
199 | trad_frame_saved_reg. | |
200 | (trad-frame.h): New include. | |
201 | ||
202 | (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs | |
203 | instead of frame_obstack_zalloc. | |
204 | (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register. | |
205 | ||
206 | * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h. | |
207 | ||
40887e1a MD |
208 | 2008-02-20 Markus Deuling <deuling@de.ibm.com> |
209 | ||
210 | * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess | |
211 | from disassemble_info instead of gdbarch_byte_order. | |
212 | ||
213 | * mips-tdep.c (gdb_print_insn_mips): Likewise. | |
214 | * arm-tdep.c (gdb_print_insn_arm): Likewise. | |
215 | ||
ae4b2284 MD |
216 | 2008-02-20 Markus Deuling <deuling@de.ibm.com> |
217 | ||
218 | * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add | |
219 | gdbarch as parameter. | |
220 | ||
221 | * gdbarch.{c,h}: Regenerate. | |
222 | ||
223 | * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as | |
224 | parameter. | |
225 | * mem-break.c (default_memory_insert_breakpoint) | |
226 | (default_memory_remove_breakpoint): Likewise. | |
227 | * target.h (default_memory_remove_breakpoint) | |
228 | (default_memory_insert_breakpoint): Likewise. | |
229 | ||
230 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as | |
231 | parameter. Replace current_gdbarch by gdbarch. | |
232 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
233 | (m32r_memory_remove_breakpoint): Likewise. | |
234 | ||
d9bf65d5 DJ |
235 | 2008-02-19 Daniel Jacobowitz <dan@codesourcery.com> |
236 | ||
237 | * MAINTAINERS: Add Vladimir Prus as MI maintainer. | |
238 | ||
b93b6ca7 JB |
239 | 2008-02-19 Joel Brobecker <brobecker@adacore.com> |
240 | ||
241 | * NEWS: Add entry describing Add support improvements. | |
242 | ||
4ed226fe MD |
243 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
244 | ||
245 | * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by | |
246 | M68K_FP0_REGNUM. | |
247 | ||
caaa79ad MD |
248 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
249 | ||
250 | * sentinel-frame.c (sentinel_frame_prev_register): Do not call | |
251 | register_offset_hack anymore. | |
252 | ||
253 | * regcache.{c,h} (register_offset_hack): Remove. | |
254 | ||
e38c262f MD |
255 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
256 | ||
257 | * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter. | |
258 | ||
259 | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace | |
260 | current_gdbarch by gdbarch. | |
261 | (hppa64_hpux_find_global_pointer): Likewise. | |
262 | * hppa-tdep.c (hppa_find_global_pointer): Likewise. | |
263 | (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for | |
264 | find_global_pointer. | |
265 | ||
266 | * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as | |
267 | parameter. | |
268 | * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. | |
269 | ||
270 | * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead | |
271 | of gdbarch_num_regs. | |
272 | ||
273 | * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and | |
274 | replace current_gdbarch by gdbarch. | |
275 | (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr. | |
276 | ||
206988c4 MD |
277 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
278 | ||
279 | * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter | |
280 | and replace current_gdbarch by gdbarch. | |
281 | ||
282 | (store_register): Update call for exec_one_dummy_insn. | |
283 | (fetch_register, store_register): Update call of regmap. | |
284 | ||
285 | * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as | |
286 | parameter and replace current_gdbarch by gdbarch. | |
287 | ||
288 | (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at | |
289 | the current architecture. Update call for getregs_supplies and | |
290 | getfpregs_supplies. | |
291 | (ppcnbsd_fetch_inferior_registers): Likewise. | |
292 | ||
293 | * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and | |
294 | replace current_gdbarch by gdbarch. | |
295 | (ppcobsd_fetch_registers, ppcobsd_store_registers): Use | |
296 | get_regcache_arch to get at the current architecture. Update call for | |
297 | getfpregs_supplies. | |
298 | ||
f642be6b MD |
299 | 2008-02-18 Markus Deuling <deuling@de.ibm.com> |
300 | ||
301 | * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch | |
302 | variables. | |
303 | ||
b1f2bf01 MD |
304 | 2008-02-15 Markus Deuling <deuling@de.ibm.com> |
305 | ||
306 | * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error. | |
307 | ||
ee163bf5 VP |
308 | 2008-02-14 Vladimir Prus <vladimir@codesourcery.com> |
309 | ||
310 | * NEWS: Mention pending breakpints in MI. | |
311 | ||
f6fbcbf9 MD |
312 | 2008-02-14 Markus Deuling <deuling@de.ibm.com> |
313 | ||
314 | * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o. | |
315 | ||
36af4ef6 MD |
316 | 2008-02-13 Markus Deuling <deuling@de.ibm.com> |
317 | ||
318 | Add script to build and test GDB using enable-targets=all. | |
319 | ||
320 | * gdb_buildall.sh: New file. | |
321 | ||
94a0e877 MG |
322 | 2008-02-11 Maxim Grigoriev <maxim2405@gmail.com> |
323 | ||
324 | * NEWS (New native configurations): Xtensa GNU/Linux. | |
325 | (New targets): Xtensa GNU/Linux. | |
326 | * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and | |
327 | xtensa-linux-tdep.o | |
328 | (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c | |
329 | (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies. | |
330 | * configure.tgt (xtensa*-*-linux*): New entry. | |
331 | * xtensa-config.c (xtensa_tdep): New variable. | |
332 | (xtensa_config_byte_order, xtensa_config_tdep): Removed. | |
333 | (rmap): Change format based on new macro XTREG. | |
334 | (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h. | |
335 | * xtensa-linux-nat.c: New. | |
336 | * xtensa-linux-tdep.c: New. | |
337 | * xtensa-xtregs.c: New. | |
338 | * xtensa-tdep.h (xtensa_elf_gregset_t): Update. | |
339 | (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE) | |
340 | (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros. | |
341 | (xtensa_register_t): New field coprocessor. | |
342 | (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected. | |
343 | * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed. | |
344 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write): | |
345 | Update to handle privileged registers. | |
346 | (xtensa_supply_gregset) Remove exccause and excvaddr registers. | |
347 | (xtensa_push_dummy_call): Set windowstart register correctly. | |
348 | (call0_analyze_prologue): Initialize xtensa_default_isa. | |
349 | (xtensa_derive_tdep): New. | |
350 | (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and | |
351 | xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead. | |
352 | Call xtensa_derive_tdep(). | |
353 | * config/xtensa/linux.mh: New. | |
354 | * regformats/reg-xtensa.dat: New. | |
355 | ||
b7ee1b0a | 356 | 2008-02-09 Aleksandar Ristovski <aristovski@qnx.com> (tiny change) |
f90c07ac EZ |
357 | |
358 | * corelow.c (core_open): Use IS_ABSOLUTE_PATH. | |
359 | (filenames.h): New include. | |
360 | * Makefile.in (corelow.o): Add dependency for filenames.h. | |
361 | ||
8da2a1df DJ |
362 | 2008-02-08 Doug Evans <dje@google.com> |
363 | ||
364 | * source.c (find_and_open_source): Always rewrite absolute filenames. | |
365 | ||
776592bf DE |
366 | 2008-02-07 Doug Evans <dje@google.com> |
367 | ||
368 | * breakpoint.c: #include "hashtab.h". | |
369 | (ambiguous_names_p): New fn. | |
370 | (update_breakpoint_locations): When restoring bp enable status, don't | |
371 | compare function names if any functions have same name. | |
372 | * Makefile.in (breakpoint.o): Add hashtab.h dependency. | |
373 | ||
d6565258 JB |
374 | 2008-02-07 Joel Brobecker <brobecker@adacore.com> |
375 | ||
376 | * ada-lang.c (symbol_completion_add): Make SV parameter a VEC** | |
377 | instead of just a VEC*. Update use of SV. | |
378 | (ada_make_symbol_completion_list): Update symbol_completion_add calls. | |
379 | ||
6d53d0af JB |
380 | 2007-02-07 Joel Brobecker <brobecker@adacore.com> |
381 | ||
382 | * NEWS: Put all new commands since gdb-6.7 together. | |
383 | ||
2ba95b9b JB |
384 | 2007-02-07 Joel Brobecker <brobecker@adacore.com> |
385 | ||
386 | * ada-lang.c: #include "vec.h". | |
387 | (struct string_vector, new_string_vector, string_vector_append): | |
388 | Delete. | |
389 | (char_ptr): New typedef. | |
390 | (DEF_VEC_P (char_ptr)): New VEC type. | |
391 | (symbol_completion_add): Update profile to take the new VEC type | |
392 | instead of the old string_vector structure. Update code accordingly. | |
393 | (ada_make_symbol_completion_list): Use the new VEC type instead of | |
394 | the old string_vector structure, and update the code accordingly. | |
395 | * Makefile.in (ada-lang.o): Add dependency on vec.h. | |
396 | ||
4ae0885a PM |
397 | 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr> |
398 | ||
399 | * p-exp.y: Set current_type in missing places. | |
400 | (leftdiv_is_integer): New static variable. | |
401 | Typecast right operand of BINOP_DIV to long_double if both operands | |
402 | are integers. | |
403 | ||
06b1d59c MR |
404 | 2008-02-06 Maciej W. Rozycki <macro@mips.com> |
405 | ||
406 | * remote-mips.c (set_breakpoint): Rename to... | |
407 | (mips_set_breakpoint): ... this. | |
408 | (clear_breakpoint): Rename to... | |
409 | (mips_clear_breakpoint): ... this. | |
410 | (common_breakpoint): Rename to... | |
411 | (mips_common_breakpoint): ... this. | |
412 | (check_lsi_error): Rename to... | |
413 | (mips_check_lsi_error): ... this. | |
414 | ||
41d27058 JB |
415 | 2007-02-05 Joel Brobecker <brobecker@adacore.com> |
416 | ||
417 | * language.h (struct language_defn): Add new field | |
418 | la_make_symbol_completion_list. | |
419 | * symtab.c (default_make_symbol_completion_list): Renames | |
420 | make_symbol_completion_list. | |
421 | (make_symbol_completion_list): New function. | |
422 | * symtab.h (default_make_symbol_completion_list): Add declaration. | |
423 | * langauge.c (unknown_language): Set la_make_symbol_completion_list. | |
424 | (auto_language, local_language): Likewise. | |
425 | * objc-lang.c (objc_language_defn): Likewise. | |
426 | * scm-lang.c (scm_language_defn): Likewise. | |
427 | * m2-lang.c (m2_language_defn): Likewise. | |
428 | * f-lang.c (f_language_defn): Likewise. | |
429 | * jv-lang.c (java_language_defn): Likewise. | |
430 | * p-lang.c (pascal_language_defn): Likewise. | |
431 | * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn) | |
432 | (minimal_language_defn): Likewise. | |
433 | * ada-lang.c (struct string_vector): New structure. | |
434 | (new_string_vector, string_vector_append, ada_unqualified_name) | |
435 | (add_angle_brackets, symbol_completion_match, symbol_completion_add) | |
436 | (ada_make_symbol_completion_list): New functions. | |
437 | (ada_language_defn): Set la_make_symbol_completion_list. | |
438 | * ada-lang.h (ada_make_symbol_completion_list): Remove declaration, | |
439 | this function is static. | |
440 | ||
ee3a2f01 KB |
441 | 2008-02-05 Kevin Buettner <kevinb@redhat.com> |
442 | ||
443 | * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer | |
444 | to account for call site optimizations. | |
445 | ||
d844e34b JB |
446 | 2008-02-05 Andrzej Zaborowski <balrogg@gmail.com> |
447 | ||
448 | * tracepoint.c (read_actions): Handle end-of-text indicator | |
449 | in action list properly. (Committed by Jim Blandy) | |
450 | ||
02e4669d JB |
451 | 2008-02-05 Jim Blandy <jimb@red-bean.com> |
452 | ||
453 | * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a | |
454 | pseudoregister, not an internal error. | |
85ecb32b | 455 | Reported by: Andrzej Zaborowski |
02e4669d | 456 | |
c39c8256 VP |
457 | 2008-02-04 Vladimir Prus <vladimir@codesourcery.com> |
458 | ||
459 | * varobj.c (c_value_of_variable): Use xstrdup. | |
460 | ||
ae7d22a6 VP |
461 | 2008-02-04 Vladimir Prus <vladimir@codesourcery.com> |
462 | ||
463 | Update stored rendition of varobj value when format changes. | |
464 | * varobj.c (varobj_set_display_format): Recomputed | |
465 | print_value. | |
466 | (c_value_of_variable): Return print_value. | |
467 | ||
81fe8080 DE |
468 | 2008-02-03 Doug Evans <dje@google.com> |
469 | ||
301f0ecf DE |
470 | * eval.c (evaluate_subexp_standard): Fix type of result of mixed |
471 | integer/float division operations when EVAL_AVOID_SIDE_EFFECTS. | |
472 | * valops.c (value_one): New function. | |
473 | * value.h (value_one): Declare. | |
474 | ||
475 | Fix argument promotion for binary arithmetic ops for C. | |
476 | * valarith.c (unop_result_type): New fn. | |
477 | (binop_result_type): New fn. | |
478 | (value_binop): Move result type computation to binop_result_type. | |
479 | (value_pos, value_neg, value_complement): Move result type | |
480 | computation to unop_result_type. | |
481 | ||
81fe8080 DE |
482 | PR 2384 |
483 | * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. | |
484 | Return basetype, fieldno if found. All callers updated. | |
485 | Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different | |
486 | objfile. | |
487 | * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. | |
488 | * symfile.h (fill_in_vptr_fieldno): Delete. | |
489 | ||
41808ebe DE |
490 | 2008-02-02 Doug Evans <dje@google.com> |
491 | ||
f8597ac3 DE |
492 | * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero. |
493 | ||
41808ebe DE |
494 | * typeprint.c (*): Whitespace cleanup. |
495 | ||
f964a756 MK |
496 | 2008-02-02 Mark Kettenis <kettenis@gnu.org> |
497 | Luis Machado <luisgpm@br.ibm.com> | |
498 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
499 | ||
500 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that | |
501 | don't fit into registerson the stack the way GCC does. | |
502 | ||
b06ead72 JB |
503 | 2008-02-01 Joel Brobecker <brobecker@adacore.com> |
504 | ||
505 | * symtab.c (symbol_set_names): Do not add an entry in the demangling | |
506 | hash table for Ada symbols. Just store the linkage name as is, | |
507 | and leave the demangled_name as NULL. | |
508 | ||
2cfa0c8d JB |
509 | 2007-02-01 Joel Brobecker <brobecker@adacore.com> |
510 | ||
511 | * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms | |
512 | in the global scope. | |
513 | (new_symbol): Likewise. | |
514 | ||
98deb0da VP |
515 | 2008-02-01 Vladimir Prus <vladimir@codesourcery.com> |
516 | ||
517 | * breakpoint.c (break_command_1): Return void. | |
518 | (break_command_really): Return void. Rethrow | |
519 | exceptions instead of returning. | |
520 | (gdb_breakpoint): Remove the error_message parameter. | |
521 | Return void. Rename to set_breakpoint. | |
522 | * gdb.h (gdb_breakpoint): Rename and move to... | |
523 | * breakpoint.h (set_breakpoint): ...here. | |
524 | * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore | |
525 | event hooks even if exception is thrown. Adjust to | |
526 | gdb_breakpoint interface changes. | |
527 | ||
528 | ||
ce0451ad TJB |
529 | 2008-02-01 Thiago Jung Bauermann <bauerman@br.ibm.com> |
530 | ||
531 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit | |
532 | float in both first and second word in the doubleword, to support | |
533 | old and new ABIs. | |
534 | ||
723a2275 VP |
535 | 2008-02-01 Vladimir Prus <vladimir@codesourcery.com> |
536 | ||
537 | Properly rethrow exception. This fixes errors | |
538 | about non-existent functions for -break-insert. | |
539 | * breakpoint.c (break_command_really): Use throw_exception | |
540 | for rethrowing. If rethrowing, don't print the exception. | |
541 | ||
d64a946d TJB |
542 | 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
543 | ||
544 | * NEWS: Mention Decimal Floating Point support. | |
545 | ||
02b156f5 JB |
546 | 2008-01-31 Joel Brobecker <brobecker@adacore.com> |
547 | ||
548 | * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned | |
549 | value type to builtin_type_void_func_ptr. | |
550 | ||
a16b8bcd UW |
551 | 2008-01-31 Andreas Krebbel <krebbel1@de.ibm.com> |
552 | ||
553 | * s390-tdep.c (is_float_singleton, is_float_like, | |
554 | alignment_of, s390_return_value): Make checks for | |
555 | TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well. | |
556 | ||
f949c649 TJB |
557 | 2008-01-31 Luis Machado <luisgpm@br.ibm.com> |
558 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
559 | ||
560 | * infcmd.c (default_print_registers_info): Also print hex | |
561 | raw contents for TYPE_CODE_DECFLOAT registers. | |
562 | * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member. | |
563 | * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro. | |
564 | (rs6000_register_name): Add support for DFP pseudo-registers. | |
565 | (rs6000_pseudo_register_type): Likewise. | |
566 | rs6000_pseudo_register_reggroup_p): Likewise. | |
567 | (ppc_pseudo_register_read): New function. | |
568 | (ppc_pseudo_register_write): Likewise. | |
569 | (rs6000_pseudo_register_read): Likewise. | |
570 | (rs6000_pseudo_register_write): Likewise. | |
571 | (e500_pseudo_register_read): Move checks to | |
572 | rs6000_pseudo_register_read. | |
573 | (e500_pseudo_register_write): Move checks to | |
574 | rs6000_pseudo_register_write. | |
575 | (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install | |
576 | rs6000_pseudo_register_read and rs6000_pseudo_register_write | |
577 | in gdbarch if SPE or DFP is available. Adjust gdbarch's | |
578 | num_pseudo_regs to account for DFP pseudo regs. | |
579 | ||
5a9e69ba TJB |
580 | 2008-01-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
581 | ||
582 | * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member. | |
583 | * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro. | |
584 | (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type, | |
585 | rs6000_pseudo_register_reggroup_p, e500_move_ev_register, | |
586 | e500_pseudo_register_read, e500_pseudo_register_write): Use | |
587 | IS_SPE_PSEUDOREG macro. | |
588 | (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum. | |
589 | (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable. | |
590 | Remove initialization of tdep->ppc_ev31_regnum. | |
591 | ||
4e885b20 JB |
592 | 2008-01-08 Paul Hilfinger <hilfinger@adacore.com> |
593 | ||
594 | * printcmd.c (print_formatted): Handle references as for unformatted | |
595 | prints. | |
596 | ||
80f064a2 JB |
597 | 2008-01-30 Joel Brobecker <brobecker@adacore.com> |
598 | ||
599 | * eval.c (evaluate_subexp_standard): Add handling of user | |
600 | registers when in EVAL_AVOID_SIDE_EFFECTS mode. | |
601 | ||
9b3442ee PM |
602 | 2008-01-30 Pierre Muller <muller@ics.u-strasbg.fr> |
603 | ||
604 | * eval.c (evaluate_subexp_standard): Support | |
605 | BINOP_INTDIV opcode. | |
606 | ||
d118ef87 PH |
607 | 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com> |
608 | ||
609 | * valarith.c (value_binop): Add floating-point BINOP_MIN and | |
610 | BINOP_MAX cases. | |
611 | For BINOP_EXP, use length and signedness of left operand only for | |
612 | result, as for shifts. | |
613 | For integral operands to BINOP_EXP, use new integer_pow and | |
614 | uinteger_pow functions so as to get full range of results. | |
615 | (integer_pow): New function. | |
616 | (uinteger_pow): New function. | |
617 | ||
d56d46f5 VP |
618 | 2008-01-30 Vladimir Prus <vladimir@codesourcery.com> |
619 | ||
620 | Use vector for varobj_list_children interface. | |
621 | * gdb/varobj.c (varobj_list_children): Return vector | |
622 | of varobjs. | |
623 | * gdb/varobj.h (varobj_list_children): Adjust | |
624 | prototype. | |
625 | (varobj_p): Declare. Declare vector thereof. | |
626 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust | |
627 | for varobj_list_children change. | |
628 | * Makefile.in (varobj_h): Update dependencies. | |
629 | ||
1300a2f4 TJB |
630 | 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com> |
631 | ||
632 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for | |
633 | TYPE_CODE_DECFLOAT arguments. | |
634 | (ppc64_sysv_abi_push_dummy_call) Likewise. | |
635 | (get_decimal_float_return_value): New function. | |
636 | (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return | |
637 | values by calling get_decimal_float_return_value. | |
638 | (ppc64_sysv_abi_return_value): Likewise. | |
639 | ||
95ef687d NR |
640 | 2008-01-30 Nick Roberts <nickrob@snap.net.nz> |
641 | ||
642 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field | |
643 | for preprocessor macro information. Formatting changes. | |
644 | ||
2d717e4f DJ |
645 | 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
646 | ||
647 | * remote.c (struct remote_state): Add cached_wait_status. | |
648 | (remote_exec_file): New variable. | |
649 | (PACKET_vAttach, PACKET_vRun): New constants. | |
650 | (extended_remote_restart): Do not query for status. | |
651 | (struct start_remote_args): New. | |
652 | (remote_start_remote): Take it as a second argument. Check | |
653 | whether the target is running. Issue an error for non-running | |
654 | non-extended targets. Cache the wait status. Set inferior_ptid | |
655 | here. | |
656 | (remote_open_1): Prompt to disconnect non-running targets. Make | |
657 | sure the target is marked running. Do not set inferior_ptid here. | |
658 | Update call to remote_start_remote. Do not call remote_check_symbols | |
659 | if the target is not running. | |
660 | (remote_detach_1): Rename from remote_detach. Take an EXTENDED | |
661 | argument. Handle a non-running target. | |
662 | (remote_detach): Use it. | |
663 | (extended_remote_detach): New. | |
664 | (remote_disconnect): Fix typo. Use remoute_mourn_1. | |
665 | (extended_remote_attach_1, extended_remote_attach) | |
666 | (extended_async_remote_attach): New. | |
667 | (remote_vcont_resume): Remove unused variable. | |
668 | (remote_wait, remote_async_wait): Use any cached wait status. | |
669 | (putpkt_binary, getpkt): Clear any cached wait status. | |
670 | (extended_remoute_mourn_1): New. | |
671 | (extended_remote_mourn): Use it. | |
672 | (extended_async_remote_mourn, extended_remote_run): New. | |
673 | (extended_remote_create_inferior_1): New. | |
674 | (extended_remote_create_inferior): Use it. | |
675 | (extended_remote_async_create_inferior): Likewise. | |
676 | (remote_xfer_partial): Skip for non-executing targets. | |
677 | (init_extended_remote_ops): Set to_detach and to_attach. | |
678 | (init_extended_async_remote_ops): Likewise. Use | |
679 | extended_async_remote_mourn. | |
680 | (_initialize_remote): Register vAttach, vRun, and | |
681 | set remote exec-file. | |
682 | * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support. | |
683 | ||
e85a822c DJ |
684 | 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
685 | ||
686 | * Makefile.in (symfile.o): Update. | |
687 | * NEWS: Mention exec tracing support. | |
688 | * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for | |
689 | exec events. | |
690 | * infcmd.c (kill_if_already_running, detach_command) | |
691 | (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries. | |
692 | * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete. | |
693 | (follow_exec): Do not check may_follow_exec. Do not mourn and push | |
694 | targets. Apply the sysroot path to the loaded executable. Use | |
695 | no_shared_libraries. | |
696 | * linux-nat.c (linux_child_follow_fork): Print fork following | |
697 | messages if verbose. | |
698 | (kill_wait_callback): Kill again before waiting a second time. | |
699 | * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with | |
700 | no_shared_libraries. | |
701 | ||
9db13498 JB |
702 | 2008-01-29 Joel Brobecker <brobecker@adacore.com> |
703 | ||
704 | * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. | |
705 | ||
b4d5ed91 JB |
706 | 2008-01-29 Joel Brobecker <brobecker@adacore.com> |
707 | ||
708 | * nto-tdep.h: Remove #include "defs.h". | |
709 | * nto-tdep.c: Add #include "defs.h". | |
710 | * Makefile.in (nto_tdep_h): Update dependencies. | |
711 | (nto-tdep.o): Likewise. | |
712 | ||
107313f7 | 713 | 2008-01-29 Joel Brobecker <brobecker@adacore.com> |
ae123ec6 JB |
714 | |
715 | * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter | |
716 | and use it. | |
717 | (proceed, start_remote): Update call to wait_for_inferior. | |
718 | * inferior.h (wait_for_inferior): Update declaration. | |
719 | * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c, | |
720 | solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior. | |
721 | * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as | |
722 | TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED. | |
723 | ||
3f4178d6 DJ |
724 | 2008-01-29 Aleksandar Ristovski <aristovski@qnx.com> |
725 | ||
726 | * varobj (adjust_value_for_child_access): Added checking for | |
727 | returned value from gdb_value_ind. | |
728 | (c_describe_child): Likewise. | |
729 | (cplus_describe_child): Fixed a typo. | |
730 | ||
5eeba8d4 JB |
731 | 2008-01-29 Jim Blandy <jimb@red-bean.com> |
732 | ||
733 | * MAINTAINERS: Update my info. | |
734 | ||
a5606eee VP |
735 | 2008-01-29 Vladimir Prus <vladimir@codesourcery.com> |
736 | ||
737 | Use multiple locations for hardware watchpoints. | |
738 | This eliminates the need to traverse value chain, doing | |
739 | various checks, in three different places. | |
740 | ||
741 | * breakpoint.h (struct bp_location): New fields | |
742 | lengths and watchpoint_type. | |
743 | (struct breakpoint): Remove the val_chain field. | |
744 | * breakpoint.c (is_hardware_watchpoint): New. | |
745 | (free_valchain): Remove. | |
746 | (update_watchpoint): New. | |
747 | (insert_bp_location): For hardware watchpoint, just | |
748 | directly insert it. | |
749 | (insert_breakpoints): Call update_watchpoint_locations | |
750 | on all watchpoints. If we have failed to insert | |
751 | any location of a hardware watchpoint, remove all inserted | |
752 | locations. | |
753 | (remove_breakpoint): For hardware watchpoints, directly | |
754 | remove location. | |
755 | (watchpoints_triggered): Iterate over locations. | |
756 | (bpstat_stop_status): Use only first location of | |
757 | a resource watchpoint. | |
758 | (delete_breakpoint): Don't call free_valchain. | |
759 | (print_one_breakpoint): Don't print all | |
760 | locations for watchpoints. | |
761 | (breakpoint_re_set_one): Use update_watchpoint for | |
762 | watchpoints. | |
763 | ||
0b3de036 VP |
764 | 2008-01-29 Vladimir Prus <vladimir@codesourcery.com> |
765 | ||
766 | Don't reset watchpoint block on solib load. | |
767 | ||
768 | * breakpoint.c (insert_bp_location): For watchpoints, | |
769 | recompute condition. | |
770 | (breakpoint_re_set_one): Instead of recomputing value | |
771 | and condition for watchpoints, just reset value and | |
772 | let insert_breakpoints/insert_bp_location recompute it. | |
773 | Don't do anything about disabled watchpoint. | |
774 | ||
c3940723 PM |
775 | 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr> |
776 | ||
777 | * valarith.c (value_binop): Handle unsigned integer | |
778 | division by zero. | |
779 | ||
83845630 KB |
780 | 2008-01-28 Kevin Buettner <kevinb@redhat.com> |
781 | ||
782 | * mn10300-tdep.c (mn10300_analyze_prologue): Check for an | |
783 | instruction pattern that appears frequently in position | |
784 | independent code. Fix bug in code which looks for "fmov" and | |
785 | backtracks if no "fmov" is found. | |
786 | ||
9ce5d3bb DE |
787 | 2008-01-28 Doug Evans <dje@google.com> |
788 | ||
789 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
131fe1bb DE |
790 | Reformat comments to 80 columns. |
791 | Move local var def closer to only use. | |
9ce5d3bb | 792 | |
c78d192c DJ |
793 | 2008-01-28 Daniel Jacobowitz <dan@codesourcery.com> |
794 | ||
795 | * fork-child.c (SHELL_FILE): Remove #ifndef. | |
796 | (fork_inferior): Remove SHELL_COMMAND_CONCAT. | |
797 | ||
e11481da PM |
798 | 2008-01-25 Pierre Muller <muller@ics.u-strasbg.fr> |
799 | ||
800 | * i386-tdep.c (i386_skip_noop): New function. | |
801 | (i386_analyze_prologue): Call i386_skip_noop function. | |
802 | ||
244e85c8 MS |
803 | 2008-01-24 Michael Snyder <msnyder@specifix.com> |
804 | ||
805 | * procfs.c (procfs_xfer_partial): Comment, cut/paste error. | |
806 | * win32-nat.c (win32_xfer_partial): Ditto. | |
807 | * target.c (default_xfer_partial): Minor whitespace adjustment. | |
808 | ||
dd6be234 PA |
809 | 2008-01-24 Pedro Alves <pedro@codesourcery.com> |
810 | ||
811 | * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't | |
812 | strip bit 1 even if pc doesn't point to thumb code. | |
813 | ||
9fa2223d DJ |
814 | 2008-01-23 Daniel Jacobowitz <dan@codesourcery.com> |
815 | ||
816 | * remote.c (remote_wait): Handle SIGINT between packets. | |
817 | (remote_async_wait): Likewise. | |
818 | ||
93815fbf VP |
819 | 2008-01-23 Vladimir Prus <vladimir@codesourcery.com> |
820 | Chris Demetriou <cgd@google.com> | |
821 | ||
822 | * thread.c (add_thread_silent): Renamed | |
823 | from add_thread. | |
824 | (print_thread_events): New variable definition. | |
825 | (show_print_thread_events): New function. | |
826 | (_initialize_thread): Add "set print thread-events" and | |
827 | "show print thread-events" commands. | |
828 | (add_thread): Announce new thread. | |
829 | * gdbthread.h (add_thread_silent): Declare. | |
830 | (print_thread_events): New variable declaration. | |
831 | * inf-ttrace.c (inf_ttrace_wait): Don't | |
832 | inform about new thread, as add_thread is always | |
833 | called too, and will take care of that. | |
834 | * infrun.c (handle_inferior_event): Likewise. | |
835 | * procfs.c (procfs_wait): Likewise. | |
836 | * remote.c (remote_currthread): Likewise. | |
837 | * sol-thread.c (sol_thread_wait): Likewise. | |
838 | * win32-nat.c (get_win32_debug_event): Likewise. | |
839 | * linux-thread-db.c (attach_thread): Likewise. | |
840 | Remove the verbose parameter. | |
841 | (check_event): Make detach_thread be verbose | |
842 | only if print_thread_events is set. | |
843 | * linux-nat.c (lin_lwp_attach_lwp): Don't inform | |
844 | about new thread. This is called only from | |
845 | linux-thread-db.c:attach_thread, which will take care. | |
846 | Remove the verbose parameter. | |
847 | * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype. | |
848 | ||
b4d7c9a6 NR |
849 | 2008-01-23 Nick Roberts <nickrob@snap.net.nz> |
850 | ||
851 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output. | |
852 | ||
60c46647 VP |
853 | 2008-01-22 Vladimir Prus <vladimir@codesourcery.com> |
854 | ||
855 | * breakpoint.c (break_command_really): New parameter | |
856 | ignore_count. | |
857 | (break_command_1): Pass 0 as | |
858 | ignore_count to break_command_really. | |
859 | (gdb_breakpoint): Pass ignore_count to | |
860 | break_command_really. | |
861 | ||
e84605cd KB |
862 | 2008-01-21 Kevin Buettner <kevinb@redhat.com> |
863 | ||
864 | * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find | |
865 | sigcontext struct via pointer. | |
866 | (struct sigframe comment): Update to show new field `psc'. | |
867 | ||
9d9cd7ac VP |
868 | 2008-01-21 Vladimir Prus <vladimir@codesourcery.com> |
869 | ||
870 | * infrun.c (handle_inferior_event): If | |
871 | we failed to remove breakpoints, error, | |
872 | don't try to increment PC by hand. | |
873 | ||
af5ca30d NH |
874 | 2008-01-18 Nick Hudson <nick.hudson@dsl.pipex.com> |
875 | ||
876 | Add NetBSD/hppa target and host support. | |
877 | ||
878 | * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... | |
879 | (hppabsd_gregset): Move to ... | |
880 | (hppabsd_regset_from_core_section): Rename | |
881 | hppaobsd_regset_from_core_section and move to ... | |
882 | (hppabsd_find_global_pointer): Update comment. | |
883 | (hppabsd_init_abi): Make global. Do not register | |
884 | hppabsd_regset_from_core_section. | |
885 | (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and | |
886 | move to ... | |
887 | (_initialize_hppabsd_tdep): Move to ... | |
888 | * hppaobsd-tdep.c: ... here. New file. | |
889 | * hppnbsd-tdep.c: New file. | |
890 | * hppnbsd-nat.c: New file. | |
891 | * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. | |
892 | (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. | |
893 | (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. | |
894 | (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. | |
895 | * configure.host (hppa*-*-netbsd*): New entry. | |
896 | * configure.tgt (hppa*-*-netbsd*): New entry. | |
897 | (hppa*-*-openbsd*): Update. | |
898 | * NEWS (New native configuration): Mention NetBSD/hppa. | |
899 | (New targets): Mention NetBSD/hppa. | |
900 | ||
32c9a795 MD |
901 | 2008-01-18 Markus Deuling <deuling@de.ibm.com> |
902 | ||
903 | * gdbarch.sh (function_list): Add new property bits_big_endian to | |
904 | gdbarch structure. | |
905 | * gdbarch.{c,h}: Regenerate. | |
906 | ||
907 | * value.c (struct value): Replace BITS_BIG_ENDIAN by | |
908 | gdbarch_bits_big_endian (comment). | |
909 | (unpack_field_as_long, modify_field): Likewise. | |
910 | * value.h: Likewise (comment). | |
911 | * valops.c (value_slice): Likewise. | |
912 | * valarith.c (value_subscript, value_bit_index): Likewise. | |
913 | * gdbtypes.h (field): Likewise (comment). | |
914 | * eval.c (evaluate_subexp_standard): Likewise. | |
915 | * dwarf2read.c (dwarf2_add_field): Likewise. | |
916 | * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) | |
917 | (move_bits, ada_value_assign, value_assign_to_component): Likewise. | |
918 | ||
919 | * defs.h (BITS_BIG_ENDIAN): Remove. | |
920 | ||
1e5e79d0 MD |
921 | 2008-01-18 Markus Deuling <deuling@de.ibm.com> |
922 | ||
923 | * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate | |
924 | function calls. | |
925 | * m2-exp.y (yylex): Likewise. | |
926 | * objc-exp.y (yylex): Likewise. | |
927 | ||
928 | * defs.h (DEPRECATED_STREQN): Remove. | |
929 | ||
fabda5a7 L |
930 | 2008-01-17 H.J. Lu <hjl.tools@gmail.com> |
931 | ||
932 | * MAINTAINERS: Update my email address. | |
933 | ||
92726479 JB |
934 | 2008-01-17 Jim Blandy <jimb@codesourcery.com> |
935 | ||
936 | * README: Mention gdbserver/README. | |
937 | ||
ef80d18e PM |
938 | 2008-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
939 | ||
940 | * valarith.c (value_binop): Handle BINOP_INTDIV | |
941 | for unsigned and signed integers. | |
942 | ||
1de90795 UW |
943 | 2008-01-17 Ulrich Weigand <uweigand@de.ibm.com> |
944 | ||
945 | * s390-tdep.c (s390_gdbarch_init): Set default long double | |
946 | type to 128-bit IEEE quad. | |
947 | ||
c70bd6f3 JB |
948 | 2008-01-17 Joel Brobecker <brobecker@adacore.com> |
949 | ||
950 | * hpux-thread.c (hpux_thread_resume): Delete commented-out code. | |
951 | ||
ba759613 MK |
952 | 2008-01-16 Mark Kettenis <kettenis@gnu.org> |
953 | ||
77d49ac6 MK |
954 | * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS. |
955 | ||
ba759613 MK |
956 | * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest. |
957 | * value.c: All callers changed. | |
958 | ||
7ecb6532 MD |
959 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
960 | ||
961 | * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace | |
962 | DEPRECATED_STREQ by its expression. | |
963 | * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. | |
964 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) | |
965 | (scan_xcoff_symtab): Likewise. | |
966 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. | |
967 | * f-lang.c (find_common_for_function): Likewise. | |
968 | * objc-exp.y (parse_number): Likewise. | |
969 | ||
970 | * defs.h (DEPRECATED_STREQ): Remove. | |
971 | ||
d15cf01c MD |
972 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
973 | ||
974 | * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter. | |
975 | * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use | |
976 | get_frame_arch to get at the current_architecture. Update AM33_MODE | |
977 | call. | |
978 | (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller. | |
979 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current | |
980 | architecture. | |
981 | (set_reg_offsets, mn10300_analyze_prologue): Fix indentation. | |
982 | ||
f8028488 MD |
983 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
984 | ||
985 | * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as | |
986 | parameter. | |
987 | * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. | |
988 | ||
989 | (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace | |
990 | current_gdbarch by gdbarch. Update caller. | |
991 | ||
992 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) | |
993 | (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at | |
994 | the current architecture. Update calls of | |
995 | amd64_native_gregset_supplies_p. | |
996 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) | |
997 | (amd64bsd_store_inferior_registers): Likewise. | |
998 | ||
e101270f MD |
999 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
1000 | ||
1001 | * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter. | |
1002 | Replace current_gdbarch by gdbarch. Update caller. | |
1003 | ||
063e58ba MD |
1004 | 2008-01-16 Markus Deuling <deuling@de.ibm.com> |
1005 | ||
1006 | * dbxread.c (repeated_header_complaint, dbx_symfile_init) | |
1007 | (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint) | |
1008 | (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1) | |
1009 | (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol) | |
1010 | (stabsect_build_psymtabs): Fix indentation. | |
1011 | ||
662fb31b MS |
1012 | 2008-01-15 Michael Snyder <msnyder@specifix.com> |
1013 | ||
1014 | * corelow.c (core_xfer_partial): Comment, cut/paste error. | |
1015 | ||
c1766e7d PM |
1016 | 2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
1017 | ||
1018 | * win32-nat.c (win32_create_inferior): Restore code calling | |
1019 | CloseHandle on ProcessInformation structure. | |
1020 | ||
5ed10e6e NH |
1021 | 2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com> |
1022 | ||
1023 | * configure.ac: Check for void * as 3 argument of ptrace. | |
1024 | * configure: regenerate. | |
1025 | ||
be8626e0 MD |
1026 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
1027 | ||
1028 | * alpha-tdep.c (alpha_heuristic_proc_start) | |
1029 | (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace | |
1030 | current_gdbarch by gdbarch. | |
1031 | ||
1032 | (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the | |
1033 | current architecture by frame_info. Update alpha_heuristic_proc_start | |
1034 | call. | |
1035 | ||
1036 | (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use | |
1037 | get_frame_arch to get at the current architecture by frame_info. Update | |
1038 | alpha_sigtramp_register_address call. | |
1039 | ||
1040 | * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace | |
1041 | current_gdbarch by gdbarch. Update caller. | |
1042 | (convert_to_extended, convert_from_extended): Add endianess parameter | |
1043 | for comparison. Update caller. | |
1044 | (arm_extract_return_value, arm_store_return_value): Use | |
1045 | get_regcache_arch to get at the current architecture. | |
1046 | ||
1047 | * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace | |
1048 | current_gdbarch by gdbarch. Update caller. | |
1049 | (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add | |
1050 | gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. | |
1051 | ||
1052 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add | |
1053 | gdbarch as parameter. Update caller. | |
1054 | (h8300_init_frame_cache): Add gdbarch as parameter. Replace | |
1055 | current_gdbarch by gdbarch. Update caller. | |
1056 | ||
1057 | * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and | |
1058 | update caller. Replace current_gdbarch by gdbarch. | |
1059 | ||
1060 | * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at | |
1061 | the current architecture. Replace current_gdbarch by gdbarch. | |
1062 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. | |
1063 | (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its | |
1064 | expression. Add gdbarch as parameter and replace current_gdbarch with | |
1065 | it. Update caller. | |
1066 | (M6811_TDEP): Remove. | |
1067 | (m68hc11_frame_prev_register): Use get_frame_arch to get at the current | |
1068 | architecture. | |
1069 | (m68hc11_scan_prologue): Add gdbarch as parameter. Replace | |
1070 | current_gdbarch by gdbarch. Update caller. | |
1071 | ||
1072 | * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and | |
1073 | update caller. | |
1074 | (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch | |
1075 | by gdbarch. | |
1076 | ||
1077 | * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update | |
1078 | caller. Relace current_gdbarch by gdbarch. | |
1079 | (altivec_register_p, spe_register_p): Likewise. | |
1080 | * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as | |
1081 | parameter. | |
1082 | * ppc-linux-nat.c (fetch_register, store_register): Update caller of | |
1083 | altivec_register_p and spe_register_p. | |
1084 | ||
1085 | * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update | |
1086 | caller. Replace current_gdbarch by gdbarch. | |
1087 | (score_analyze_prologue): use get_frame_arch to get at the current | |
1088 | architecture. | |
1089 | ||
1090 | * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter. | |
1091 | * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace | |
1092 | current_gdbarch by gdbarch. Update caller. | |
1093 | (sparc_frame_cache): Use get_frame_arch to get at the current | |
1094 | architecture. | |
1095 | * sparce64-tdep.c (sparc64_skip_prologue): Update call of | |
1096 | sparc_analyze_prologue. | |
1097 | ||
1098 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as | |
1099 | parameter. | |
1100 | ||
ed49a04f MD |
1101 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
1102 | ||
1103 | * exec.c: #include "arch-utils.h" | |
1104 | (print_section_info): Use gdbarch_from_bfd to get at the | |
1105 | current architecture. Replace current_gdbarch. Fix indention. Replace | |
1106 | deprecated_print_address_numeric by paddress. | |
1107 | * Makefile.in (exec.o) Add dependency to arch-utils.h. | |
1108 | ||
1109 | * valprint.c (val_print_string): Replace | |
1110 | deprecated_print_address_numeric. | |
1111 | * tracepoint.c (trace_mention, scope_info): Likewise. | |
1112 | * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol) | |
1113 | (print_symbol, print_partial_symbols, maintenance_info_psymtabs) | |
1114 | (maintenance_check_symtabs): Likewise. | |
1115 | * symfile.c (list_overlays_command): Likewise. | |
1116 | * stack.c (frame_info, print_block_frame_labels): Likewise. | |
1117 | * printcmd.c (print_address, print_address_demangle) | |
1118 | (address_info): Likewise. | |
1119 | * corefile.c (memory_error): Likewise. | |
1120 | * infcmd.c (jump_command): Likewise. | |
1121 | * breakpoint.c (insert_bp_location, describe_other_breakpoints) | |
1122 | (mention, delete_breakpoint): Likewise. | |
1123 | * c-valprint.c (print_function_pointer_address, c_val_print): Likewise. | |
1124 | * dwarf2read.c (dump_die): Likewise. | |
1125 | * ada-valprint.c (ada_val_print_1): Likewise. | |
1126 | * f-valprint.c (f_val_print): Likewise. | |
1127 | * linux-fork.c (info_forks_command): Likewise. | |
1128 | * m32r-com.c (m32r_load_section, m32r_load) | |
1129 | (m32r_upload_command): Likewise. | |
1130 | ||
1131 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment. | |
1132 | ||
6093d2eb MD |
1133 | 2008-01-11 Markus Deuling <deuling@de.ibm.com> |
1134 | ||
1135 | * gdbarch.sh (skip_prologue): Add gdbarch | |
1136 | as parameter. | |
1137 | * gdbarch.{c,h}: Regenerate. | |
1138 | ||
1139 | * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter. | |
1140 | * amd64-tdep.c (amd64_skip_prologue): Likewise. | |
1141 | * avr-tdep.c (avr_skip_prologue): Likewise. | |
1142 | * cris-tdep.c (cris_skip_prologue): Likewise. | |
1143 | * frv-tdep.c (frv_skip_prologue): Likewise. | |
1144 | * h8300-tdep.c (h8300_skip_prologue): Likewise. | |
1145 | * hppa-tdep.c (hppa_skip_prologue): Likewise. | |
1146 | * i386-tdep.c (i386_skip_prologue): Likewise. | |
1147 | * ia64-tdep.c (ia64_skip_prologue): Likewise. | |
1148 | * iq2000-tdep.c (iq2000_skip_prologue): Likewise. | |
1149 | * m32r-tdep.c (m32r_skip_prologue): Likewise. | |
1150 | * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise. | |
1151 | * m68k-tdep.c (m68k_skip_prologue): Likewise. | |
1152 | * m88k-tdep.c (m88k_skip_prologue): Likewise. | |
1153 | * mep-tdep.c (mep_skip_prologue): Likewise. | |
1154 | * mips-tdep.c (mips_skip_prologue): Likewise. | |
1155 | * mn10300-tdep.c (mn10300_skip_prologue): Likewise. | |
1156 | * mt-tdep.c (mt_skip_prologue): Likewise. | |
1157 | * rs6000-tdep.c (rs6000_skip_prologue): Likewise. | |
1158 | * score-tdep.c (score_skip_prologue): Likewise. | |
1159 | * sh64-tdep.c (sh64_skip_prologue): Likewise. | |
1160 | * sh-tdep.c (sh_skip_prologue): Likewise. | |
1161 | * sparc64-tdep.c (sparc64_skip_prologue): Likewise. | |
1162 | * sparc-tdep.c (sparc32_skip_prologue): Likewise. | |
1163 | * spu-tdep.c (spu_skip_prologue): Likewise. | |
1164 | * v850-tdep.c (v850_skip_prologue): Likewise. | |
1165 | * vax-tdep.c (vax_skip_prologue): Likewise. | |
1166 | * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise. | |
1167 | * xtensa-tdep.c (xtensa_skip_prologue): Likewise. | |
1168 | ||
1169 | * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace | |
1170 | current_gdbarch by gdbarch. | |
1171 | * m32c-tdep.c (m32c_skip_prologue): Likewise. | |
1172 | * s390-tdep.c (s390_skip_prologue): Likewise. | |
1173 | ||
72f5cf0e DE |
1174 | 2008-01-10 Doug Evans <dje@google.com> |
1175 | ||
1176 | * defs.h (struct continuation_arg): Fix typo in comment. | |
1177 | * target.c (target_translate_tls_address): Fix comment spelling error. | |
1178 | ||
689e4e2d TJB |
1179 | 2008-01-09 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1180 | ||
1181 | * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string. | |
1182 | (DOUBLEST_SCAN_FORMAT): Likewise. | |
1183 | * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT. | |
1184 | * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT. | |
1185 | * c-exp.y (parse_number): Likewise. | |
1186 | * jv-exp.y (parse_number): Likewise. | |
1187 | * objc-exp.y (parse_number): Likewise. | |
1188 | * p-exp.y (parse_number): Likewise. | |
1189 | ||
ab0d6e0d JB |
1190 | 2008-01-09 Joel Brobecker <brobecker@adacore.com> |
1191 | ||
1192 | * gdbtypes.c (create_array_type): Add handling of null Ada arrays. | |
1193 | (check_typedef): Likewise. | |
1194 | ||
0aea4bf3 LM |
1195 | 2008-01-09 Luis Machado <luisgpm@br.ibm.com> |
1196 | ||
1197 | * printcmd.c (printf_command): Add seen_big_h, seen_big_d and | |
1198 | seen_double_big_d, treat the new H, D, and DD modifiers as length | |
1199 | modifiers. | |
1200 | ||
137033e9 JB |
1201 | 2008-01-08 Joel Brobecker <brobecker@adacore.com> |
1202 | ||
1203 | * dwarf2read.c (read_enumeration_type): Add comment. | |
1204 | ||
dda297ec TJB |
1205 | 2008-01-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1206 | ||
1207 | * config.in: Regenerate. | |
1208 | ||
a93c0eb6 JB |
1209 | 2008-01-08 Joel Brobecker <brobecker@adacore.com> |
1210 | ||
1211 | * ada-lang.c (ada_convert_actual): Renames convert_actual. | |
1212 | Make non-static. | |
1213 | (ada_convert_actuals): Delete. | |
1214 | * ada-lang.h (ada_convert_actual): Add declaration. | |
1215 | (ada_convert_actuals): Remove declaration. | |
1216 | * infcall.c: #include "ada-lang.h". | |
1217 | (value_arg_coerce): Add new parameter sp. Update function | |
1218 | documetnation. Add handling of Ada function call parameters. | |
1219 | * Makefile.in (infcall.o): Update dependencies. | |
1220 | ||
a84a8a0d JB |
1221 | 2008-01-08 Paul Hilfinger <hilfinger@adacore.com> |
1222 | ||
1223 | * ada-lang.c (ensure_lval): Fix value lval kind. | |
1224 | (convert_actual): Add handling for arguments passed by reference. | |
1225 | ||
d7f98cce DE |
1226 | 2008-01-08 Doug Evans <dje@google.com> |
1227 | ||
1228 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
1229 | ||
4ef30785 TJB |
1230 | 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1231 | ||
1232 | * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h. | |
1233 | (valarith.o): Depend on dfp.h. | |
1234 | (valops.o): Likewise. | |
1235 | * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. | |
1236 | (set_decnumber_context): New function. | |
1237 | (decimal_check_errors): Likewise. | |
1238 | (decimal_from_number): Likewise. | |
1239 | (decimal_to_number): Likewise. | |
1240 | (decimal_from_string): Use set_decnumber_context and | |
1241 | decimal_check_errors. | |
1242 | (decimal_from_integral): New function. | |
1243 | (decimal_from_floating): Likewise. | |
1244 | (decimal_to_double): Likewise. | |
1245 | (promote_decimal): Likewise. | |
1246 | (decimal_binop): Likewise. | |
1247 | (decimal_is_zero): Likewise. | |
1248 | (decimal_compare): Likewise. | |
1249 | (decimal_convert): Likewise. | |
1250 | * dfp.h (decimal_from_integral): New prototype. | |
1251 | (decimal_from_floating): Likewise. | |
1252 | (decimal_to_double): Likewise. | |
1253 | (decimal_binop): Likewise. | |
1254 | (decimal_is_zero): Likewise. | |
1255 | (decimal_compare): Likewise. | |
1256 | (decimal_convert): Likewise. | |
1257 | * eval.c (evaluate_subexp_standard): Remove expect_type argument from | |
1258 | call to value_from_decfloat. | |
1259 | * valarith.c: Include dfp.h. | |
1260 | (value_args_as_decimal): New function. | |
1261 | (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. | |
1262 | (value_logical_not): Likewise. | |
1263 | (value_equal): Likewise. | |
1264 | (value_less): Likewise. | |
1265 | (value_pos): Likewise. | |
1266 | (value_neg): Formatting fix. | |
1267 | * valops.c: Include dfp.h. | |
1268 | (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. | |
1269 | * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. | |
1270 | (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. | |
1271 | (value_from_decfloat): Remove expect_type argument. | |
1272 | * value.h (value_from_decfloat): Update prototype. | |
1273 | ||
a7c02bc8 VP |
1274 | 2008-01-07 Vladimir Prus <vladimir@codesourcery.com> |
1275 | ||
1276 | Ignore change in name of dynamic linker during | |
1277 | execution on Solaris. This also unbreaks pending breakpoints. | |
1278 | ||
1279 | * solist.h (struct target_so_ops): New field same. | |
1280 | * solib-svr4.c (svr4_same): New. | |
1281 | (_initialize_svr4_solib): Register svr4_same. | |
1282 | * solib.c (update_solib_list): Use ops->same, if available. | |
1283 | ||
610dd7f9 CF |
1284 | 2008-01-06 Christopher Faylor <me+cygwin@cgf.cx> |
1285 | ||
1286 | * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings | |
1287 | when using MS-DOS paths. | |
1288 | ||
7a404eba PA |
1289 | 2008-01-05 Pedro Alves <pedro@codesourcery.com> |
1290 | ||
1291 | * NEWS: Mention --pid and --core command line behaviour changes. | |
1292 | ||
a4d9b460 PA |
1293 | 2008-01-05 Pedro Alves <pedro@codesourcery.com> |
1294 | ||
1295 | * main.c (captured_main): Remove 'count' varible and the | |
1296 | ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and | |
1297 | --pid options were issued simultaneously. If an explicit pid | |
1298 | option was passed, don't fallback to core file. Detect extra | |
1299 | arguments better in the presence of explicit pid or core | |
1300 | arguments. | |
1301 | ||
0c281816 JB |
1302 | 2008-01-05 Joel Brobecker <brobecker@adacore.com> |
1303 | ||
1304 | * ada-lang.c (ada_which_variant_applies): Correctly compute | |
1305 | the value of the discriminant when the variant record is packed. | |
1306 | ||
babe1480 JB |
1307 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
1308 | ||
1309 | * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes | |
1310 | that are used to differentiate homonyms. | |
1311 | ||
727e3d2e JB |
1312 | 2008-01-04 Jerome Guitton <guitton@adacore.com> |
1313 | ||
1314 | * ada-lang.c (decode_packed_array_type): Avoid a seg fault | |
1315 | when the type is an anonymous pointer type. | |
1316 | (ada_check_typedef): Avoid a seg fault when the type is null. | |
1317 | * ada-typeprint.c (print_array_type): Add support for pointer | |
1318 | to packed arrays. | |
1319 | ||
bb28a9dc JB |
1320 | 2008-01-04 Paul N. Hilfinger <hilfinger@adacore.com> |
1321 | ||
1322 | * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment. | |
1323 | ||
6799def4 JB |
1324 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
1325 | ||
1326 | * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in | |
1327 | EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS. | |
1328 | ||
d3353bbd JB |
1329 | 2008-01-04 Joel Brobecker <brobecker@adacore.com> |
1330 | ||
1331 | * ada-exp.y (chop_separator): New function. | |
1332 | (write_selectors): Rewrite to re-use chop_separator. | |
1333 | (ada_nget_field_index, get_symbol_field_type): New functions. | |
1334 | (write_var_or_type): Add support for "ptype TYPENAME.FIELD" | |
1335 | expressions. | |
1336 | ||
82cf6c60 TJB |
1337 | 2008-01-03 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1338 | ||
1339 | * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead | |
1340 | of SYMBOL_VALUE when working with function symbols. | |
1341 | ||
b3dbf008 JB |
1342 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
1343 | ||
1344 | * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER | |
1345 | expressions. These expressions do not need to be rewriten. | |
1346 | ||
02eb380e JB |
1347 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
1348 | ||
1349 | * dwarf2read.c (read_enumeration_type): Flag type as stub if | |
1350 | the given die is a declaration. | |
1351 | ||
abb68b3e JB |
1352 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
1353 | ||
1354 | * ada-lang.c (ada_array_bound_from_type): Make non-static. | |
1355 | Handle properly the case when the index type is an enumerated type. | |
1356 | Do not return the subtype of the bounds type, just return the | |
1357 | bounds type directly - this is not needed and is more consistent | |
1358 | with what we do for arrays when no XA parallel type exists. | |
1359 | ||
f192137b JB |
1360 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
1361 | ||
1362 | * ada-lang.c (static_unwrap_type): Add forward declaration. | |
1363 | (template_to_static_fixed_type): Fields of dynamic types sometimes | |
1364 | also need to be unwrapped. Take this into account. | |
1365 | (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. | |
1366 | (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. | |
1367 | * ada-typeprint.c (ada_print_type): Get the typename from | |
1368 | the original type, not the base type. | |
1369 | ||
1ed6ede0 JB |
1370 | 2008-01-03 Jerome Guitton <guitton@adacore.com> |
1371 | ||
1372 | * ada-lang.c (ada_value_struct_elt, to_fixed_array_type) | |
1373 | (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): | |
1374 | Update calls to ada_to_fixed_type. | |
1375 | (ada_template_to_fixed_record_type_1): Ditto, but without looking | |
1376 | for the tag. | |
1377 | (ada_to_fixed_type): Add check_tag parameter; do not look for | |
1378 | tag if null. When looking for a tag, use a fixed record type. | |
1379 | * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. | |
1380 | * ada-valprint.c (printable_val_type, ada_value_print): Update | |
1381 | calls to ada_to_fixed_type. | |
1382 | ||
542a88d0 LM |
1383 | 2008-01-03 Luis Machado <luisgpm@br.ibm.com> |
1384 | ||
1385 | * doublest.c (convert_floatformat_to_doublest): Call | |
1386 | floatformat_to_doublest instead of floatformat_to_double and use | |
1387 | DOUBLEST variables. | |
1388 | (convert_doublest_to_floatformat): Call floatformat_from_doublest | |
1389 | instead of floatformat_from_double and use DOUBLEST variables. | |
1390 | ||
dc2bbab2 NH |
1391 | 2008-01-03 Nick Hudson <nick.hudson@dsl.pipex.com> |
1392 | ||
1393 | * MAINTAINERS (Write After Approval): Add self. | |
1394 | ||
8b60591b JB |
1395 | 2008-01-03 Joel Brobecker <brobecker@adacore.com> |
1396 | ||
1397 | * symfile.c (set_initial_language): Make non-static. | |
1398 | * symfile.h (set_initial_language): Add declaration. | |
1399 | * language.c: #include "symfile.h". | |
1400 | (set_language): Call set_initial_language if the frame language | |
1401 | could not be determined. | |
1402 | ||
ceef53c1 JB |
1403 | 2008-01-03 Paul N. Hilfinger <hilfinger@adacore.com> |
1404 | ||
1405 | * eval.c (evaluate_subexp_for_address): Provide frame address to | |
1406 | locate_var_value only if it will be needed. | |
1407 | ||
ef29ce1a JK |
1408 | 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
1409 | ||
1410 | * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB. | |
1411 | ||
0a07e705 JB |
1412 | 2008-01-02 Joel Brobecker <brobecker@adacore.com> |
1413 | ||
1414 | * ada-lang.c (ada_evaluate_subexp): Modify the value returned | |
1415 | when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. | |
1416 | This is needed to make sure that any other treatment applied | |
1417 | to the resulting value does not fail for spurious reason, | |
1418 | such as trying to take the address of this value. | |
1419 | ||
f58b38bf JB |
1420 | 2008-01-02 Joel Brobecker <brobecker@adacore.com> |
1421 | ||
1422 | * ada-lang.c (ada_value_equal): Dereference reference types when | |
1423 | comparing arrays. | |
1424 | ||
9b254dd1 DJ |
1425 | 2008-01-01 Daniel Jacobowitz <dan@codesourcery.com> |
1426 | ||
1427 | Updated copyright notices for most files. | |
1428 | ||
33605d39 CF |
1429 | 2008-01-01 Christopher Faylor <me+gdb@cgf.cx> |
1430 | ||
1431 | * win32-nat.c (psapi_module_handle): Remove static. | |
1432 | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to | |
1433 | return first module found if base_address is zero. Don't initialize | |
1434 | psapi function pointers here. Convert to cygwin paths when | |
1435 | appropriate. | |
1436 | (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine | |
1437 | executable name. Use get_module_name when that fails or when | |
1438 | !__CYGWIN__. | |
1439 | (_initialize_psapi): New function. Initialize psapi stuff before it is | |
1440 | needed or issue a warning if it is not found. Move psapi_module_handle | |
1441 | here. | |
1442 | ||
29480c32 JB |
1443 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
1444 | ||
1445 | * ada-lang.c (ada_remove_trailing_digits): New function. | |
1446 | (ada_remove_po_subprogram_suffix): New function. | |
1447 | (ada_decode): Improve. Move the description of the algorithm | |
1448 | directly inside the code, instead of in the function global | |
1449 | description. | |
1450 | ||
969a1360 JB |
1451 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
1452 | ||
1453 | * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref | |
1454 | and always print the dereferenced value. | |
1455 | ||
b7789565 JB |
1456 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
1457 | ||
1458 | * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling | |
1459 | of the case where the first argument is a reference. | |
1460 | (ada_evaluate_subexp, case BINOP_ADD): Likewise. | |
1461 | ||
73fb9985 JB |
1462 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
1463 | ||
1464 | Implement support for Ada interface types. | |
1465 | ||
1466 | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. | |
1467 | (ada_is_ignored_field): Ignore fields that are a dispatch table | |
1468 | of a tagged type. | |
1469 | ||
636265b6 JB |
1470 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
1471 | ||
1472 | * top.c (print_gdb_version): Update copyright year. | |
1473 | ||
9d200a2e | 1474 | 2008-01-01 Joel Brobecker <brobecker@adacore.com> |
b7589f7d | 1475 | |
9d200a2e JB |
1476 | * ChangeLog-2007: New ChangeLog rotation. |
1477 | * ChangeLog: Reset for 2008. | |
1478 | * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and | |
1479 | ChangeLog-2007. | |
b7589f7d | 1480 | |
9d200a2e | 1481 | For older changes see ChangeLog-2007. |
c906108c SS |
1482 | \f |
1483 | Local Variables: | |
1484 | mode: change-log | |
1485 | left-margin: 8 | |
1486 | fill-column: 74 | |
1487 | version-control: never | |
57da7796 | 1488 | coding: utf-8 |
c906108c | 1489 | End: |