]>
Commit | Line | Data |
---|---|---|
6c86dcd5 DM |
1 | 2002-04-20 David S. Miller <[email protected]> |
2 | ||
3 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to | |
4 | GDB_MULTI_ARCH_PARTIAL | |
5 | * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not | |
6 | define, let tm-sp64.h do it. | |
7 | ||
aa40ec90 JT |
8 | 2002-04-20 Jason Thorpe <[email protected]> |
9 | ||
10 | * frame.c (find_saved_register): Avoid a NULL pointer | |
11 | dereference and actually walk the frame list. | |
12 | ||
0f79675b AC |
13 | 2002-04-20 Andrew Cagney <[email protected]> |
14 | ||
15 | * gdbarch.sh (gdbarch_update_p): Keep the list of architectures | |
16 | sorted in most most-recent-used order. Document. | |
17 | * gdbarch.h, gdbarch.c: Regenerate. | |
18 | ||
c04a1aa8 DJ |
19 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
20 | ||
21 | * gdbserver/inferiors.c (struct inferior_info): Add regcache_data. | |
22 | (add_inferior): Call create_register_cache. | |
23 | (clear_inferiors): Call free_register_cache. | |
24 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
25 | * gdbserver/regcache.c (struct inferior_regcache_data): New. | |
26 | (registers): Remove. | |
27 | (get_regcache): New function. | |
28 | (create_register_cache, free_register_cache): New functions. | |
29 | (set_register_cache): Don't initialize the register cache here. | |
30 | (registers_to_string, registers_from_string, register_data): Call | |
31 | get_regcache. | |
32 | * gdbserver/regcache.h: Add prototypes. | |
33 | * gdbserver/server.h: Likewise. | |
34 | ||
611cb4a5 DJ |
35 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
36 | ||
37 | * gdbserver/mem-break.c: New file. | |
38 | * gdbserver/mem-break.h: New file. | |
39 | * gdbserver/Makefile.in: Add mem-break.o rule; update server.h | |
40 | dependencies. | |
41 | * gdbserver/inferiors.c (struct inferior_info): Add target_data | |
42 | member. | |
43 | (clear_inferiors): Free target_data member if set. | |
44 | (inferior_target_data, set_inferior_target_data): New functions. | |
45 | * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
46 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
47 | * gdbserver/linux-low.c (linux_bp_reinsert): New variable. | |
48 | (struct inferior_linux_data): New. | |
49 | (linux_create_inferior): Use set_inferior_target_data. | |
50 | (linux_attach): Likewise. Call add_inferior. | |
51 | (linux_wait_for_one_inferior): New function. | |
52 | (linux_wait): Call it. | |
53 | (linux_write_memory): Add const. | |
54 | (initialize_low): Call set_breakpoint_data. | |
55 | * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint | |
56 | handling members. | |
57 | * gdbserver/server.c (attach_inferior): Remove extra add_inferior | |
58 | call. | |
59 | * gdbserver/server.h: Include mem-break.h. Update inferior.c | |
60 | prototypes. | |
61 | * gdbserver/target.c (read_inferior_memory) | |
62 | (write_inferior_memory): New functions. | |
63 | * gdbserver/target.h (read_inferior_memory) | |
64 | (write_inferior_memory): Change macros to prototypes. | |
65 | (struct target_ops): Update comments. Add const to write_memory | |
66 | definition. | |
67 | ||
f91305dd | 68 | 2002-04-19 Andrew Cagney <[email protected]> |
bf75c8c1 AC |
69 | |
70 | * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame | |
71 | instead of ->prev. | |
72 | * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. | |
73 | * s390-tdep.c (s390_frame_chain): Do not use ->prev. | |
74 | * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() | |
75 | instead of ->prev. | |
76 | ||
73d322b1 EZ |
77 | 2002-04-19 Elena Zannoni <[email protected]> |
78 | ||
79 | Fix PR gdb/471. | |
80 | * gdbtypes.c (init_simd_type): Rewrite using new functions. | |
81 | (build_builtin_type_vec128): Ditto. | |
82 | (append_composite_type_field): Fix calculation of type length in | |
83 | union case. | |
84 | ||
ccd9a834 EZ |
85 | 2002-04-19 Eli Zaretskii <[email protected]> |
86 | ||
87 | * config/djgpp/README: Update. | |
88 | ||
89 | * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a | |
90 | compiler warnings. | |
91 | ||
a57f9e49 JT |
92 | 2002-04-19 Jason Thorpe <[email protected]> |
93 | ||
94 | * alpha-tdep.c (setup_arbitrary_frame): Rename... | |
95 | (alpha_setup_arbitrary_frame): ...to this. | |
96 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update | |
97 | for alpha_setup_arbitrary_frame. | |
98 | ||
f4f9705a AC |
99 | 2002-04-18 Andrew Cagney <[email protected]> |
100 | ||
101 | * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer. | |
102 | * gdbarch.h, gdbarch.c: Regenerate. | |
103 | ||
104 | * defs.h (breakpoint_from_pc_fn): Delete type definition. | |
105 | * target.h (memory_breakpoint_from_pc): Update declaration. | |
106 | * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. | |
107 | ||
108 | * arch-utils.c (legacy_breakpoint_from_pc): Update return type. | |
109 | * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. | |
110 | * mem-break.c (memory_breakpoint_from_pc): Ditto. | |
111 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. | |
112 | * s390-tdep.c (s390_breakpoint_from_pc): Ditto | |
113 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. | |
114 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. | |
115 | * mips-tdep.c (mips_breakpoint_from_pc): Ditto. | |
116 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. | |
117 | * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. | |
118 | * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. | |
119 | * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. | |
120 | ||
121 | * mem-break.c (default_memory_insert_breakpoint): Make `bp' a | |
122 | const pointer. | |
123 | * monitor.c (monitor_insert_breakpoint): Ditto. | |
124 | * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. | |
125 | ||
126 | * config/mcore/tm-mcore.h: Update copyright. | |
127 | * mem-break.c: Ditto. | |
128 | * xstormy16-tdep.c: Ditto. | |
129 | ||
29f319b8 PM |
130 | 2002-04-18 Pierre Muller <[email protected]> |
131 | ||
132 | * p-exp.y: Add precedence rule for '^' token. | |
133 | This removes the shift/reduce conflicts. | |
134 | Remove the comment concerning these shift/reduce conflicts. | |
135 | ||
ebeac11a EZ |
136 | 2002-04-18 Elena Zannoni <[email protected]> |
137 | ||
138 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. | |
139 | (registers_powerpc_nofp): New register set for processors | |
140 | without floating point unit. | |
141 | ||
27c31547 DM |
142 | 2002-04-18 David S. Miller <[email protected]> |
143 | ||
144 | * MAINTAINERS: Add myself to write-after-approval. | |
145 | ||
953836b2 AC |
146 | 2002-04-17 Andrew Cagney <[email protected]> |
147 | ||
148 | * rs6000-tdep.c (frame_initial_stack_address): Use | |
149 | frame_register_read to read the alloca_reg. | |
150 | ||
8b0d4340 AC |
151 | 2002-04-17 Andrew Cagney <[email protected]> |
152 | ||
153 | * frame.c (find_saved_register): Find saved registers in the next | |
154 | not prev frame. | |
155 | Fix PR gdb/365. | |
156 | ||
d8864532 AC |
157 | 2002-04-17 Andrew Cagney <[email protected]> |
158 | ||
159 | * gdbarch.sh (LANG): Set to ``c''. | |
160 | ||
36cc83a3 AC |
161 | 2002-04-15 Andrew Cagney <[email protected]> |
162 | ||
163 | * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. | |
164 | ||
2f4150cc | 165 | 2002-04-15 Andrew Cagney <[email protected]> |
2c7ef074 AC |
166 | |
167 | * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h". | |
168 | Update copyright. | |
169 | ||
628703c6 | 170 | * hpread.c (hpread_get_lntt): Add declaration. |
2f4150cc AC |
171 | Also fix PR gdb/391. |
172 | ||
56157b4a AC |
173 | 2002-04-14 Andrew Cagney <[email protected]> |
174 | ||
175 | * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6. | |
176 | * aclocal.m4, configure: Re-generate. | |
177 | Fix PR gdb/391. | |
178 | ||
6d1e3329 EZ |
179 | 2002-04-14 Elena Zannoni <[email protected]> |
180 | ||
181 | * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN | |
182 | instead of tm_print_insn. | |
183 | ||
cb06fa07 EZ |
184 | 2002-04-14 Elena Zannoni <[email protected]> |
185 | ||
186 | * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. | |
187 | ||
f208ba17 AC |
188 | 2002-04-14 Andrew Cagney <[email protected]> |
189 | ||
190 | * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. | |
191 | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. | |
192 | (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. | |
193 | ||
20f01a46 DH |
194 | 2002-04-12 Don Howard <[email protected]> |
195 | ||
196 | * cli/cli-cmds.c (init_cli_cmds): Add new user settable value: | |
197 | max_user_call_depth. | |
198 | (init_cmd_lists): Initialize the new value; | |
199 | * cli/cli-script.c (execute_user_command): Limit the call depth of | |
200 | user defined commands. This avoids a core-dump when user commands | |
201 | are infinitly recursive. | |
202 | ||
a88376a3 KB |
203 | 2002-04-12 Kevin Buettner <[email protected]> |
204 | ||
205 | * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''. | |
206 | * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset'' | |
207 | from tdep struct instead of DEFAULT_LR_SAVE. | |
208 | (rs6000_gdbarch_init): Initialize ``lr_frame_offset''. | |
209 | * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete. | |
210 | * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete. | |
211 | ||
f2172603 MS |
212 | 2002-04-12 Michael Snyder <[email protected]> |
213 | ||
694f61fb | 214 | * Remote.c: Spelling fix. |
20fe79c8 MS |
215 | * gcore.c (default_derive_heap_segment): Use bfd_section_name. |
216 | If no symbol found for "sbrk", try "_sbrk". | |
217 | (make_output_phdrs): Use bfd_section_name. | |
218 | (gcore_copy_callback): Use bfd_section_name. | |
62995fc4 | 219 | * eval.c: Indentation fix-ups. |
169a7369 MS |
220 | * d10v-tdep.c (d10v_make_iaddr): Make it idempotent, |
221 | in case it gets applied to an address that is already | |
222 | in the instruction space. | |
de74f71f MS |
223 | * cli/cli-decode.c (help_list): Allow long lines to wrap. |
224 | * symfile.c: Fix indentation, long lines. | |
f2172603 MS |
225 | * source.c: White space fix-up. |
226 | ||
cda5a58a AC |
227 | 2002-04-12 Andrew Cagney <[email protected]> |
228 | ||
229 | * defs.h (read_relative_register_raw_bytes): Delete declaration. | |
230 | * frame.c (frame_register_read): New function. Return non-zero on | |
231 | success. | |
232 | (read_relative_register_raw_bytes_for_frame): Delete. | |
233 | (read_relative_register_raw_bytes): Delete. | |
234 | * frame.h (frame_register_read): Declare. | |
235 | * d30v-tdep.c: Update Copyright. Use frame_register_read. | |
236 | * sh-tdep.c: Ditto. | |
237 | * infcmd.c (do_registers_info): Ditto. | |
238 | * hppa-tdep.c: Ditto. | |
239 | * rs6000-tdep.c: Ditto. | |
240 | * h8500-tdep.c: Ditto. | |
241 | * mips-tdep.c: Ditto. | |
242 | * h8300-tdep.c: Ditto. | |
243 | * z8k-tdep.c: Ditto. | |
244 | ||
2ea5f656 KB |
245 | 2002-04-12 Kevin Buettner <[email protected]> |
246 | ||
247 | From Jimi X <[email protected]>: | |
248 | * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for | |
249 | 64-bit SysV ABI. | |
250 | ||
27b15785 KB |
251 | 2002-04-12 Kevin Buettner <[email protected]> |
252 | ||
253 | From Jimi X <[email protected]>: | |
254 | * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from | |
255 | bfd info. | |
256 | ||
5d57ee30 KB |
257 | 2002-04-12 Kevin Buettner <[email protected]> |
258 | ||
259 | From Jimi X <[email protected]>: | |
260 | * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define | |
261 | register sets for these processor variants. | |
262 | ||
bc1e36ca DJ |
263 | 2002-04-11 Daniel Jacobowitz <[email protected]> |
264 | ||
265 | * gdbserver/linux-low.c (usr_store_inferior_registers): Support | |
266 | registers which are allowed to fail to store. | |
267 | * gdbserver/linux-low.h (linux_target_ops): Likewise. | |
268 | * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
269 | (ppc_cannot_store_register): FPSCR may not be storable. | |
270 | * regformats/reg-ppc.dat: Support FPSCR. | |
271 | ||
e3f36dbd KB |
272 | 2002-04-11 Kevin Buettner <[email protected]> |
273 | ||
274 | * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''. | |
275 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
276 | Add fpscr as an invalid/unfetchable register. | |
277 | * ppc-linux-nat.c (ppc_register_u_addr, store_register) | |
278 | (fetch_ppc_registers, store_ppc_registers, supply_fpregset) | |
279 | (fill_fpregset): Add support for register fpscr. | |
280 | (fetch_ppc_registers, store_ppc_registers, supply_gregset) | |
281 | (fill_gregset): Account for the fact that register ``mq'' might | |
282 | not exist. | |
283 | * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr. | |
284 | (registers_power): Add fpscr to register set at slot 71. | |
285 | (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't | |
286 | exist on most PPC architectures. Initialize ppc_fpscr_regnum. | |
287 | ||
943c9c25 MS |
288 | 2002-04-11 Michael Snyder <[email protected]> |
289 | ||
290 | * configure.in: Autoconfiscate _SYSCALL32 define for solaris. | |
291 | * configure: Regenerate. | |
292 | * config.in: Regenerate. | |
293 | * acconfig.h: Add define for _SYSCALL32. | |
294 | * core-sol2.c: Remove #define _SYSCALL32. | |
295 | * solib-legacy.c: Remove #define _SYSCALL32. | |
296 | ||
d8c0a2e7 AC |
297 | 2002-04-10 Andrew Cagney <[email protected]> |
298 | ||
299 | * stack.c (select_frame): Cleanup internal error message, do not | |
300 | use %p. | |
301 | ||
7cc19214 AC |
302 | 2002-04-10 Andrew Cagney <[email protected]> |
303 | ||
304 | * stack.c (select_frame): Check that selected_frame and the | |
305 | specified level are as expected. | |
306 | * blockframe.c (get_prev_frame): Set the `level' from next_frame. | |
307 | Update copyright. | |
308 | * frame.h (struct frame_info): Add field `level'. Update | |
309 | copyright. | |
310 | Work-in-progress PR gdb/464. | |
311 | ||
67a2b77e AC |
312 | 2002-04-10 Andrew Cagney <[email protected]> |
313 | ||
314 | * maint.c (maint_print_section_info): Rename print_section_info. | |
315 | (print_bfd_section_info, print_objfile_section_info): Update. | |
316 | * inferior.h (struct gdbarch): Add opaque declaration. | |
317 | * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. | |
318 | * gdbarch.h: Regenerate. | |
319 | ||
8cfda98c ML |
320 | 2002-04-10 Michal Ludvig <[email protected]> |
321 | ||
322 | * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete. | |
323 | (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. | |
324 | (kernel_u_size): Added. | |
325 | * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. | |
326 | (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h. | |
327 | ||
ca439ad2 JI |
328 | 2002-04-04 Jim Ingham <[email protected]> |
329 | ||
330 | * valarith.c (find_size_for_pointer_math): New function, either returns | |
331 | the size for a pointer's target, returns 1 for void *, or errors for | |
332 | incomplete types. | |
333 | (value_add, value_sub): use find_size_for_pointer_math. | |
334 | ||
2f2893d9 DJ |
335 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
336 | ||
337 | * linux-low.c (linux_look_up_symbols): New hook. | |
338 | (linux_target_ops): Add linux_look_up_symbols. | |
339 | * remote-utils.c (decode_address): New function. | |
340 | (look_up_one_symbol): New function. | |
341 | * server.c (handle_query): Call target look_up_symbols hook. | |
342 | * server.h (look_up_one_symbol): Add prototype. | |
343 | * target.h (struct target_ops): Add look_up_symbols hook. | |
344 | ||
2ec06d2e DJ |
345 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
346 | ||
d64b8841 DJ |
347 | * gdbserver/server.h: Include <string.h> if HAVE_STRING_H. |
348 | * ChangeLog: Correct paths in last ChangeLog entry. | |
349 | ||
350 | 2002-04-09 Daniel Jacobowitz <[email protected]> | |
351 | ||
352 | * gdbserver/linux-low.h: Remove obsolete prototypes. | |
2ec06d2e DJ |
353 | (struct linux_target_ops): New. |
354 | (extern the_low_target): New. | |
d64b8841 | 355 | * gdbserver/linux-low.c (num_regs, regmap): Remove declarations. |
2ec06d2e DJ |
356 | (register_addr): Use the_low_target explicitly. |
357 | (fetch_register): Likewise. | |
358 | (usr_fetch_inferior_registers): Likewise. | |
359 | (usr_store_inferior_registers): Likewise. | |
d64b8841 | 360 | * gdbserver/linux-arm-low.c (num_regs): Remove. |
2ec06d2e DJ |
361 | (arm_num_regs): Define. |
362 | (arm_regmap): Renamed from regmap, made static. | |
363 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
364 | made static. | |
365 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
366 | made static. | |
367 | (the_low_target): New. | |
d64b8841 | 368 | * gdbserver/linux-i386-low.c (num_regs): Remove. |
2ec06d2e DJ |
369 | (i386_num_regs): Define. |
370 | (i386_regmap): Renamed from regmap, made static. | |
371 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
372 | made static. | |
373 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
374 | made static. | |
375 | (the_low_target): New. | |
d64b8841 | 376 | * gdbserver/linux-ia64-low.c (num_regs): Remove. |
2ec06d2e DJ |
377 | (ia64_num_regs): Define. |
378 | (ia64_regmap): Renamed from regmap, made static. | |
379 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
380 | made static. | |
381 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
382 | made static. | |
383 | (the_low_target): New. | |
d64b8841 | 384 | * gdbserver/linux-m68k-low.c (num_regs): Remove. |
2ec06d2e DJ |
385 | (m68k_num_regs): Define. |
386 | (m68k_regmap): Renamed from regmap, made static. | |
387 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
388 | made static. | |
389 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
390 | made static. | |
391 | (the_low_target): New. | |
d64b8841 | 392 | * gdbserver/linux-mips-low.c (num_regs): Remove. |
2ec06d2e DJ |
393 | (mips_num_regs): Define. |
394 | (mips_regmap): Renamed from regmap, made static. | |
395 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
396 | made static. | |
397 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
398 | made static. | |
399 | (the_low_target): New. | |
d64b8841 | 400 | * gdbserver/linux-ppc-low.c (num_regs): Remove. |
2ec06d2e DJ |
401 | (ppc_num_regs): Define. |
402 | (ppc_regmap): Renamed from regmap, made static. | |
403 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
404 | made static. | |
405 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
406 | made static. | |
407 | (the_low_target): New. | |
d64b8841 | 408 | * gdbserver/linux-s390-low.c (num_regs): Remove. |
2ec06d2e DJ |
409 | (s390_num_regs): Define. |
410 | (s390_regmap): Renamed from regmap, made static. | |
411 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
412 | made static. | |
413 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
414 | made static. | |
415 | (the_low_target): New. | |
d64b8841 | 416 | * gdbserver/linux-sh-low.c (num_regs): Remove. |
2ec06d2e DJ |
417 | (sh_num_regs): Define. |
418 | (sh_regmap): Renamed from regmap, made static. | |
419 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
420 | made static. | |
421 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
422 | made static. | |
423 | (the_low_target): New. | |
d64b8841 | 424 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. |
2ec06d2e DJ |
425 | (the_low_target): New. |
426 | ||
96cb11df AC |
427 | 2002-04-09 Andrew Cagney <[email protected]> |
428 | ||
429 | * frame.c (read_relative_register_raw_bytes_for_frame): Do not | |
430 | override FP_REGNUM with frame->fp. Update copyright. | |
431 | * parse.c (num_std_regs, std_regs): Delete. | |
432 | (target_map_name_to_register): Do not search std_regs. Update | |
433 | function description. | |
434 | * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete | |
435 | declarations. Update copyright. | |
436 | Fix PR gdb/251. | |
437 | ||
c3a3ccc7 DJ |
438 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
439 | ||
440 | * gdbserver/Makefile.in: Add stamp-h target. | |
441 | * gdbserver/configure.in: Create stamp-h. | |
442 | * gdbserver/configure: Regenerated. | |
443 | ||
ce3a066d DJ |
444 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
445 | ||
446 | * gdbserver/inferiors.c: New file. | |
447 | * gdbserver/target.c: New file. | |
448 | * gdbserver/target.h: New file. | |
449 | * gdbserver/Makefile.in: Add target.o and inferiors.o. Update | |
450 | dependencies. | |
451 | * gdbserver/linux-low.c (inferior_pid): New static variable, | |
452 | moved from server.c. | |
453 | (linux_create_inferior): Renamed from create_inferior. | |
454 | Call add_inferior. Return 0 on success instead of a PID. | |
455 | (linux_attach): Renamed from myattach. | |
456 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
457 | (linux_thread_alive): Renamed from mythread_alive. | |
458 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
459 | child dies. | |
460 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
461 | (regsets_store_inferior_registers): Correct error message. | |
462 | Add missing ``return 0''. | |
463 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
464 | (linux_store_registers): Renamed from store_inferior_registers. | |
465 | (linux_read_memory): Renamed from read_inferior_memory. | |
466 | (linux_write_memory): Renamed from write_inferior_memory. | |
467 | (linux_target_ops): New structure. | |
468 | (initialize_low): Call set_target_ops (). | |
469 | * gdbserver/remote-utils.c (unhexify): New function. | |
470 | (hexify): New function. | |
471 | (input_interrupt): Send signals to ``signal_pid''. | |
472 | * gdbserver/server.c (inferior_pid): Remove. | |
473 | (start_inferior): Update create_inferior call. | |
474 | (attach_inferior): Call add_inferior. | |
475 | (handle_query): New function. | |
476 | (main): Call handle_query for `q' packets. | |
477 | * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. | |
478 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
479 | ||
0729219d DJ |
480 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
481 | ||
482 | * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury | |
483 | dependencies. | |
484 | * gdbserver/configure.in: Check for <string.h> | |
485 | * gdbserver/configure: Regenerate. | |
486 | * gdbserver/config.in: Regenerate. | |
487 | * gdbserver/gdbreplay.c: Include needed system headers. | |
488 | (remote_open): Remove strchr prototype. | |
489 | * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
490 | * gdbserver/regcache.c (supply_register): Change buf argument to const void *. | |
491 | (supply_register_by_name): Likewise. | |
492 | (collect_register): Change buf argument to void *. | |
493 | (collect_register_by_name): Likewise. | |
494 | * gdbserver/regcache.h: Add missing prototypes. | |
495 | * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
496 | * gdbserver/server.c (handle_query): New function. | |
497 | (attached): New static variable, moved out of main. | |
498 | (main): Quiet longjmp clobber warnings. | |
499 | * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
500 | * gdbserver/utils.c (error): Remove NORETURN. | |
501 | (fatal): Likewise. | |
502 | ||
97658e92 DJ |
503 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
504 | ||
505 | * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer | |
506 | after the last symbol in a block. | |
507 | ||
6044e3eb PM |
508 | 2002-04-09 Pierre Muller <[email protected]> |
509 | ||
510 | * p-exp.y (yylex): Handle also the fact that is_a_field_of_this | |
511 | is non zero as a found symbol. | |
512 | ||
0406ec40 AC |
513 | 2002-04-08 Andrew Cagney <[email protected]> |
514 | ||
515 | * findvar.c: Include "builtin-regs.h". | |
516 | (value_of_register): Call value_of_builtin_reg when applicable. | |
517 | * parse.c: Include "builtin-regs.h" and "gdb_assert.h". | |
518 | (target_map_name_to_register): Call | |
519 | builtin_reg_map_name_to_regnum. | |
520 | * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. | |
521 | (COMMON_OBS): Add builtin-regs.o and std-regs.o. | |
522 | (builtin_regs_h): Define. | |
523 | (builtin-regs.o): New target. | |
524 | (findvar.o): Add $(builtin_regs_h). | |
525 | * builtin-regs.c, builtin-regs.h: New files. | |
526 | * std-regs.c: New file. | |
527 | Partial fix for PR gdb/251. | |
528 | ||
56a6dfb9 KB |
529 | 2002-04-08 Kevin Buettner <[email protected]> |
530 | ||
531 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn; | |
532 | it's no longer required. | |
533 | ||
3a808432 AC |
534 | 2002-04-08 Andrew Cagney <[email protected]> |
535 | ||
536 | * Makefile.in (gdbtk-wrapper.o): Add missing dependencies. | |
537 | ||
7c40d541 KB |
538 | 2002-04-08 Kevin Buettner <[email protected]> |
539 | ||
540 | From Jimi X <[email protected]>: | |
541 | * rs6000-tdep.c (rs6000_software_single_step): Use | |
542 | rs6000_breakpoint_from_pc() to fetch breakpoint instruction | |
543 | and size. Use target_insert_breakpoint() and | |
544 | target_remove_breakpoint() to insert and remove breakpoints | |
545 | instead of explicit memory reads and writes. | |
546 | ||
cc9836a8 KB |
547 | 2002-04-08 Kevin Buettner <[email protected]> |
548 | ||
549 | * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. | |
550 | * rs6000-tdep.c (rs6000_push_arguments): Eliminate | |
551 | ELF_OBJECT_FORMAT ifdef. | |
552 | ||
7495d1dc KB |
553 | 2002-04-08 Kevin Buettner <[email protected]> |
554 | ||
555 | From Jimi X <[email protected]>: | |
556 | * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn(). | |
557 | ||
4288e836 KB |
558 | 2002-04-08 Kevin Buettner <[email protected]> |
559 | ||
560 | From Jimi X <[email protected]>: | |
561 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro | |
562 | definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET. | |
563 | ||
a4e4e501 MK |
564 | 2002-04-07 Mark Kettenis <[email protected]> |
565 | ||
566 | * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions): | |
567 | s/asprintf/xasprintf/. | |
568 | (fbsd_make_corefile_notes): s/strdup/xstrdup/. | |
569 | ||
006defba AC |
570 | 2002-04-07 Andrew Cagney <[email protected]> |
571 | ||
572 | I believe Jeff Law denies responsability for this one: | |
573 | * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. | |
574 | * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. | |
575 | * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. | |
576 | Work-around for PR gdb/366. | |
577 | ||
7aa83cac EZ |
578 | 2002-04-07 Elena Zannoni <[email protected]> |
579 | ||
580 | * remote-e7000.c (write_small, e7000_read_inferior_memory, | |
581 | e7000_read_inferior_memory_large, e7000_insert_breakpoint, | |
582 | e7000_remove_breakpoint): Use paddr_nz() to print addresses. | |
583 | ||
cf1fcca1 EZ |
584 | 2002-04-07 Elena Zannoni <[email protected]> |
585 | ||
586 | * sh-tdep.c (sh_fp_frame_init_saved_regs, | |
587 | sh_nofp_frame_init_saved_regs): Use alloca() for 'where' | |
588 | information. | |
589 | ||
3f289e6f AC |
590 | 2002-04-07 Andrew Cagney <[email protected]> |
591 | ||
592 | * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER | |
593 | maintainer. | |
594 | ||
129188f6 AC |
595 | 2002-04-07 Andrew Cagney <[email protected]> |
596 | ||
597 | * README (Reporting Bugs in GDB): Document the bug web page as the | |
598 | prefered way of submitting bugs. | |
599 | Fix PR gdb/402. | |
600 | ||
1200cd6e AC |
601 | 2002-04-06 Andrew Cagney <[email protected]> |
602 | ||
603 | * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of | |
604 | -1. Update comment. | |
605 | * gdbarch.h, gdbarch.c: Re-generate. | |
606 | ||
2853c33c AS |
607 | 2002-04-07 Andreas Schwab <[email protected]> |
608 | ||
609 | * m68klinux-nat.c (fill_fpregset): Properly pass address of | |
610 | buffer to regcache_collect. | |
611 | ||
c2169756 AC |
612 | 2002-04-06 Andrew Cagney <[email protected]> |
613 | ||
614 | * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. | |
615 | * gdbarch.c, gdbarch.h: Re-generate. | |
616 | ||
25f1b008 AC |
617 | 2002-04-06 Andrew Cagney <[email protected]> |
618 | ||
619 | * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' | |
620 | declaration. Fix -Werror. | |
621 | ||
59263426 DJ |
622 | 2002-04-05 Daniel Jacobowitz <[email protected]> |
623 | ||
624 | * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap. | |
625 | * gdbarch.c: Regenerate. | |
626 | ||
f5db4da3 MS |
627 | 2002-04-05 Michael Snyder <[email protected]> |
628 | ||
80f8a6eb MS |
629 | * breakpoint.c (clear_command): Rewrite middle section to |
630 | combine two loops with identical control conditions. | |
631 | Add a cleanup to eliminate a memory leak. | |
f5db4da3 MS |
632 | * cli/cli-dump.c (restore_section_callback): Use paddr_nz. |
633 | ||
ad3dcc5c L |
634 | 2002-04-05 H.J. Lu ([email protected]) |
635 | ||
636 | * solib-svr4.c (bkpt_names): Add "__start". | |
637 | ||
f32e7a74 AC |
638 | 2002-04-04 Andrew Cagney <[email protected]> |
639 | ||
640 | * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64 | |
641 | as test for 64 bit target. | |
642 | ||
8227c0ff AC |
643 | 2002-04-05 Andrew Cagney <[email protected]> |
644 | ||
645 | * h8500-tdep.c (h8500_write_fp): Delete function. | |
646 | * dwarf2cfi.c (cfi_write_fp): Document as not used. | |
647 | * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. | |
648 | * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. | |
649 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. | |
650 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. | |
651 | * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. | |
652 | (s390_write_fp): | |
653 | * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. | |
654 | * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. | |
655 | * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. | |
656 | (d10v_write_fp): Delete function. | |
657 | * inferior.h (write_fp, generic_target_write_fp): Delete | |
658 | declarations. | |
659 | * regcache.c (generic_target_write_fp): Delete function. | |
660 | (write_fp): Delete function. | |
661 | * gdbarch.sh (TARGET_WRITE_FP): Delete. | |
662 | * gdbarch.h, gdbarch.c: Regenerate. | |
663 | * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. | |
664 | * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. | |
665 | (sparc64_write_fp): Delete declaration. | |
666 | * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. | |
667 | (h8500_write_fp): Delete declaration. | |
668 | ||
2757dd86 AC |
669 | 2002-04-04 Andrew Cagney <[email protected]> |
670 | ||
671 | * sparc-tdep.c (sparc64_write_fp): Delete. | |
672 | (sparc_push_dummy_frame): Replace write_fp call with code to store | |
673 | the FP directly. | |
674 | (sparc_gdbarch_init): Do not initialize write_fp. | |
675 | ||
c69255e1 KB |
676 | 2002-04-05 Kevin Buettner <[email protected]> |
677 | ||
678 | * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable | |
679 | clause. | |
680 | ||
ae767bfb JB |
681 | 2002-03-29 Jim Blandy <[email protected]> |
682 | ||
683 | * stack.c (get_selected_block): Add new argument `addr_in_block', | |
684 | used to return the exact code address we used to select the block, | |
685 | not just the block. | |
686 | * blockframe.c (get_frame_block, get_current_block): Same. | |
687 | * frame.h (get_frame_block, get_current_block, | |
688 | get_selected_block): Update declarations. | |
689 | * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, | |
690 | linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. | |
691 | ||
84d2ac95 MS |
692 | 2002-04-05 Michael Snyder <[email protected]> |
693 | ||
694 | * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in | |
695 | warning message. | |
696 | ||
596aa3bf JB |
697 | 2002-04-05 J. Brobecker <[email protected]> |
698 | ||
699 | * utils.c (xfullpath): New function. | |
700 | * defs.h (xfullpath): Add declaration. | |
701 | * source.c (openp): Use xfullpath in place of gdb_realpath to | |
702 | avoid resolving the basename part of filenames when the | |
703 | associated file is a symbolic link. This fixes a potential | |
704 | inconsistency between the filenames known to GDB and the | |
705 | filenames it prints in the annotations. | |
706 | * symtab.c (lookup_symtab): Use the new xfullpath function, in order | |
707 | to be able to match a filename with either the real filename, or | |
708 | the name of any symbolic link to this file. | |
709 | (lookup_partial_symtab): Ditto. | |
710 | ||
c02f5703 MS |
711 | 2002-04-04 Michael Snyder <[email protected]> |
712 | ||
713 | * breakpoint.c: Add support for hardware breakpoints in overlays. | |
714 | (overlay_events_enabled): New state variable. | |
715 | (insert_breakpoints): Use overlay_events_enabled to decide | |
716 | whether to attempt to set a breakpoint at the overlay load addr. | |
717 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
718 | (remove_breakpoint): Use overlay_events_enabled to decide | |
719 | whether breakpoints need to be removed from overlay load addr. | |
720 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
721 | (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. | |
722 | (create_overlay_event_breakpoint, enable_overlay_breakpoints, | |
723 | disable_overlay_breakpoints): Update overlay_events_enabled. | |
724 | ||
5fb290d7 DJ |
725 | 2002-04-04 Daniel Jacobowitz <[email protected]> |
726 | ||
727 | * dwarf2read.c (struct function_range): New. | |
728 | (cu_first_fn, cu_last_fn, cu_cached_fn): New. | |
729 | (check_cu_functions): New. | |
730 | (read_file_scope): Initialize global function lists. | |
731 | Call dwarf_decode_line after processing children. | |
732 | (read_func_scope): Add to global function list. | |
733 | (dwarf_decode_lines): Call check_cu_functions everywhere | |
734 | record_line is called. Call record_line with a linenumber | |
735 | of 0 to mark sequence ends. | |
736 | ||
7b3fabf0 ML |
737 | 2002-04-04 Michal Ludvig <[email protected]> |
738 | ||
739 | * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI | |
740 | change sync with glibc. | |
741 | ||
bce58c09 JB |
742 | 2002-04-03 Jim Blandy <[email protected]> |
743 | ||
744 | * configure.in: Call AC_C_INLINE. | |
745 | * configure: Regenerated. | |
746 | ||
2fccf04a DJ |
747 | 2002-04-01 Daniel Jacobowitz <[email protected]> |
748 | ||
749 | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" | |
750 | and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h". | |
751 | ||
2d1bfe2e MK |
752 | 2002-03-31 Mark Kettenis <[email protected]> |
753 | ||
a5941fbf MK |
754 | * NEWS: Mention gcore support on FreeBSD/i386. |
755 | ||
a90cd31d MK |
756 | * fbsd-proc.c: New file. |
757 | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. | |
758 | * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o. | |
759 | ||
2d1bfe2e MK |
760 | * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in |
761 | while statement. | |
762 | ||
9eb6e5a1 JB |
763 | 2002-03-29 Jim Blandy <[email protected]> |
764 | ||
765 | * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate | |
766 | unescaped newlines in string literals, but newer ones don't. So | |
767 | escape them. | |
768 | ||
f02df580 MS |
769 | 2002-03-26 Michael Snyder <[email protected]> |
770 | Andrew Cagney <[email protected]> | |
771 | ||
772 | * cli/cli-dump.c: New file. Dump memory to file, | |
773 | restore file to memory. | |
774 | * cli/cli-dump.h: New file. | |
775 | * Makefile.in: Add rules, dependencies for cli-dump.o. | |
89743e04 | 776 | * NEWS: Mention new commands. |
f02df580 | 777 | |
109f874e MS |
778 | 2002-03-28 Michael Snyder <[email protected]> |
779 | ||
780 | * symfile.c (symbol_file_add): Move test for null symbols to later. | |
781 | ||
520f6ade AC |
782 | 2002-03-27 Andrew Cagney <[email protected]> |
783 | ||
784 | From veksler at il.ibm.com: | |
785 | * utils.c (gdb_realpath): If canonicalize_file_name fails, return | |
786 | the xstrduped original path. | |
787 | Fix PR gdb/417. | |
788 | ||
d4654627 MS |
789 | 2002-03-27 Michael Snyder <[email protected]> |
790 | ||
791 | * breakpoint.c (_initialize_breakpoint): Clean up help string. | |
792 | * infcmd.c (_initialize_infcmd): Ditto. | |
793 | * language.c (_initialize_language): Ditto. | |
794 | * symfile.c (_initialize_symfile): Ditto. | |
795 | * top.c (_init_main): Ditto. | |
796 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
797 | ||
6be8bc0c EZ |
798 | 2002-03-27 Elena Zannoni <[email protected]> |
799 | ||
800 | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec | |
801 | vector registers handling. | |
802 | (skip_prologue): Handle new AltiVec instructions. Fill in new | |
803 | fields of frame data. | |
804 | (frame_get_saved_regs): Fill in information for AltiVec registers. | |
805 | ||
12af6855 JB |
806 | 2002-03-27 Jim Blandy <[email protected]> |
807 | ||
808 | * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into | |
809 | a function; leave this macro here to invoke that function. | |
810 | (symbol_init_mangled_name): Declaration for that function. | |
811 | * symtab.c (symbol_init_mangled_name): New function. | |
812 | ||
dc672865 AC |
813 | 2002-03-27 Andrew Cagney <[email protected]> |
814 | ||
815 | * valarith.c: Replace strerror with safe_strerror. | |
816 | * tracepoint.c: Ditto. | |
817 | * lin-lwp.c: Ditto. | |
818 | * go32-nat.c: Ditto. | |
819 | * inflow.c: Ditto. | |
820 | * gnu-nat.c: Ditto. | |
821 | ||
d96429cd AS |
822 | 2002-03-27 Andreas Schwab <[email protected]> |
823 | ||
824 | * event-top.c (command_line_handler): Remove useless if. | |
825 | ||
7e336ba1 AJ |
826 | 2002-03-27 Andreas Jaeger <[email protected]> |
827 | ||
828 | * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright | |
829 | comment. | |
830 | ||
de220d0f ML |
831 | 2002-03-27 Michal Ludvig <[email protected]> |
832 | ||
833 | * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines. | |
834 | (x86_64_num_regs, x86_64_num_gregs): Added extern variables. | |
835 | * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. | |
836 | (x86_64_linux_dr_get_status, supply_gregset), | |
837 | (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. | |
838 | * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. | |
839 | (x86_64_register_info_table): Add. | |
840 | (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. | |
841 | (x86_64_register_raw_size, x86_64_register_virtual_type), | |
842 | (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new | |
843 | general x86_64_register_info_table. | |
844 | (i386_gdbarch_init): gdbarch_register_bytes is now set | |
845 | dynamicaly during initialization. | |
846 | * regformats/reg-x86-64.dat: Synced with changes to registers above. | |
847 | * gdbserver/linux-x86-64-low.c: Ditto. | |
7e336ba1 | 848 | |
0e98d0a7 DJ |
849 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
850 | ||
851 | * gdbserver/server.c (main): Call target_signal_to_host_p | |
852 | and target_signal_to_host on signals received from the remote. | |
853 | * gdbserver/remote-utils.c (prepare_resume_reply): Call | |
854 | target_signal_from_host on signals sent to the remote. | |
855 | * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". | |
856 | * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}. | |
857 | ||
3130066b DJ |
858 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
859 | ||
860 | * signals/signals.c: Include "server.h" in gdbserver build. | |
861 | (target_signal_from_name): Don't use STREQ. | |
862 | (_initialize_signals): Likewise. Don't include function in | |
863 | gdbserver build. | |
864 | ||
9aedf4f4 DJ |
865 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
866 | ||
867 | * signals.c: Moved to... | |
868 | * signals/signals.c: Here. | |
7e336ba1 | 869 | * Makefile (signals.o): Update. |
9aedf4f4 | 870 | |
3fa41cdb JL |
871 | 2002-03-26 Jeff Law ([email protected]) |
872 | ||
873 | * somread.c (som_symtab_read): Remove some commented out code and | |
874 | updated related comments. Do not set the minimal symbol table to | |
875 | mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope | |
876 | in a dynamic executable. | |
877 | * hppa-tdep.c (find_proc_framesize): Sanely handle the case | |
878 | where we are unable to find the minimal symbol for the given | |
879 | PC value. | |
880 | ||
ee677e8d MS |
881 | 2002-03-25 Jeff Law ([email protected]) |
882 | ||
883 | * linux-proc.c (read_mapping): Scan up to end of line for filename. | |
884 | ||
e76e1718 ML |
885 | 2002-03-25 Michal Ludvig <[email protected]> |
886 | ||
887 | * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. | |
888 | ||
18a642a1 AC |
889 | 2002-03-23 Andrew Cagney <[email protected]> |
890 | ||
891 | * command.h: Update copyright. | |
892 | (struct cmd_list_element): Replace definition with opaque | |
893 | declaration. | |
894 | (enum cmd_types): Document that it will eventually be moved to | |
895 | cli/cli-decode.h | |
896 | (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. | |
897 | (MALLOCED_REPLACEMENT): Delete macro. | |
898 | * Makefile.in (cli_decode_h): Add $(command_h). | |
899 | (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). | |
7e336ba1 | 900 | * top.c: Include "cli/cli-decode.h". |
18a642a1 AC |
901 | * completer.c: Include "cli/cli-decode.h". |
902 | * maint.c: Include "cli/cli-decode.h". | |
903 | * cli/cli-decode.h: Include "command.h". | |
904 | (enum command_class): Delete. | |
905 | (enum cmd_types): Comment out. | |
906 | (enum cmd_auto_boolean): Delete. | |
907 | (enum var_types): Delete. | |
908 | ||
b2875cc0 AC |
909 | 2002-03-23 Andrew Cagney <[email protected]> |
910 | ||
911 | * cli/cli-decode.c: Include "gdb_assert.h". | |
912 | (add_set_or_show_cmd): New static function. | |
913 | (add_set_cmd): Rewrite. Use add_set_or_show_cmd. | |
914 | (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy | |
915 | all fields, such as func, from the set command. | |
916 | ||
3b45974e AC |
917 | 2002-03-23 Andrew Cagney <[email protected]> |
918 | ||
919 | * MAINTAINERS (sh-elf): Change warning flag to -w. | |
920 | ||
823ca731 AC |
921 | 2002-03-23 Andrew Cagney <[email protected]> |
922 | ||
923 | * defs.h (error): Add printf format attribute. | |
924 | * thread-db.c (thread_from_lwp): Fix error format string. | |
925 | * stack.c (parse_frame_specification): Ditto. | |
926 | * cli/cli-decode.c (undef_cmd_error): Ditto. | |
927 | * scm-lang.c (scm_lookup_name): Ditto. | |
928 | * tracepoint.c (trace_error): Ditto. | |
929 | * remote-utils.c (usage): Ditto. | |
930 | * remote.c (compare_sections_command): Ditto. | |
931 | Fix PR gdb/328. | |
932 | ||
0e101458 AC |
933 | 2002-03-22 Andrew Cagney <[email protected]> |
934 | ||
935 | * gdbtypes.c (append_composite_type_field): New function. | |
936 | (init_composite_type): New function. | |
937 | * gdbtypes.h (append_composite_type_field): Declare. | |
938 | (init_composite_type): Ditto. | |
939 | ||
8e0662df EZ |
940 | 2002-03-22 Elena Zannoni <[email protected]> |
941 | ||
942 | * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New | |
7e336ba1 | 943 | function. |
8e0662df EZ |
944 | * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. |
945 | * rs6000-tdep.c (rs6000_gdbarch_init): Use different | |
946 | structure returning convention for SYSV ABI case, but not | |
947 | for GNU/Linux, FreeBSD, or NetBSD. | |
948 | ||
3121eff0 DJ |
949 | 2002-03-22 Daniel Jacobowitz <[email protected]> |
950 | ||
951 | * symtab.h (lookup_block_symbol): Add mangled_name argument | |
952 | to prototype. | |
953 | ||
954 | * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol | |
955 | with new mangled_name argument. | |
956 | * linespec.c (decode_line_1): Likewise. | |
957 | * valops (value_of_this): Likewise. | |
958 | * symtab.c (lookup_transparent_type): Likewise. | |
959 | (lookup_symbol_aux): Likewise. Accept new mangled_name argument. | |
960 | (lookup_symbol): If we are given a mangled name, pass it down | |
961 | to lookup_symbol_aux. | |
962 | (lookup_block_symbol): If we are given a mangled name to check | |
963 | against, only return symbols which match it. | |
964 | ||
349b409f CF |
965 | 2002-03-22 Christopher Faylor <[email protected]> |
966 | ||
967 | * win32-nat.c (child_create_inferior): Check for proper shell to use | |
968 | here, in case the user changes it on the fly. | |
969 | (_initialize_inftarg): Remove shell path considerations. | |
970 | ||
2a873819 EZ |
971 | 2002-03-21 Elena Zannoni <[email protected]> |
972 | ||
973 | * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value | |
974 | for gdbarch_max_register_raw_size and max_register_virtual_size. | |
975 | Adjust copyright year. | |
976 | ||
a1b9830c DJ |
977 | 2002-03-21 Daniel Jacobowitz <[email protected]> |
978 | ||
979 | * dbxread.c (process_one_symbol): Extend the first N_SLINE | |
980 | in a function to cover the entire beginning of the function | |
981 | as well if it does not already. | |
982 | ||
8b5790f2 TR |
983 | 2002-03-21 Tom Rix <[email protected]> |
984 | ||
985 | * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32. | |
986 | (rs6000_ptrace64): Renamed from ptrace64. | |
987 | ||
bdbe5747 MH |
988 | 2002-03-20 Martin M. Hunt <[email protected]> |
989 | ||
990 | * gdbserver/remote-utils.c (remote_open): Don't call | |
991 | getprotobyname, we're all using TCP here so just use | |
992 | IPPROTO_TCP. | |
7e336ba1 | 993 | * gdbserver/gdbreplay.c (remote_open): Ditto. |
bdbe5747 MH |
994 | |
995 | 2002-03-20 Martin M. Hunt <[email protected]> | |
7e336ba1 | 996 | |
bdbe5747 MH |
997 | * regcache.c (_initialize_regcache): No need to call |
998 | build_regcache() at this time; it gets called whenever | |
999 | the gdbarch changes. | |
1000 | ||
7781cd62 DB |
1001 | 2002-03-20 David O'Brien <[email protected]> |
1002 | ||
1003 | * sparc-nat.c: Include sys/param.h where possible. | |
1004 | ||
f65ca430 DJ |
1005 | 2002-03-20 Daniel Jacobowitz <[email protected]> |
1006 | ||
1007 | Fix PR gdb/422. | |
1008 | * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, | |
1009 | FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. | |
1010 | * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for | |
1011 | complex types. | |
1012 | * stabsread.c (rs6000_builtin_type): Likewise. | |
1013 | (read_sun_floating_type): Likewise. | |
1014 | ||
0c867556 PS |
1015 | 2002-03-19 Peter Schauer <[email protected]> |
1016 | ||
1017 | * stabsread.c (read_member_functions): Remove skip code for duplicate | |
1018 | constructor/destructor methods. Use standard parsing for these | |
1019 | methods and just do not chain them to the list of methods after | |
1020 | parsing. | |
1021 | ||
12b9c64f AO |
1022 | 2002-03-19 Alexandre Oliva <[email protected]> |
1023 | ||
1024 | * coffread.c: Remove redundant static declarations. Replace | |
1025 | occurrences of `PTR' with `void *'. | |
1026 | * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. | |
1027 | * top.h (quit_cover): Likewise. | |
1028 | * defs.h (catch_errors): Likewise. | |
1029 | ||
349c5d5f AC |
1030 | 2002-03-18 Andrew Cagney <[email protected]> |
1031 | ||
1032 | * defs.h (XMALLOC): Define. | |
1033 | * gdb-events.sh (XMALLOC): Delete macro. | |
1034 | * gdb-events.c, gdb-events.h: Regenerate. | |
1035 | * gdbarch.sh (XMALLOC): Delete macro. | |
1036 | * gdbarch.c: Regenerate. | |
1037 | * serial.c (XMALLOC): Delete macro. | |
1038 | * ui-file.c (XMALLOC): Ditto. | |
1039 | * ser-unix.h (XMALLOC): Ditto. | |
1040 | * sh-tdep.c (XMALLOC): Ditto. | |
1041 | * ui-out.c (XMALLOC): Ditto. | |
1042 | * utils.c (XMALLOC): Ditto. | |
1043 | * i386-tdep.c (XMALLOC): Ditto. | |
1044 | * gdb-events.c (XMALLOC): Ditto. | |
1045 | * d10v-tdep.c (XMALLOC): Ditto. | |
1046 | * cli-out.c (XMALLOC): Ditto. | |
1047 | ||
1048 | * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. | |
1049 | * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. | |
1050 | * ui-file.c, ui-out.c: Ditto. | |
1051 | ||
7d0766f3 AC |
1052 | 2002-03-18 Andrew Cagney <[email protected]> |
1053 | ||
1054 | * command.h (struct cmd_list_element): Add field context. | |
1055 | (set_cmd_context, get_cmd_context): Declare. | |
1056 | * cli/cli-decode.h: Ditto. | |
1057 | * cli/cli-decode.c (get_cmd_context): New function. | |
1058 | (set_cmd_context): New function. | |
1059 | (add_cmd): Initialize context. | |
1060 | Part of fixing PR gdb/145 and PR gdb/146. | |
1061 | ||
5913bcb0 AC |
1062 | 2002-03-17 Andrew Cagney <[email protected]> |
1063 | ||
1868c04e AC |
1064 | * cli/cli-decode.c (cmd_type): New function. |
1065 | * command.h (cmd_type): Declare. | |
1066 | * infrun.c (set_schedlock_func): Call function cmd_type. | |
1067 | * kod.c (kod_set_os): Call cmd_type. | |
1068 | * cris-tdep.c (cris_version_update): Use function cmd_type. | |
1069 | (cris_mode_update, cris_abi_update): Ditto. | |
1070 | ||
5913bcb0 AC |
1071 | * command.h: (execute_cmd_post_hook): Declare. |
1072 | (execute_cmd_pre_hook): Declare. | |
1073 | * cli/cli-script.c (clear_hook_in_cleanup): New function. | |
1074 | (execute_cmd_post_hook, execute_cmd_pre_hook): New | |
1075 | functions. Execute pre/post hook while ensuring that afterwords | |
1076 | hook_in is cleared. | |
1077 | * top.c (execute_command): Use execute_cmd_post_hook, and | |
1078 | execute_cmd_pre_hook to execute pre/post commands. | |
1079 | * infrun.c (normal_stop): Pass stop_command and not pre_hook to | |
1080 | hook_stop_stub. | |
1081 | (hook_stop_stub): Call execute_cmd_pre_hook. | |
1082 | ||
b51450c9 AC |
1083 | 2002-03-17 Andrew Cagney <[email protected]> |
1084 | ||
1085 | * kod.c (kod_set_os): Revert previous change. Is called by ``info | |
1086 | set'' and this leads to a core dump. Move xstrdup of | |
1087 | operating_system to after check that it is not NULL. | |
1088 | ||
f66c9f11 AC |
1089 | 2002-03-17 Andrew Cagney <[email protected]> |
1090 | ||
8e694ecf AC |
1091 | * kod.c (kod_set_os): Remove unnecessary check that |
1092 | ``command->type'' is set_cmd. | |
1093 | ||
f66c9f11 AC |
1094 | * valprint.c (set_input_radix): Use input_radix. |
1095 | (set_output_radix): Use output_radix. | |
1096 | (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix | |
1097 | isn't reverted. | |
1098 | ||
9d01611c AC |
1099 | 2002-03-16 Andrew Cagney <[email protected]> |
1100 | ||
1101 | * value.h (struct value): Delete field ``substring_addr''. Change | |
1102 | aligner fields to force_doublest_align, force_longest_align, | |
ee2d3b3a AC |
1103 | force_core_addr_align and force_pointer_aligh. |
1104 | ||
1105 | * value.h (struct value): Fix typo in above change. | |
9d01611c | 1106 | |
4156bb53 PS |
1107 | 2002-03-16 Peter Schauer <[email protected]> |
1108 | ||
1109 | * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip, | |
1110 | to fix internal_error from ``maintenance print architecture''. | |
1111 | ||
0e5e3ea6 PS |
1112 | 2002-03-16 Peter Schauer <[email protected]> |
1113 | ||
1114 | * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type | |
1115 | for gcc versions after gcc-2.8.1. | |
1116 | ||
9b013045 PS |
1117 | 2002-03-16 Peter Schauer <[email protected]> |
1118 | ||
1119 | * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer | |
1120 | for method resolution. Restore adjustment of ``this'' pointer after | |
1121 | calling value_struct_elt, which was accidentally removed during the | |
1122 | HP merge. | |
1123 | ||
376c9600 AC |
1124 | 2002-03-15 Andrew Cagney <[email protected]> |
1125 | ||
1126 | * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to | |
1127 | value_of_register. | |
1128 | * findvar.c (value_of_register): Add ``frame'' parameter. Pass to | |
1129 | get_saved_register. | |
1130 | * value.h (value_of_register): Update. | |
1131 | ||
a4db0f07 RH |
1132 | 2002-03-14 Richard Henderson <[email protected]> |
1133 | ||
1134 | * configure.in: Detect declaration for canonicalize_file_name. | |
1135 | * utils.c (canonicalize_file_name): Declare, if needed. | |
1136 | (gdb_realpath): Prefer realpath if available and usable. | |
1137 | * config.in, configure: Rebuild. | |
1138 | ||
96383835 RH |
1139 | 2002-03-14 Richard Henderson <[email protected]> |
1140 | ||
1141 | * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as | |
1142 | a constant array bound. | |
1143 | ||
1144 | * MAINTAINERS: Add myself to write-after-approval. | |
1145 | ||
75245b24 MS |
1146 | 2002-03-14 Michael Snyder <[email protected]> |
1147 | ||
1148 | * symfile.c (syms_from_objfile): Return immediately if no syms. | |
1149 | (symbol_file_add): Return immediately if no syms. | |
1150 | (find_sym_fns): Return immediately if no syms. | |
1151 | ||
e641a1ca ML |
1152 | 2002-03-13 Michal Ludvig <[email protected]> |
1153 | ||
1154 | * gdbserver/remote-util.c (remote_open): Print remote-side's | |
1155 | IP address when remote debugging over the network. | |
7e336ba1 | 1156 | |
df08bfec DB |
1157 | 2002-03-12 David O'Brien <[email protected]> |
1158 | ||
1159 | * config/sparc/fbsd.mh: Fix copyright. | |
1160 | * config/sparc/fbsd.mt: Likewise. | |
1161 | ||
9a57864f RE |
1162 | 2002-03-11 Richard Earnshaw <[email protected]> |
1163 | ||
1164 | * MAINTAINERS: Fix typo in name of gdb warnings option. | |
1165 | (x86-64): Fix formating so that this can be parsed by awk. | |
1166 | ||
dd7bf85e DJ |
1167 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
1168 | ||
1169 | * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. | |
1170 | * defs.h: Include "gdb/signals.h". | |
1171 | (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. | |
1172 | ||
33a0a2ac ML |
1173 | 2002-03-10 Michal Ludvig <[email protected]> |
1174 | ||
1175 | * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c | |
7e336ba1 | 1176 | * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here |
33a0a2ac ML |
1177 | from x86-64-tdep.h |
1178 | ||
dd824b04 DJ |
1179 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
1180 | Don Howard <[email protected]> | |
1181 | ||
1182 | * mips-tdep.c (ST0_FR): Define. | |
1183 | (mips2_fp_compat): New function, temporarily disabled. | |
1184 | (mips_read_fp_register_single): New function. | |
1185 | (mips_read_fp_register_double): New function. | |
1186 | (mips_print_register): Use them. | |
1187 | (do_fp_register_row): Likewise. | |
1188 | ||
6a41ff59 AC |
1189 | 2002-03-09 Andrew Cagney <[email protected]> |
1190 | ||
1191 | * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after | |
1192 | approval''. | |
1193 | ||
4ea09c10 PS |
1194 | 2002-03-08 Peter Schauer <[email protected]> |
1195 | ||
1196 | * stabsread.c (read_member_functions): Fix is_stub test for | |
1197 | static member functions, improve comment. | |
1198 | ||
6ccc741d RE |
1199 | 2002-03-07 Richard Earnshaw <[email protected]> |
1200 | ||
1201 | * remote-rdi.c (myprint): Replace 'PTR' with 'void *'. | |
1202 | (mywrite, mywritec, mypause, myreadc, mygets): Likewise. | |
1203 | (_initialize_remote_rdi): Use add_set_boolean_cmd to register | |
1204 | commands that set boolean values. | |
1205 | (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning. | |
1206 | (arm_rdi_resume): Always initialize PC. | |
1207 | (arm_rdi_open): Don't use rslt as a boolean. | |
1208 | (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume) | |
1209 | (arm_rdi_fetch_registers, arm_rdi_store_registers) | |
1210 | (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill) | |
1211 | (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise. | |
1212 | ||
438013df AO |
1213 | 2002-03-06 Alexandre Oliva <[email protected]> |
1214 | ||
1215 | * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX. | |
1216 | * configure: Rebuilt. | |
1217 | ||
70ed8774 SC |
1218 | 2002-03-06 Stephane Carrez <[email protected]> |
1219 | ||
1220 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn. | |
1221 | (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead. | |
1222 | ||
5ba2abeb AC |
1223 | 2002-03-06 Andrew Cagney <[email protected]> |
1224 | ||
1225 | * cli/cli-decode.c (set_cmd_completer): New function. | |
1226 | * command.h (set_cmd_completer): Declare. | |
1227 | * cli/cli-decode.h (set_cmd_completer): Ditto. | |
1228 | ||
1229 | * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer. | |
1230 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
1231 | * win32-nat.c (_initialize_inftarg): Ditto. | |
1232 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
1233 | * proc-api.c (_initialize_proc_api): Ditto. | |
1234 | * hppa-tdep.c (_initialize_hppa_tdep): Ditto. | |
1235 | * source.c (_initialize_source): Ditto. | |
1236 | * exec.c (_initialize_exec): Ditto. | |
1237 | * solib.c (_initialize_solib): Ditto. | |
1238 | * top.c (init_main): Ditto. | |
1239 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
1240 | * symfile.c (_initialize_symfile): Ditto. | |
1241 | * printcmd.c (_initialize_printcmd): Ditto. | |
1242 | * infcmd.c (_initialize_infcmd): Ditto. | |
1243 | * corefile.c (_initialize_core): Ditto. | |
1244 | ||
f779ca99 AC |
1245 | 2002-03-05 Andrew Cagney <[email protected]> |
1246 | ||
1247 | * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. | |
1248 | ||
01a3934b AC |
1249 | 2002-03-05 Andrew Cagney <[email protected]> |
1250 | ||
1251 | * MAINTAINERS: Fix Mac OS X and Objective-C/C++. | |
1252 | ||
37057839 AC |
1253 | 2002-03-05 Andrew Cagney <[email protected]> |
1254 | ||
1255 | * NEWS: Update headings, 5.2 has branched. | |
1256 | ||
c6ecbae5 DJ |
1257 | 2002-03-04 Daniel Jacobowitz <[email protected]> |
1258 | ||
1259 | * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. | |
1260 | (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. | |
1261 | (register_addr, REGISTER_RAW_SIZE): Likewise. | |
1262 | (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. | |
1263 | * gdbserver/linux-x86-64-low.c: Remove extra #endif. | |
1264 | ||
e9f30c21 ML |
1265 | 2002-03-03 Michal Ludvig <[email protected]> |
1266 | ||
1267 | * MAINTAINERS (x86-64): Add myself. | |
1268 | * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs, | |
1269 | changed value_ptr -> struct value * | |
1270 | ||
54394ac3 DB |
1271 | 2002-03-01 David O'Brien <[email protected]> |
1272 | ||
1273 | * configure.host (sparc64-*-freebsd): Add. | |
1274 | * configure.tgt: Likewise. | |
1275 | * config/sparc/fbsd.mh: New file. | |
1276 | * config/sparc/fbsd.mt: Likewise. | |
1277 | * config/sparc/nm-fbsd.h: Likewise. | |
1278 | * config/sparc/tm-fbsd.h: Likewise. | |
1279 | ||
bfe95955 DJ |
1280 | 2002-03-01 Daniel Jacobowitz <[email protected]> |
1281 | ||
1282 | * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and | |
1283 | regformats/reg-s390x.dat. | |
1284 | ||
f33c6cbf AC |
1285 | 2002-03-01 Andrew Cagney <[email protected]> |
1286 | ||
1287 | * utils.c: Add FIXME explaining true/false problem. | |
1288 | ||
5ecaa7dd AC |
1289 | 2002-02-28 Andrew Cagney <[email protected]> |
1290 | ||
1291 | * MAINTAINERS (Past Maintainers): Add J.T. Conklin. | |
1292 | ||
2a251cc2 MC |
1293 | 2002-02-28 Michael Chastain <[email protected]> |
1294 | ||
1295 | * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs . | |
1296 | ||
6a8031a3 | 1297 | 2002-02-28 Daniel Jacobowitz <[email protected]> |
265f716b DJ |
1298 | |
1299 | * gdbserver/linux-s390-low.c: New file. | |
1300 | * regformats/reg-s390.dat: New file. | |
1301 | * regformats/reg-s390x.dat: New file. | |
1302 | * gdbserver/configure.srv: Add S/390. | |
1303 | * gdbserver/Makefile.in: Add S/390. | |
1304 | * configure.tgt: Enable gdbserver for S/390. | |
1305 | ||
ac469903 EZ |
1306 | 2002-02-28 Eli Zaretskii <[email protected]> |
1307 | ||
1308 | * go32-nat.c (_initialize_go32_nat): Don't use periods in the | |
1309 | first line of the doc string for "info dos", except at the end of | |
1310 | the sentence, since the short help stops at the first period. | |
1311 | ||
985cb1a3 JM |
1312 | 2002-02-28 Jason Merrill <[email protected]> |
1313 | ||
1314 | * dwarf2read.c (dwarf_cfi_name): Add new codes. | |
1315 | ||
c570663e FF |
1316 | 2002-02-27 Fred Fish <[email protected]> |
1317 | ||
1318 | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in | |
1319 | comment (dumy -> dummy). | |
1320 | ||
43630227 PS |
1321 | 2002-02-27 Peter Schauer <[email protected]> |
1322 | ||
1323 | * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. | |
1324 | ||
b84911e8 RB |
1325 | 2002-02-27 Rodney Brown <[email protected]> |
1326 | ||
1327 | * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. | |
1328 | ||
58caa3dc DJ |
1329 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
1330 | ||
1331 | * gdbserver/acconfig.h: New file. | |
1332 | * gdbserver/i387-fp.c: New file. | |
1333 | * gdbserver/i387-fp.h: New file. | |
1334 | * gdbserver/linux-x86-64.c: New file. | |
1335 | * regformats/reg-x86-64.dat: New file. | |
1336 | * configure.tgt: Add x86_64-*-linux* gdbserver support. | |
1337 | * gdbserver/configure.srv: Add x86_64-*-linux* and regset support. | |
1338 | * gdbserver/configure.in: Add support for regsets. | |
1339 | * gdbserver/config.in: Regenerate. | |
1340 | * gdbserver/configure: Regenerate. | |
1341 | * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). | |
1342 | * gdbserver/linux-low.h: New file. | |
1343 | * gdbserver/linux-low.c: Include "linux-low.h". Add support | |
1344 | for regsets. | |
1345 | * gdbserver/linux-arm-low.c: Include "linux-low.h". | |
1346 | * gdbserver/linux-ia64-low.c: Include "linux-low.h". | |
1347 | * gdbserver/linux-m68k-low.c: Include "linux-low.h". | |
1348 | * gdbserver/linux-mips-low.c: Include "linux-low.h". | |
1349 | * gdbserver/linux-ppc-low.c: Include "linux-low.h". | |
1350 | * gdbserver/linux-sh-low.c: Include "linux-low.h". | |
1351 | * gdbserver/linux-i386-low.c: Include "linux-low.h". Include | |
1352 | "i387-fp.h". Add PTRACE_GETREGS and friends. | |
1353 | * gdbserver/regcache.c (supply_register): New function. | |
1354 | (supply_register_by_name): New function. | |
1355 | (collect_register): New function. | |
1356 | (collect_register_by_name): New function. | |
1357 | ||
93652174 DJ |
1358 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
1359 | ||
1360 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. | |
1361 | (config.status): Add configure.srv dependency. | |
1362 | (server_h): Add config.h dependency. | |
1363 | ||
a02e4a61 DJ |
1364 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
1365 | ||
1366 | * regformats/reg-i386-linux.dat: New file, with $orig_eax. | |
1367 | * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. | |
1368 | * gdbserver/configure.srv: Change i386-*-linux* to use | |
1369 | reg-i386-linux.o. | |
1370 | ||
ce0eebec AC |
1371 | 2002-02-26 Andrew Cagney <[email protected]> |
1372 | ||
1373 | * x86-64-tdep.c: Re-indent. Update copyright date. | |
1374 | ||
82dbc5f7 AC |
1375 | 2002-02-26 Andrew Cagney <[email protected]> |
1376 | ||
1377 | From Michal Ludvig <[email protected]>: | |
1378 | * x86-64-tdep.c (value.h): Delete. | |
1379 | (gdb_assert.h): Include. | |
1380 | (x86_64_register_convert_to_virtual, | |
1381 | x86_64_register_convert_to_raw ): Add check which lets only | |
1382 | floating-point values to be converted. | |
1383 | (value_push): Delete. | |
1384 | (x86_64_push_arguments): Order of arguments pushed on stack fixed. | |
1385 | (i386_gdbarch_init): Number of register_bytes fixed. | |
1386 | ||
e4621584 AC |
1387 | 2002-02-26 Andrew Cagney <[email protected]> |
1388 | ||
1389 | * MAINTAINERS: Add x86-64 target. | |
1390 | ||
81a9a963 AC |
1391 | 2002-02-26 Andrew Cagney <[email protected]> |
1392 | ||
1393 | * memattr.c (mem_command): Eliminate ``true'' and ``false''. | |
1394 | * osfsolib.c (solib_map_sections): Ditto. | |
1395 | * irix5-nat.c (solib_map_sections): Ditto. | |
1396 | * corelow.c (gdb_check_format): Ditto. | |
1397 | * symfile.c (symfile_bfd_open): Ditto. | |
1398 | * solib.c (solib_map_sections): Ditto. | |
1399 | Fix PR gdb/354. | |
7e336ba1 | 1400 | |
0f017ab9 AC |
1401 | 2002-02-26 Andrew Cagney <[email protected]> |
1402 | ||
1403 | * remote.c (_initialize_remote): By default, disable ``e'' and | |
1404 | ``E'' step out-of-range packets. | |
1405 | ||
75738c29 AS |
1406 | 2002-02-26 Andreas Schwab <[email protected]> |
1407 | ||
1408 | * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as | |
1409 | m68k_linux_frame_saved_pc. | |
1410 | (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of | |
1411 | in_sigtramp. | |
1412 | (SIGCONTEXT_PC_OFFSET): Remove. | |
1413 | * m68klinux-nat.c (m68k_linux_frame_saved_pc, | |
1414 | m68k_linux_sigtramp_saved_pc): New functions. | |
1415 | (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define. | |
1416 | (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h. | |
1417 | (UCONTEXT_PC_OFFSET): Define. | |
1418 | (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both | |
1419 | non-RT and RT signal trampolines. | |
1420 | ||
7e8ed687 RE |
1421 | 2002-02-26 Richard Earnshaw <[email protected]> |
1422 | ||
1423 | * config/arm/tm-embed.h (TARGET_UPAGES): Delete. | |
1424 | (TARGET_NBPG, STACK_END_ADDR): Delete | |
1425 | (VARIABLES_INSIDE_BLOCK): Delete. | |
1426 | ||
6972bc8b AC |
1427 | 2002-02-25 Andrew Cagney <[email protected]> |
1428 | ||
1429 | * utils.c (perror_with_name): Make string parameter constant. | |
1430 | (print_sys_errmsg): Ditto. | |
1431 | (query): Ditto. | |
1432 | * defs.h (perror_with_name): Update. | |
1433 | (print_sys_errmsg): Update. | |
1434 | (query): Update. | |
1435 | ||
aa32f823 DJ |
1436 | 2002-02-25 Daniel Jacobowitz <[email protected]> |
1437 | ||
1438 | From Eliot Dresselhaus <[email protected]>: | |
1439 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. | |
1440 | ||
19caaa45 PS |
1441 | 2002-02-25 Peter Schauer <[email protected]> |
1442 | ||
1443 | * rs6000-nat.c (set_host_arch): Do not switch to a new architecture | |
1444 | if it already matches the current architecture from the exec file. | |
1445 | Include arch-utils.h for gdbarch_info_init prototype. | |
1446 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
1447 | ||
d951901f EZ |
1448 | 2002-02-25 Eli Zaretskii <[email protected]> |
1449 | ||
1450 | * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the | |
1451 | list of exported variables. | |
1452 | ||
7ea81414 DJ |
1453 | 2002-02-24 Daniel Jacobowitz <[email protected]> |
1454 | ||
1455 | * gdbserver/configure.srv: New file. | |
1456 | * gdbserver/configure.in: Use configure.srv instead | |
1457 | of the host/target makefile fragments. Set GDBSERVER_DEPFILES | |
1458 | from it. | |
1459 | * gdbserver/configure: Regenerated. | |
1460 | * gdbserver/terminal.h: New file. | |
1461 | * gdbserver/Makefile.in: Update for configure changes. Remove | |
1462 | more unneeded include paths. | |
1463 | ||
080fe24b AC |
1464 | 2002-02-24 Andrew Cagney <[email protected]> |
1465 | ||
1466 | From wiz at danbala: | |
1467 | * config/sparc/tm-sp64.h: Fix grammar and typos. | |
1468 | Fix PR gdb/287. | |
1469 | ||
8605d56e AC |
1470 | 2002-02-24 Andrew Cagney <[email protected]> |
1471 | ||
1472 | * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux'' | |
a4b6fc86 AC |
1473 | with either ``GNU/Linux'' or ``Linux kernel''. Update copyright. |
1474 | * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto. | |
1475 | * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto. | |
ca557f44 AC |
1476 | * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. |
1477 | * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. | |
1478 | * s390-tdep.c: Ditto. | |
92362027 AC |
1479 | * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. |
1480 | * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: | |
1481 | * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. | |
1482 | * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. | |
1483 | * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. | |
1484 | * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. | |
1485 | * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. | |
1486 | * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. | |
1487 | * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. | |
1488 | * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. | |
8605d56e | 1489 | Fix PR gdb/378. |
7e336ba1 | 1490 | |
8ed32cc0 AC |
1491 | 2002-02-23 Andrew Cagney <[email protected]> |
1492 | ||
a3007b6f AC |
1493 | * lin-thread.c: Delete file. |
1494 | * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer | |
1495 | to gdb_proc_service.h. | |
1496 | * configure: Re-generate. | |
1497 | ||
50a9e2f1 AC |
1498 | * ocd.c (ocd_open): Do not try to open the "ocd" device. |
1499 | * serial.c (serial_open): Delete check for "ocd". | |
1500 | Fix PR gdb/349. | |
1501 | ||
8b6e7932 AC |
1502 | * Makefile.in (linux-thread.o): Delete target. |
1503 | * linux-thread.c: Delete file. | |
1504 | ||
d155c46b AC |
1505 | * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other |
1506 | renamed SH files to be consistent. | |
1507 | ||
8ed32cc0 AC |
1508 | * symtab.c (sort_search_symbols): Use xfree. |
1509 | ||
0e18d038 RE |
1510 | 2002-02-23 Richard Earnshaw <[email protected]> |
1511 | ||
1512 | * arm-linux-tdep.c (arm_linux_init_abi): Register | |
1513 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE | |
1514 | * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old | |
1515 | definition with undef, since we don't want the sysvr4 definition. | |
1516 | (SKIP_TRAMPOLINE_CODE): Likewise. | |
1517 | ||
27aac7ff AC |
1518 | 2002-02-23 Andrew Cagney <[email protected]> |
1519 | ||
1520 | From 2002-02-22 Alfred M. Szmidt <[email protected]>: | |
1521 | ||
1522 | * configure.in: (AC_CHECK_FUNCS) Added test for | |
1523 | canonicalize_file_name Regenerated. | |
1524 | * config.in, configure: Regenerated. | |
1525 | * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is | |
1526 | defined use canonicalize_file_name. | |
7e336ba1 | 1527 | |
65a6e0ee MC |
1528 | 2002-02-23 Michael Chastain <[email protected]> |
1529 | ||
1530 | * MAINTAINERS: Remove Michael Chastain from "paper trail" list. | |
1531 | ||
47b95330 AC |
1532 | 2002-02-23 Andrew Cagney <[email protected]> |
1533 | ||
1534 | * README: Remove references to cygnus.com. | |
1535 | * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar | |
1536 | dot com'' form. Remove references to cygnus.com and sourceware. | |
1537 | ||
696f451b AC |
1538 | 2002-02-23 Andrew Cagney <[email protected]> |
1539 | ||
1540 | From 2002-02-19 Paul Eggert <[email protected]>: | |
1541 | * Makefile.in (VER): Change "head -1" to "sed q", since POSIX | |
1542 | 1003.1-2001 no longer allows "head -1". | |
1543 | * gdb/Makefile.in (version.c): Likewise. | |
1544 | * gdb/doc/Makefile.in (GDBvn.texi): Likewise. | |
1545 | * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is | |
1546 | equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". | |
1547 | ||
bbaca940 AC |
1548 | 2002-02-23 Andrew Cagney <[email protected]> |
1549 | ||
1550 | * cli/cli-decode.c (cmd_cfunc_eq): New function. | |
1551 | * command.h (cmd_cfunc_eq): Declare. | |
1552 | * cli/cli-decode.h (cmd_cfunc_eq): Ditto. | |
1553 | ||
1554 | * cli/cli-cmds.h (is_complete_command): Change parameter to a | |
1555 | ``struct cmd_list_element *''. | |
1556 | * cli/cli-cmds.c (is_complete_command): Update. Use | |
1557 | cmd_cfunc_eq. | |
1558 | * top.c (execute_command): Pass the command to | |
1559 | is_complete_command. | |
1560 | * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq. | |
1561 | ||
b8b8b047 AC |
1562 | 2002-02-23 Andrew Cagney <[email protected]> |
1563 | ||
1564 | From 2002-02-20 Martin Schwidefsky <[email protected]>: | |
1565 | * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed | |
1566 | architecture defines. | |
1567 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
1568 | ||
19d3fc80 RE |
1569 | 2002-02-23 Richard Earnshaw <[email protected]> |
1570 | ||
1571 | * arm-linux-tdep.c (arm_linux_extract_return_value): Make static. | |
1572 | (arm_linux_push_arguments): Likewise. | |
1573 | (arm_linux_init_abi): Register them. Also register linux-specific | |
1574 | call_dummy_words. | |
1575 | (find_minsym_and_objfile): Use strcmp, not STREQ. | |
1576 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. | |
1577 | (arm_linux_call_dummy_words): Delete declaration. | |
1578 | (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. | |
1579 | (arm_linux_extract_return_value, arm_linux_push_arguments): Delete | |
1580 | declarations. | |
1581 | (LOWEST_PC): Delete. | |
1582 | ||
3ab13650 PS |
1583 | 2002-02-23 Peter Schauer <[email protected]> |
1584 | ||
1585 | * maint.c (print_section_info): Do not prepend `0x' to filepos | |
1586 | output, it will be handled by local_hex_string_custom. | |
1587 | ||
19d3fc80 | 1588 | 2002-02-23 Richard Earnshaw <[email protected]> |
85ae890c RE |
1589 | |
1590 | * arm-linux-nat.c (store_newfpe_single): Use regcache_collect. | |
1591 | (store_newfpe_double, store_newfpe_extended, store_fpregister) | |
1592 | (store_register, store_regs, fill_gregset, fill_fpregset): Likewise. | |
1593 | ||
d85a5daf JB |
1594 | 2002-02-22 Jim Blandy <[email protected]> |
1595 | ||
1596 | Indicate that the bcache functions don't change the strings | |
1597 | they're passed. | |
1598 | * bcache.h (bcache, hash): Add `const' keywords to declarations. | |
1599 | * bcache.c (bcache, hash): Add `const' keywords to definitions. | |
1600 | ||
eeb25b8a PM |
1601 | 2002-02-22 Pierre Muller <[email protected]> |
1602 | ||
1603 | * win32-nat.c (child_create_inferior): Fix create flags setting bug. | |
1604 | ||
6badb179 CF |
1605 | 2002-02-21 Christopher Faylor <[email protected]> |
1606 | ||
1607 | * win32-nat.c (register_loaded_dll): Just use raw name when we can't | |
1608 | find the complete path to a loaded DLL. | |
1609 | ||
e8717518 FF |
1610 | 2002-02-21 Fred Fish <[email protected]> |
1611 | ||
1612 | * dbxread.c (process_one_symbol): When finding an N_FUN symbol | |
1613 | that marks the end of the range of a function, enter a line number | |
1614 | entry that has a line number of zero and a PC offset that matches | |
1615 | the end of the function. This starts a range of PC's for which no | |
1616 | line number information is known. | |
1617 | * symtab.c (find_pc_sect_line): If our best fit is in a range of | |
1618 | PC's for which no line number info is found (line number is zero) | |
1619 | then we didn't find any valid line information. | |
1620 | * symtab.h: Document use of zero line number entry. | |
1621 | ||
9abe5450 EZ |
1622 | 2002-02-21 Elena Zannoni <[email protected]> |
1623 | ||
1624 | * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. | |
1625 | (have_ptrace_getvrregs): Define for run time checks. | |
1626 | (gdb_vrregset_t): New type for Altivec register handling. | |
1627 | (fetch_register, store_register): Fetch/store altivec register | |
1628 | when needed. | |
1629 | (fetch_altivec_register, store_altivec_register): New functions. | |
1630 | (supply_vrregset, fill_vrregset): New functions. | |
1631 | (fetch_altivec_registers, store_altivec_registers): New functions. | |
1632 | (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec | |
1633 | registers as well. | |
1634 | ||
aaa38bb5 AJ |
1635 | 2002-02-21 Jiri Smid <[email protected]> |
1636 | ||
1637 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. | |
1638 | ||
b34db576 RE |
1639 | 2002-02-21 Richard Earnshaw <[email protected]> |
1640 | ||
1641 | * Makefile.in (armnbsd-nat.o): Update dependencies. | |
1642 | * armnbsd-nat.c (supply_gregset): New function. Common code to | |
1643 | supply the integer register set. | |
1644 | (supply_fparegset): New function. Similar for FPA registers. | |
1645 | (fetch_regs, fetch_fp_regs): Use them. | |
1646 | (fetch_core_registers): Likewise. | |
1647 | (fetch_elfcore_registers): New function. | |
1648 | (arm_netbsd_elfcore_fns): New core-file type specification. | |
1649 | (_initialize_arm_netbsd_nat): Register it. | |
1650 | ||
3e56fc4b RE |
1651 | 2002-02-21 Richard Earnshaw <[email protected]> |
1652 | ||
1653 | * armnbsd-nat.c: Include gdbcore.h. | |
1654 | (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. | |
1655 | (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit | |
1656 | 'void' to declaration, to shut up ARI. | |
1657 | (fetch_core_registers): Make static. Rewrite using supply_register. | |
1658 | (arm_netbsd_core_fns): New core-file type specification. | |
1659 | (_initialize_arm_netbsd_nat): New function. | |
1660 | ||
097f6b0b CF |
1661 | 2002-02-21 Christopher Faylor <[email protected]> |
1662 | ||
1663 | * win32-nat.c (register_loaded_dll): Correctly check for invalid handle | |
1664 | value. | |
1665 | ||
c914e0cc CF |
1666 | 2002-02-20 Christopher Faylor <[email protected]> |
1667 | ||
1668 | * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile | |
1669 | fails. | |
1670 | ||
385fa495 DJ |
1671 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
1672 | ||
1673 | * jv-exp.y (parse_number): Change type of implicit longs | |
1674 | to builtin_type_uint64. | |
1675 | ||
e5f1222d DJ |
1676 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
1677 | ||
1678 | * gdbserver/linux-low.c (mywait): Change argument to waitpid | |
1679 | to be an integer instead of a `union wait'. | |
1680 | ||
75c9abc6 DJ |
1681 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
1682 | ||
1683 | * mips-linux-nat.c: Call the operating system GNU/Linux. | |
1684 | * mips-linux-tdep.c: Likewise. | |
1685 | * mips-tdep.c: Likewise. | |
1686 | ||
551792a5 DJ |
1687 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
1688 | ||
1689 | Fix PR gdb/265. | |
1690 | * jv-exp.y (parse_number): Handle 64-bit integers. | |
1691 | ||
ee6e2b82 DJ |
1692 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
1693 | ||
1694 | * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change | |
1695 | AC_STDC_HEADERS to AC_HEADER_STDC. | |
1696 | * gdbserver/configure: Regenerated. | |
1697 | ||
a48442a0 RE |
1698 | 2002-02-20 Richard Earnshaw <[email protected]> |
1699 | ||
1700 | * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC | |
1701 | is defined. | |
1702 | * sparc-tdep.c (get_longjmp_target): Likewise. | |
1703 | ||
fe419ffc RE |
1704 | 2002-02-20 Richard Earnshaw <[email protected]> |
1705 | ||
1706 | * News: Add news about ARM and Multi-arch. Mention the new target | |
1707 | arm*-*-netbsd*. | |
1708 | ||
5832ed7e JB |
1709 | 2002-02-19 Jim Blandy <[email protected]> |
1710 | ||
1711 | * stabsread.c (error_type_complaint): Improve error message. | |
1712 | ||
84563040 DJ |
1713 | 2002-02-19 Daniel Jacobowitz <[email protected]> |
1714 | ||
1715 | * gdbserver/README: Update documentation. | |
1716 | * gdbserver/configure.in: Update configury to match documentation. | |
1717 | * gdbserver/Makefile.in: Likewise. | |
1718 | * gdbserver/configure: Regenerated. | |
1719 | * gdbserver/aclocal.m4: New file, generated by aclocal. | |
1720 | * gdbserver/config.in: New file, generated by autoheader. | |
1721 | ||
375fd65b RE |
1722 | 2002-02-19 Richard Earnshaw <[email protected]> |
1723 | ||
1724 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and | |
1725 | armnbsd-nat.c. | |
1726 | ||
08216dd7 RE |
1727 | 2002-02-19 Richard Earnshaw <[email protected]> |
1728 | ||
1729 | * arm-tdep.h (enum arm_float_model): New enum. | |
1730 | (struct gdbarch_tdep): Add fp_model. | |
1731 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting | |
1732 | up floating-point conversions until we know the floating-point model | |
1733 | in use by the inferior. Don't complain about being unable to | |
1734 | determine the ABI of the inferior when we don't have one. | |
1735 | (arm_extract_return_value): Support different floating-point models. | |
1736 | (arm_store_return_value): Likewise. | |
aaa38bb5 | 1737 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to |
08216dd7 RE |
1738 | ARM_FLOAT_SOFT. |
1739 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. | |
1740 | ||
65d6d66a PS |
1741 | 2002-02-19 Peter Schauer <[email protected]> |
1742 | ||
1743 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use | |
1744 | of ``current_gdbarch''. | |
1745 | ||
47221191 RE |
1746 | 2002-02-19 Richard Earnshaw <[email protected]> |
1747 | ||
1748 | * armnbsd-nat.c : ANSIfy all function declarations. | |
1749 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. | |
1750 | (fetch_inferior_registers): Re-implement in terms of above. | |
1751 | (store_register, store_regs, store_fp_register, store_fp_regs): New. | |
1752 | (store_inferior_registers): Re-implement in terms of above. | |
1753 | ||
fdf39c9a RE |
1754 | 2002-02-19 Richard Earnshaw <[email protected]> |
1755 | ||
aaa38bb5 | 1756 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the |
fdf39c9a RE |
1757 | kernel. |
1758 | * arm-linux-tdep.c: Likewise. | |
1759 | * config/arm/tm-linux.h: Likewise. | |
1760 | ||
93247f88 RE |
1761 | 2002-02-19 Richard Earnshaw <[email protected]> |
1762 | ||
1763 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. | |
1764 | * config/arm/nbsd.mt (TM_FILE): Delete. | |
1765 | * config/arm/tm-nbsd.h: Delete. | |
1766 | ||
d7b486e7 RE |
1767 | 2002-02-19 Richard Earnshaw <[email protected]> |
1768 | ||
1769 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. | |
1770 | Initialize CALL_DUMMY_LENGTH. | |
1771 | ||
41d39a95 RE |
1772 | 2002-02-19 Richard Earnshaw <[email protected]> |
1773 | ||
1774 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New | |
1775 | function. | |
1776 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. | |
aaa38bb5 | 1777 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only |
41d39a95 RE |
1778 | defines one thing and that is incorrect for this port. |
1779 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
1780 | ||
e1195560 PM |
1781 | 2002-02-18 Pierre Muller <[email protected]> |
1782 | ||
1783 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. | |
1784 | ||
c1748f97 PM |
1785 | 2002-02-18 Pierre Muller <[email protected]> |
1786 | ||
1787 | * win32-nat.c (display_selector): New function. Displays information | |
1788 | about the information returned by GetThreadSelectorEntry API function. | |
1789 | (display_selectors): New function. Displays the infomation of | |
1790 | the selector given as argument, or of CS, DS ans FS selectors | |
1791 | if no argument is given. | |
1792 | ( _initialize_inftarg): Add "w32" as info prefix command. | |
1793 | Add "info w32 selector" as command calling display_selectors. | |
1794 | ||
e41e6bbf PM |
1795 | 2002-02-19 Pierre Muller <[email protected]> |
1796 | ||
1797 | * i386-tdep.c (get_longjmp_target): Fix compilation failure | |
1798 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE | |
1799 | if not defined. | |
1800 | ||
0d3a9f48 RE |
1801 | 2002-02-18 Richard Earnshaw <[email protected]> |
1802 | ||
1803 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. | |
1804 | ||
3fb4b924 RE |
1805 | 2002-02-18 Richard Earnshaw <[email protected]> |
1806 | ||
1807 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. | |
1808 | (arm_fix_call_dummy): Call it. | |
1809 | (arm_call_dummy_breakpoint_offset): Delete. | |
1810 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. | |
1811 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
1812 | ||
7f55af32 AC |
1813 | 2002-02-18 Andrew Cagney <[email protected]> |
1814 | ||
1815 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. | |
1816 | Default to func_frame_chain_valid. | |
1817 | * gdbarch.h, gdbarch.c: Re-generate. | |
1818 | * frame.h (FRAME_CHAIN_VALID): Delete definition. | |
1819 | ||
05f13b9c EZ |
1820 | 2002-02-18 Elena Zannoni <[email protected]> |
1821 | ||
1822 | * ppc-linux-nat.c: Update copyright. | |
1823 | (fetch_register, store_register): Add tid parameter, don't compute | |
1824 | tid here. | |
1825 | (fetch_ppc_registers, store_ppc_registers): Add tid | |
1826 | parameter. Pass it along to callees. | |
1827 | (fetch_inferior_registers, store_inferior_registers): Compute tid | |
1828 | here, and pass it to calleed functions. | |
1829 | (fill_gregset, supply_fpregset): Clean up formatting. | |
1830 | ||
d7afb4c9 RE |
1831 | 2002-02-18 Richard Earnshaw <[email protected]> |
1832 | ||
1833 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. | |
1834 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. | |
1835 | ||
9df628e0 RE |
1836 | 2002-02-18 Richard Earnshaw <[email protected]> |
1837 | ||
1838 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. | |
1839 | * gdbarch.c gdbarch.h: Regenerate. | |
1840 | * breakpoint.c (create_longjmp_breakpoint): Always compile this | |
1841 | function. | |
1842 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). | |
1843 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. | |
1844 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). | |
1845 | ||
1846 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. | |
1847 | * arm-tdep.c (arm_get_longjmp_target): New function. | |
1848 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes | |
1849 | this to a positive value register arm_get_longjmp_target as the | |
1850 | longjmp handler. | |
1851 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. | |
1852 | (arm_linux_init_abi): Set up longjmp description in tdep. | |
1853 | * armnbsd-nat.c (get_longjmp_target): Delete. | |
1854 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp | |
1855 | description in tdep. | |
1856 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. | |
1857 | (get_longjmp_target): Delete declaration. | |
1858 | (GET_LONGJMP_TARGET): Delete. | |
1859 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. | |
1860 | (GET_LONGJMP_TARGET): Delete. | |
1861 | ||
57bc8964 KB |
1862 | 2002-02-17 Kevin Buettner <[email protected]> |
1863 | ||
1864 | From Peter Schauer <[email protected]>: | |
1865 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use | |
1866 | of ``current_gdbarch''. | |
1867 | ||
83d31a92 TT |
1868 | 2002-02-17 Tom Tromey <[email protected]> |
1869 | ||
1870 | * cli/cli-cmds.c (compare_strings): New function. | |
1871 | (complete_command): Only print each unique item once. | |
1872 | * completer.h (complete_line): Declare. | |
1873 | * completer.c (complete_line): New function. | |
1874 | (line_completion_function): Use it. | |
1875 | ||
17ef5d92 AC |
1876 | 2002-02-16 Andrew Cagney <[email protected]> |
1877 | ||
1878 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. | |
1879 | * gdbarch.h, gdbarch.c: Re-generate. | |
1880 | ||
491b8946 DJ |
1881 | 2002-02-16 Daniel Jacobowitz <[email protected]> |
1882 | ||
1883 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. | |
1884 | ||
1885 | 2002-02-16 Daniel Jacobowitz <[email protected]> | |
1886 | ||
1887 | From Peter Schauer <[email protected]>: | |
1888 | * valops.c (value_arg_coerce): Don't take the address of a reference | |
1889 | to convert an argument to a reference. | |
1890 | ||
dfe7f3ac CF |
1891 | 2002-02-15 Christopher Faylor <[email protected]> |
1892 | ||
1893 | * win32-nat.c (get_image_name): New function. | |
1894 | (handle_load_dll): Use get_image_name function. | |
1895 | (get_child_debug_event): Avoid registering debug events until possibly | |
1896 | execed process is started. | |
1897 | (child_create_inferior): Allow invocation via shell so that command | |
1898 | line redirection, etc. works ok. | |
1899 | (_initialize_inftarg): Add new command: "set shell" to control whether | |
1900 | a shell is used to start a process. | |
1901 | ||
1d33e73a DJ |
1902 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
1903 | ||
1904 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno | |
1905 | instead of find_register_by_number. | |
1906 | (cannot_store_register): Likewise. | |
1907 | ||
48cd0caa PM |
1908 | 2002-02-14 Pierre Muller <[email protected]> |
1909 | ||
aaa38bb5 | 1910 | * dwarf2read.c: Replace fprintf (stderr, ...) by |
48cd0caa PM |
1911 | fprintf_unfiltered (gdb_stderr, ...). |
1912 | ||
8656e7d8 DJ |
1913 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
1914 | ||
1915 | * gdbserver/gdbserver.1: Document --attach. | |
1916 | ||
66e810cd RE |
1917 | 2002-02-15 Richard Earnshaw <[email protected]> |
1918 | ||
1919 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
1920 | descriptions. | |
1921 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
1922 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
1923 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
1924 | traditional breakpoint defines. | |
1925 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
1926 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
1927 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
1928 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
1929 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
1930 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
1931 | code out to ... | |
1932 | (arm_netbsd_init_abi_common): ... here; new function. | |
1933 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
1934 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
1935 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
1936 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
1937 | ||
97e03143 RE |
1938 | 2002-02-15 Richard Earnshaw <[email protected]> |
1939 | ||
1940 | * arm-tdep.h (enum arm_abi): New enum. | |
1941 | (struct gdbarch_tdep): New structure. | |
1942 | (LOWEST_PC): Provide a default. | |
1943 | (arm_gdbarch_register_os_abi): Declare new function. | |
1944 | * arm-tdep.c (arm_abi_names): New array. | |
1945 | (process_note_abi_tag_sections): New function. | |
1946 | (get_elfosabi): New function. | |
1947 | (arm_gdbarch_register_os_abi): New function. | |
1948 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
1949 | support for that ABI has been built in, then call the appropriate | |
1950 | configuration routine. Use gdbarch_num_regs() to get the number | |
1951 | of registers. | |
1952 | (arm_dump_tdep): New function. | |
1953 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
1954 | place-holder functions. | |
1955 | (_initialize_arm_tdep): Register them. | |
1956 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
1957 | ||
1958 | * armnbsd-tdep.c: New file. | |
1959 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
1960 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
1961 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
1962 | ||
1963 | * armnbsd-nat.c: Include regcache.h. | |
1964 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
1965 | ||
1966 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
1967 | ||
ad68be46 DJ |
1968 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
1969 | ||
1970 | * gdbserver/Makefile.in: Fix typos in target rules. | |
1971 | ||
003d6d1d DJ |
1972 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
1973 | ||
aaa38bb5 | 1974 | Fix part of PR gdb/267. |
003d6d1d DJ |
1975 | * linespec.c (find_methods): Handle constructors specially for now. |
1976 | ||
6b230f1b CV |
1977 | 2002-02-14 Corinna Vinschen <[email protected]> |
1978 | ||
1979 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
1980 | handling. | |
1981 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
1982 | standard_coerce_float_to_double(). | |
1983 | ||
1ea98d12 CF |
1984 | 2002-02-14 Christopher Faylor <[email protected]> |
1985 | ||
1986 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
1987 | GDBINIT_FILENAME. | |
1988 | ||
dd47e6fd EZ |
1989 | 2002-02-14 Elena Zannoni <[email protected]> |
1990 | ||
1991 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
1992 | find_variant_by_name, because it confuses the multiarch | |
1993 | framework. Return NULL if there isn't an architecture with the | |
1994 | user supplied name, instead of forcing a different one without | |
1995 | recording the change with the multiarch machinery. | |
1996 | (find_variant_by_name): Delete. | |
1997 | ||
d7e39b9e PS |
1998 | 2002-02-14 Peter Schauer <[email protected]> |
1999 | ||
2000 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
2001 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
2002 | ||
76e42a4f MH |
2003 | 2002-02-13 Martin M. Hunt <[email protected]> |
2004 | ||
aaa38bb5 | 2005 | * stack.c (print_frame_info_base): When calling |
76e42a4f MH |
2006 | print_frame_info_listing_hook, set current_source_symtab. |
2007 | ||
0a30fbc4 DJ |
2008 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
2009 | ||
2010 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
2011 | and remove unused $(INCLUDE_DIR). | |
2012 | Add regcache.c to OBS. | |
2013 | Add generated register protocol files to clean target. | |
2014 | Update dependencies for new objects, obsolete old target code. | |
2015 | ||
2016 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
2017 | new files. Remove various dead code. Update to use regcache | |
2018 | functionality. | |
2019 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
2020 | to quiet warning. | |
2021 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
2022 | constant. | |
2023 | (input_interrupt): Add integer parameter to match prototype | |
2024 | of a signal handler. | |
2025 | (outreg): Use register_data (). | |
2026 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
2027 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
2028 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
2029 | registers_from_string (). | |
2030 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
2031 | for error (), fatal (), and warning (). Update definition of | |
2032 | PBUFSIZ to use regcache functionality. Add include guard. | |
2033 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
2034 | (warning): New function. | |
2035 | ||
2036 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
2037 | Provide init_registers () function. | |
2038 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
2039 | Add include guard. | |
2040 | ||
2041 | * gdbserver/linux-arm-low.c: New file. | |
2042 | * gdbserver/linux-i386-low.c: New file. | |
2043 | * gdbserver/linux-ia64-low.c: New file. | |
2044 | * gdbserver/linux-m68k-low.c: New file. | |
2045 | * gdbserver/linux-mips-low.c: New file. | |
2046 | * gdbserver/linux-ppc-low.c: New file. | |
2047 | * gdbserver/linux-sh-low.c: New file. | |
2048 | ||
2049 | * gdbserver/regcache.c: New file. | |
2050 | * gdbserver/regcache.h: New file. | |
2051 | ||
2052 | * gdbserver/low-linux.c: Removed obsolete file. | |
2053 | ||
4cc841d0 DJ |
2054 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
2055 | ||
2056 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
2057 | * config/i386/linux.mt: Likewise. | |
2058 | * config/ia64/linux.mt: Likewise. | |
2059 | * config/m68k/linux.mh: Likewise. | |
2060 | * config/powerpc/linux.mh: Likewise. | |
2061 | * config/mips/linux.mt: Likewise. | |
2062 | ||
2063 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
2064 | ||
2065 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
2066 | as (currently) obsolete for this target. | |
2067 | * config/i386/nbsd.mt: Likewise. | |
2068 | * config/i386/nbsdelf.mt: Likewise. | |
2069 | * config/m32r/m32r.mt: Likewise. | |
2070 | * config/m68k/m68klynx.mh: Likewise. | |
2071 | * config/m68k/nbsd.mt: Likewise. | |
2072 | * config/m68k/sun3os4.mh: Likewise. | |
2073 | * config/mips/vr5000.mt: Likewise. | |
2074 | * config/ns32k/nbsd.mt: Likewise. | |
2075 | * config/pa/hppabsd.mh: Likewise. | |
2076 | * config/pa/hppaosf.mh: Likewise. | |
2077 | * config/powerpc/nbsd.mt: Likewise. | |
2078 | * config/rs6000/rs6000lynx.mh: Likewise. | |
2079 | * config/s390/s390.mt: Likewise. | |
2080 | * config/s390/s390x.mt: Likewise. | |
2081 | * config/sparc/sparclynx.mh: Likewise. | |
2082 | * config/sparc/sun4os4.mh: Likewise. | |
2083 | * config/i386/x86-64linux.mt: Likewise. | |
2084 | * config/sparc/linux.mh: Likewise. | |
2085 | ||
a85f51e7 DJ |
2086 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
2087 | ||
2088 | * configure.tgt: Configure gdbserver only for known working | |
2089 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
2090 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
2091 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
2092 | * configure: Regenerated. | |
2093 | ||
65554fef MS |
2094 | 2002-02-13 Michael Snyder <[email protected]> |
2095 | ||
670a52db MS |
2096 | * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES. |
2097 | ||
6dbdc4a3 MS |
2098 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
2099 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
2100 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
2101 | (make_mem_sec): Use a cast, avoid a warning. | |
2102 | ||
2103 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
aaa38bb5 | 2104 | calling host_pointer_to_address (which complains if |
6dbdc4a3 MS |
2105 | sizeof (host pointer) != sizeof (target pointer)). |
2106 | (procfs_make_note_section): Avoid overflow in psargs string. | |
2107 | ||
aaa38bb5 | 2108 | * procfs.c (procfs_make_note_section): Make the default |
65554fef MS |
2109 | implementation return an error. |
2110 | ||
2111 | 2002-02-13 Rodney Brown <[email protected]> | |
2112 | ||
2113 | * procfs.c (procfs_make_note_section): Provide a default definition | |
2114 | (for alpha-dec-osf4.0f). Fix typos. | |
2115 | ||
1e4d76e7 EZ |
2116 | 2002-02-13 Elena Zannoni <[email protected]> |
2117 | ||
2118 | * linux-proc.c: Add include of regcache.h. | |
2119 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
2120 | ||
b6d1a1d5 AC |
2121 | 2002-02-13 Andrew Cagney <[email protected]> |
2122 | ||
2123 | From 2002-01-18 Greg McGary <[email protected]>: | |
aaa38bb5 AJ |
2124 | * memattr.c (create_mem_region): Disallow useless empty region. |
2125 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
65554fef | 2126 | non-overlapping. |
b6d1a1d5 | 2127 | |
6c6ea35e MC |
2128 | 2002-02-13 Michael Chastain <[email protected]> |
2129 | ||
2130 | * defs.h: Kill CONST_PTR. | |
2131 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
2132 | * c-lang.c (c_builtin_types): Likewise. | |
2133 | * ch-lang.c (ch_builtin_types): Likewise. | |
2134 | * f-lang.c (f_builtin_types): Likewise. | |
2135 | * language.c (unknown_builtin_types): Likewise. | |
2136 | * m2-lang.c (m2_builtin_types): Likewise. | |
2137 | * p-lang.c (pascal_builtin_types): Likewise. | |
2138 | * scm-lang.c (c_builtin_types): Likewise. | |
2139 | ||
3e0b0f48 KS |
2140 | 2002-02-13 Keith Seitz <[email protected]> |
2141 | ||
2142 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
2143 | ||
67255d04 RE |
2144 | 2002-02-13 Richard Earnshaw <[email protected]> |
2145 | ||
2146 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
2147 | with other related struct-returning functions. | |
2148 | (arm_extract_struct_value_address): New function. | |
2149 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
2150 | initialize float_format, double_format and long_double_format as | |
2151 | appropriate to the endianness of the target. | |
2152 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
2153 | (arm_use_struct_convention): Delete declaration. | |
2154 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
2155 | ||
079777f6 KS |
2156 | 2002-02-13 Keith Seitz <[email protected]> |
2157 | ||
2158 | * defs.h (core_addr_to_string_nz): New function. | |
2159 | ||
34588f23 MK |
2160 | 2002-02-13 Mark Kettenis <[email protected]> |
2161 | ||
2162 | Apply missing bits of 2002-01-15 patch. | |
2163 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
2164 | (fill_fpregset): Use i387_fill_fsave. | |
2165 | ||
49b563f9 KS |
2166 | 2002-02-12 Keith Seitz <[email protected]> |
2167 | ||
49b563f9 KS |
2168 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
2169 | (core_addr_to_string_nz): New function. | |
2170 | ||
aeb98c60 RE |
2171 | 2002-02-11 Richard Earnshaw <[email protected]> |
2172 | ||
2173 | * arm-linux-nat.c: Really include arm-tdep.h. | |
2174 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
2175 | ||
65554fef MS |
2176 | 2002-02-11 Michael Snyder <[email protected]> |
2177 | ||
2178 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
2179 | (gcore section): Ifdef for Solaris and Unixware only. | |
2180 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
2181 | per thread (not one prstatus or pstatus). | |
2182 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
2183 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
2184 | once before iterating over threads. | |
2185 | ||
34e8f22d RE |
2186 | 2002-02-11 Richard Earnshaw <[email protected]> |
2187 | ||
2188 | * arm-tdep.h: New file. | |
2189 | * arm-tdep.c: Include arm-tdep.h. | |
2190 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
2191 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
2192 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
2193 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
2194 | (arm_extract_return_value, arm_register_name): Make static. | |
2195 | (arm_software_single_step): Similarly. Fix types in declaration. | |
2196 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
2197 | (arm_store_return_value, arm_store_struct_return): New functions. | |
2198 | (arm_gdbarch_init): Register the above functions. Also register | |
2199 | call_dummy_start_offset, sizeof_call_dummy_words, | |
2200 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
2201 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
aaa38bb5 | 2202 | max_register_virtual_size, register_size. Set up |
34e8f22d RE |
2203 | prologue_cache.saved_regs here, rather than ... |
2204 | (_initialize_arm_tdep): ... here. | |
2205 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
2206 | declarations. | |
2207 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
2208 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
2209 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
2210 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
2211 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
2212 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
2213 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
2214 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
2215 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
2216 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
2217 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
2218 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
2219 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
2220 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
2221 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
2222 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
2223 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
2224 | interface. | |
2225 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
2226 | * remote-rdi.c remote-rdp.c: Likewise. | |
2227 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
2228 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
2229 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
2230 | definition. | |
2231 | ||
2232 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
2233 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
2234 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
2235 | from non-ARM_ prefixed definitions. | |
2236 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
2237 | all uses of above. | |
2238 | * remote-rdi.c remote-rdp.c: Likewise. | |
2239 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
2240 | ||
148754e5 RE |
2241 | 2002-02-11 Richard Earnshaw <[email protected]> |
2242 | ||
2243 | * arm-tdep.c (arm_frameless_function_invocation) | |
2244 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
2245 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
2246 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
2247 | (arm_pop_frame, arm_get_next_pc): Make static. | |
2248 | (arm_gdbarch_init): Register above in gdbarch structure. | |
2249 | (arm_read_fp): Renamed from arm_target_read_fp. | |
2250 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
2251 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
2252 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
2253 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
2254 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
2255 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
2256 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
2257 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
2258 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
2259 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
2260 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 2261 | |
434d2d4f DJ |
2262 | 2002-02-10 Daniel Jacobowitz <[email protected]> |
2263 | ||
2264 | * symtab.c (compare_search_syms): New function. | |
2265 | (sort_search_symbols): New function. | |
2266 | (search_symbols): Sort symbols after searching rather than | |
2267 | before. | |
2268 | ||
55241689 AC |
2269 | 2002-02-10 Andrew Cagney <[email protected]> |
2270 | ||
2271 | * NEWS: Linux -> GNU/Linux. | |
2272 | ||
028c194b AC |
2273 | 2002-02-10 Andrew Cagney <[email protected]> |
2274 | ||
2275 | * gdbarch.sh: For for level one methods, disallow a definition | |
2276 | when partially multi-arched. Add comments explaining rationale. | |
2277 | * gdbarch.h: Re-generate. | |
2278 | ||
6acf50cd AC |
2279 | 2002-02-10 Andrew Cagney <[email protected]> |
2280 | ||
2281 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
2282 | multi-arch partial. | |
aaa38bb5 | 2283 | |
50248794 AC |
2284 | 2002-02-10 Andrew Cagney <[email protected]> |
2285 | ||
2286 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
2287 | field. Use diff -u. | |
2288 | * gdbarch.c: Re-generate. | |
2289 | ||
c30e0066 AC |
2290 | 2002-02-10 Andrew Cagney <[email protected]> |
2291 | ||
9b56c5f3 | 2292 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
2293 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
2294 | partial. | |
2295 | ||
6e6d6484 AC |
2296 | 2002-02-10 Andrew Cagney <[email protected]> |
2297 | ||
2298 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
2299 | multi-arch partial. | |
2300 | (PUSH_ARGUMENTS): Switch to using predefault. | |
2301 | * gdbarch.c: Regenerate. | |
2302 | ||
c203844d AC |
2303 | 2002-02-10 Andrew Cagney <[email protected]> |
2304 | ||
2305 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
2306 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
2307 | partial. Default to default_push_arguments. | |
2308 | * gdbarch.h, gdbarch.c: Regenerate. | |
2309 | ||
b5a2688f AC |
2310 | 2002-02-09 Andrew Cagney <[email protected]> |
2311 | ||
2312 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
2313 | comments. | |
2314 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
2315 | * top.c (throw_exception, catcher): Ditto. | |
2316 | * sparclet-rom.c (sparclet_load): Ditto. | |
2317 | * remote.c (interrupt_query, minitelnet): Ditto. | |
2318 | * remote-sds.c (interrupt_query): Ditto. | |
2319 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
2320 | * ocd.c (interrupt_query): Ditto. | |
2321 | * monitor.c (monitor_interrupt_query): Ditto. | |
2322 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
2323 | * target.h: Update comment. | |
aaa38bb5 | 2324 | |
b5a2688f | 2325 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. |
aaa38bb5 | 2326 | |
2fa5c1e0 AC |
2327 | 2002-02-09 Andrew Cagney <[email protected]> |
2328 | ||
2329 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
2330 | default_double_format. | |
2331 | * gdbarch.h, gdbarch.c: Re-generate. | |
2332 | * findvar.c (floatformat_unknown): Delete variable definition. | |
2333 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
2334 | ||
da966255 JB |
2335 | 2002-02-09 Jim Blandy <[email protected]> |
2336 | ||
2337 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
2338 | prototyped function types. | |
2339 | ||
123a4891 AC |
2340 | 2002-02-09 Andrew Cagney <[email protected]> |
2341 | ||
2342 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
2343 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
2344 | ||
fb39c8f3 PS |
2345 | 2002-02-09 Peter Schauer <[email protected]> |
2346 | ||
2347 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
2348 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
2349 | now _initialize_xcoffsolib gets called again and overrides the | |
2350 | commands from solib.c in a native configuration. | |
2351 | ||
0b87a11d MK |
2352 | 2002-02-09 Mark Kettenis <[email protected]> |
2353 | ||
2354 | * doublest.c (store_typed_floating): Don't try to return a value. | |
2355 | Fixes PR gdb/290. | |
2356 | ||
bdc2fc72 JB |
2357 | 2002-02-08 Jim Blandy <[email protected]> |
2358 | ||
2359 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
2360 | is prototyped and has no arguments, print its argument list as | |
2361 | `(void)'. | |
2362 | ||
da69bbcf CD |
2363 | 2002-02-08 Chris Demetriou <[email protected]> |
2364 | ||
2365 | * MAINTAINERS (write-after-approval): Add myself. | |
2366 | (paper-trail): I've escaped! | |
aaa38bb5 | 2367 | |
b69571f5 CF |
2368 | 2002-02-08 Christopher Faylor <[email protected]> |
2369 | ||
2370 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
2371 | changes. | |
2372 | (_initialize_check_for_gdb_ini): Ditto. | |
2373 | ||
f6871398 MH |
2374 | 2002-02-08 Martin M. Hunt <[email protected]> |
2375 | ||
2376 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
2377 | xaprintf -> xasprintf. | |
2378 | ||
4e52d31c PM |
2379 | 2002-02-08 Pierre Muller <[email protected]> |
2380 | ||
2381 | * win32-nat.c: Remove use of printf and sprintf functions. | |
2382 | ||
39bbf761 RE |
2383 | 2002-02-08 Richard Earnshaw <[email protected]> |
2384 | ||
2385 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
2386 | (arm_push_arguments): Likewise. | |
2387 | (arm_gdbarch_init): New function. | |
2388 | (_initialize_arm_tdep): Call it. | |
2389 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
2390 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
2391 | (FRAME_CHAIN_VALID): Delete. | |
2392 | (arm_frame_chain_valid): Delete declaration. | |
2393 | (PUSH_ARGUMENTS): Delete. | |
2394 | (arm_push_arguments): Delete declaration. | |
2395 | (CALL_DUMMY_P): Delete. | |
2396 | ||
9c9532c9 CV |
2397 | 2002-02-08 Andrew Cagney <[email protected]> |
2398 | Corinna Vinschen <[email protected]> | |
2399 | ||
2400 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
2401 | on builtin float types. | |
2402 | ||
4e8f7a8b DJ |
2403 | 2002-02-08 Daniel Jacobowitz <[email protected]> |
2404 | ||
2405 | * utils.c: Include <curses.h> before "bfd.h". | |
2406 | * tui/tui-hooks.c: Likewise. | |
2407 | * tui/tui.c: Likewise. | |
2408 | * tui/tuiCommand.c: Likewise. | |
2409 | * tui/tuiData.c: Likewise. | |
2410 | * tui/tuiDataWin.c: Likewise. | |
2411 | * tui/tuiDisassem.c: Likewise. | |
2412 | * tui/tuiGeneralWin.c: Likewise. | |
2413 | * tui/tuiIO.c: Likewise. | |
2414 | * tui/tuiLayout.c: Likewise. | |
2415 | * tui/tuiRegs.c: Likewise. | |
2416 | * tui/tuiSource.c: Likewise. | |
2417 | * tui/tuiSourceWin.c: Likewise. | |
2418 | * tui/tuiStack.c: Likewise. | |
2419 | * tui/tuiWin.c: Likewise. | |
2420 | ||
cd4bffcf EZ |
2421 | 2002-02-07 Elena Zannoni <[email protected]> |
2422 | ||
2423 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
2424 | to include space for pseudoregs as well. Update loops accordingly. | |
2425 | (sh_fp_frame_init_saved_regs): Ditto. | |
2426 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
2427 | ||
26806ce2 AC |
2428 | 2002-02-07 Andrew Cagney <[email protected]> |
2429 | ||
2430 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
2431 | Add Richard Earnshaw to Arm maintainers. | |
2432 | ||
97fdab62 AC |
2433 | 2002-02-07 Andrew Cagney <[email protected]> |
2434 | ||
a6b98203 AC |
2435 | * defs.h (warning_begin): Delete declaration. |
2436 | ||
97fdab62 AC |
2437 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
2438 | Delete macro. | |
2439 | ||
78b29b40 MS |
2440 | 2002-02-07 Michael Snyder <[email protected]> |
2441 | ||
aaa38bb5 | 2442 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
78b29b40 MS |
2443 | Logic bug, remove misplaced else. |
2444 | ||
d8849953 KD |
2445 | 2002-02-07 Klee Dienes <[email protected]> |
2446 | ||
2447 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
2448 | characters that need to be quoted when building a string for the | |
2449 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
2450 | when trying to evaluate "str!str". | |
aaa38bb5 | 2451 | |
095778a0 NC |
2452 | 2002-02-06 Nick Clifton <[email protected]> |
2453 | ||
2454 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
2455 | defined. | |
2456 | ||
1900040c MS |
2457 | 2002-02-04 Michael Snyder <[email protected]> |
2458 | ||
2459 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
2460 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
aaa38bb5 | 2461 | |
1900040c MS |
2462 | * breakpoint.c (create_internal_breakpoint): New function. |
2463 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
2464 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
2465 | (create_thread_event_breakpoint): Ditto. | |
2466 | (create_solib_event_breakpoint): Ditto. | |
2467 | (create_overlay_event_breakpoint): New function. | |
2468 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
2469 | (update_breakpoints_after_exec): Delete and re-initialize | |
2470 | overlay event breakpoints after an exec. Add FIXME comment | |
2471 | about longjmp breakpoint. | |
2472 | (print_it_typical): Ignore overlay event breakpoints. | |
2473 | (print_one_breakpoint): Ditto. | |
2474 | (mention): Ditto. | |
2475 | (bpstat_what): Do not stop for overlay event breakpoints. | |
2476 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
2477 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
2478 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
2479 | ||
2480 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
2481 | (overlay_manual_command): Disable overlay breakpoints. | |
2482 | (overlay_off_command): Disable overlay breakpoints. | |
2483 | ||
082fc60d RE |
2484 | 2002-02-06 Richard Earnshaw <[email protected]> |
2485 | ||
2486 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
2487 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
2488 | to here from config/tm-arm.h. | |
2489 | (coff_sym_is_thumb): Make static. | |
2490 | (arm_elf_make_msymbol_special): New function. | |
2491 | (arm_coff_make_msymbol_special): New function. | |
2492 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
2493 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
2494 | (coff_sym_is_thumb): Delete declaration. | |
2495 | (arm_elf_make_msymbol_special): Declare. | |
2496 | (arm_coff_make_msymbol_special): Declare. | |
2497 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
2498 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
2499 | ||
039c5766 RE |
2500 | 2002-02-06 Richard Earnshaw <[email protected]> |
2501 | ||
2502 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
2503 | ||
2504 | 2002-02-06 Richard Earnshaw <[email protected]> | |
2505 | ||
2506 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
2507 | * gdbarch.c gdbarch.h: Regenerate. | |
2508 | * arch-utils.c (default_print_float_info): New function. | |
2509 | * arch-utils.h (default_print_float_info): Prototype it. | |
2510 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
2511 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
2512 | (PRINT_FLOAT_INFO): Document it. | |
2513 | ||
2514 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
2515 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
2516 | (PRINT_FLOAT_INFO): Define. | |
2517 | ||
58fa08f0 PM |
2518 | 2002-02-06 Pierre Muller <[email protected]> |
2519 | ||
aaa38bb5 | 2520 | * win32-nat.c (_initialize_check_for_gdb_ini): |
58fa08f0 PM |
2521 | Add typecast to sprintf argument to suppress a warning. |
2522 | ||
7393af7c PM |
2523 | 2002-02-05 Pierre Muller <[email protected]> |
2524 | ||
58fa08f0 | 2525 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
2526 | to allow easier handling of pass state. |
2527 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
2528 | that gives exception name and address. | |
2529 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
aaa38bb5 | 2530 | and set last_sig value to ourstatus->value.sig. Some missing |
7393af7c | 2531 | exceptions added. |
aaa38bb5 AJ |
2532 | (child_continue): Correctly report continue_status. |
2533 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
7393af7c | 2534 | TARGET_SIGNAL_0 (new default value). |
aaa38bb5 | 2535 | (child_resume): consider sig argument passed to decide if |
7393af7c PM |
2536 | the exception should be passed to debuggee or not. |
2537 | ||
6af4589c MS |
2538 | 2002-02-05 Michael Snyder <[email protected]> |
2539 | ||
2540 | * regcache.c (fetch_register): Call target_fetch_register | |
2541 | only if we don't call FETCH_PSEUDO_REGISTER. | |
2542 | (store_register): Call target_store_register only if we | |
2543 | don't call STORE_PSEUDO_REGISTER. | |
2544 | ||
a2cf933a EZ |
2545 | 2002-02-05 Elena Zannoni <[email protected]> |
2546 | ||
2547 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
2548 | ELF_MAKE_MSYMBOL_SPECIAL. | |
2549 | * gdbarch.c, gdbarch.h: Regenerate. | |
2550 | * arch-utils.c (default_make_msymbol_special): New function. | |
aaa38bb5 | 2551 | * arch-utils.h (default_make_msymbol_special): Export. |
a2cf933a EZ |
2552 | * elfread.c (elf_symtab_read): Compile use of |
2553 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
2554 | multiarched. | |
2555 | * coffread.c (coff_symtab_read): Ditto, for | |
2556 | COFF_MAKE_MSYMBOL_SPECIAL. | |
2557 | ||
6bb7be43 JB |
2558 | 2002-02-05 Jim Blandy <[email protected]> |
2559 | ||
2560 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
2561 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
2562 | the appropriate truncation for target addresses, even when | |
2563 | CORE_ADDR is larger than a target address. | |
2564 | ||
e18651ec DJ |
2565 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
2566 | ||
2567 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
2568 | to (int *). | |
2569 | ||
6b2725be DJ |
2570 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
2571 | ||
2572 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
2573 | code. | |
2574 | ||
fca9e603 DJ |
2575 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
2576 | ||
2577 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
2578 | ||
6c537a52 DJ |
2579 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
2580 | ||
2581 | * gdbserver/linux-low.c: Remove unused include files. | |
2582 | ||
d844cde6 DJ |
2583 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
2584 | ||
2585 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
2586 | (read_inferior_memory): Use it. | |
2587 | (write_inferior_memory): Likewise. | |
2588 | ||
d07c63e7 DJ |
2589 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
2590 | ||
2591 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
2592 | grubbing through sys_errlist. | |
2593 | ||
da6d8c04 DJ |
2594 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
2595 | ||
2596 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
2597 | ||
5b421780 PM |
2598 | 2002-02-04 Pierre Muller <[email protected]> |
2599 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
2600 | ||
9f60d481 AC |
2601 | 2002-02-04 Andrew Cagney <[email protected]> |
2602 | ||
2603 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
2604 | (do_sfunc, set_cmd_sfunc): New functions. | |
2605 | ||
2606 | * command.h (struct cmd_list_element): Add field func. | |
2607 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
2608 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
2609 | * cli/cli-decode.h: Ditto. | |
2610 | ||
2611 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
2612 | (help_all, help_cmd_list): Ditto. | |
2613 | (find_cmd, complete_on_cmdlist): Ditto. | |
2614 | * top.c (execute_command): Ditto. | |
2615 | ||
2616 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
2617 | function.sfunc. | |
2618 | ||
2619 | * infcmd.c (notice_args_read): Fix function signature. | |
2620 | ||
2621 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
2622 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
2623 | * utils.c (initialize_utils): Ditto. | |
2624 | * maint.c (_initialize_maint_cmds): Ditto. | |
2625 | * infrun.c (_initialize_infrun): Ditto. | |
2626 | * demangle.c (_initialize_demangler): Ditto. | |
2627 | * remote.c (add_packet_config_cmd): Ditto. | |
2628 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
2629 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
2630 | * proc-api.c (_initialize_proc_api): Ditto. | |
2631 | * kod.c (_initialize_kod): Ditto. | |
2632 | * valprint.c (_initialize_valprint): Ditto. | |
2633 | * top.c (init_main): Ditto. | |
2634 | * infcmd.c (_initialize_infcmd): Ditto. | |
2635 | * corefile.c (_initialize_core): Ditto. | |
2636 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
2637 | * arch-utils.c (initialize_current_architecture): Ditto. | |
2638 | (_initialize_gdbarch_utils): Ditto. | |
2639 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
2640 | ||
2641 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
2642 | * wince.c (_initialize_inftarg): Ditto. | |
2643 | * symfile.c (_initialize_symfile): Ditto. | |
2644 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
2645 | * language.c (_initialize_language): Ditto. | |
2646 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
2647 | ||
f9ba0717 MS |
2648 | 2002-02-04 Michael Snyder <[email protected]> |
2649 | ||
2650 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
2651 | ||
0c74b2a7 DJ |
2652 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
2653 | ||
2654 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
2655 | Add rules for building the register data files. | |
2656 | ||
c638789f DJ |
2657 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
2658 | ||
2659 | * regformats/regdat.sh: Add braces to the definition of | |
2660 | expedite_regs_${arch}. | |
2661 | ||
db253027 DJ |
2662 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
2663 | ||
2664 | * regformats/regdef.h (struct reg): Add comment describing the | |
2665 | requirements for offset and size fields. | |
2666 | ||
206be19c AS |
2667 | 2002-02-04 Andreas Schwab <[email protected]> |
2668 | ||
2669 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
2670 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
2671 | ||
181c1381 RE |
2672 | 2002-02-04 Richard Earnshaw <[email protected]> |
2673 | ||
2674 | * gdbarch.sh (copyright): Update years in generated header. | |
2675 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 2676 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
2677 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
2678 | * dbxread.c: Likewise. | |
2679 | * dwarfread.c: Likewise. | |
2680 | * elfread.c: Likewise. | |
2681 | * somread.c: Likewise. | |
2682 | ||
2683 | * arm-tdep.c (arm_smash_text_address): New function. | |
2684 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
2685 | ||
fa4ba8da PM |
2686 | 2002-02-04 Pierre Muller <[email protected]> |
2687 | ||
2688 | Add support for hardware watchpoints on win32 native. | |
aaa38bb5 | 2689 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of |
fa4ba8da | 2690 | CONTEXT_DEBUG_REGISTERS. |
aaa38bb5 | 2691 | (dr variable): New variable. Static array containing a local copy |
fa4ba8da PM |
2692 | of debug registers. |
2693 | (debug_registers_changed): New variable. Reflects when debug registers | |
2694 | are changed and need to be written to inferior. | |
aaa38bb5 | 2695 | (debug_registers_used): New variable. Reflects when any debug register |
fa4ba8da PM |
2696 | was set, used when new threads are created. |
2697 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
2698 | i386-nat code. | |
2699 | (thread_rec): Set dr array if id is the thread of current_event . | |
2700 | (child_continue, child_resume): Change the debug registers for all | |
2701 | threads if debug_registers_changed. | |
2702 | (child_add_thread): Change the debug registers if debug_registers_used. | |
2703 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
2704 | Link nm.h to new nm-cygwin.h file. | |
2705 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
2706 | of hardware registers. | |
2707 | ||
a73c86fb AC |
2708 | 2002-02-03 Andrew Cagney <[email protected]> |
2709 | ||
2710 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
2711 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
2712 | <[email protected]> IEEE_FLOAT removal. | |
2713 | ||
acf5ed49 DJ |
2714 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
2715 | ||
2716 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
2717 | cp_print_class_method. | |
2718 | * valops.c (search_struct_method): If there is only one method | |
2719 | and args is NULL, return that method. | |
2720 | ||
493d28d5 DJ |
2721 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
2722 | ||
2723 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
2724 | accessing tag_name directly. | |
2725 | ||
7495dfdb DJ |
2726 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
2727 | ||
2728 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
2729 | of accessing tag_name directly. | |
2730 | ||
dd6bda65 DJ |
2731 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
2732 | ||
2733 | PR gdb/280 | |
2734 | * gdbtypes.c (replace_type): New function. | |
2735 | * gdbtypes.h (replace_type): Add prototype. | |
2736 | * stabsread.c (read_type): Use replace_type. | |
2737 | ||
88fe217c RE |
2738 | 2002-02-03 Richard Earnshaw <[email protected]> |
2739 | ||
2740 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
2741 | ||
e5d66720 PS |
2742 | 2002-02-03 Peter Schauer <[email protected]> |
2743 | ||
2744 | * breakpoint.c (break_at_finish_command): Really export. | |
2745 | (break_at_finish_at_depth_command): Ditto. | |
2746 | (tbreak_at_finish_command): Ditto. | |
2747 | * hppa-tdep.c: Include completer.h. | |
2748 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
2749 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
2750 | ||
fffee0be AC |
2751 | 2002-02-01 Andrew Cagney <[email protected]> |
2752 | ||
2753 | * utils.c (do_write): New function. | |
2754 | (error_stream): Rewrite combining the code from error_begin and | |
2755 | verror. | |
2756 | (verror): Rewrite using error_stream. | |
2757 | (error_begin): Delete function. | |
2758 | ||
255e7dbf AC |
2759 | 2002-02-01 Andrew Cagney <[email protected]> |
2760 | ||
2761 | * utils.c (error_begin): Make static. | |
2762 | * defs.h (error_begin): Delete declaration. | |
2763 | ||
2764 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
2765 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
2766 | cplusplus_hint and return_to_top_level. | |
2767 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
2768 | and return_to_top_level. | |
2769 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
2770 | ||
ddfe3c15 AC |
2771 | 2002-02-01 Andrew Cagney <[email protected]> |
2772 | ||
2773 | * language.h (type_error, range_error): Make string parameter | |
2774 | constant. | |
2775 | * language.c (warning_pre_print): Delete extern declaration. | |
2776 | * dwarfread.c (warning_pre_print): Ditto. | |
2777 | * language.c (type_error, range_error): Rewrite to use verror and | |
2778 | vwarning instead of warning_begin. | |
2779 | ||
03ac34d5 MS |
2780 | 2002-02-01 Michael Snyder <[email protected]> |
2781 | ||
261c4ca2 MS |
2782 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
2783 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 2784 | |
e00d1dc8 AC |
2785 | 2002-02-01 Andrew Cagney <[email protected]> |
2786 | ||
2787 | * command.h (NO_FUNCTION): Delete macro. | |
2788 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
2789 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
2790 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
2791 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
2792 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
aaa38bb5 | 2793 | |
76b79d6e DJ |
2794 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
2795 | ||
2796 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
2797 | Update ``this'' pointer when calling virtual functions. | |
2798 | ||
799f9e91 MS |
2799 | 2002-02-01 Michael Snyder <[email protected]> |
2800 | ||
c7bd442c | 2801 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
2802 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
2803 | ||
3cf384d4 DJ |
2804 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
2805 | ||
2806 | * regformats/reg-arm.dat: New file. | |
2807 | * regformats/reg-i386.dat: New file. | |
2808 | * regformats/reg-ia64.dat: New file. | |
2809 | * regformats/reg-m68k.dat: New file. | |
2810 | * regformats/reg-mips.dat: New file. | |
2811 | * regformats/reg-ppc.dat: New file. | |
2812 | * regformats/reg-sh.dat: New file. | |
2813 | * regformats/regdef.h: New file. | |
2814 | * regformats/regdat.sh: New file. | |
2815 | ||
0defa245 RE |
2816 | 2002-02-01 Richard Earnshaw <[email protected]> |
2817 | ||
2818 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
2819 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
2820 | (arm_frame_num_args): New function. | |
2821 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
2822 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
2823 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
2824 | ||
405f26e6 MS |
2825 | 2002-01-31 Michael Snyder <[email protected]> |
2826 | ||
502fd408 MS |
2827 | * breakpoint.c (break_at_finish_command): Export. |
2828 | (break_at_finish_at_depth_command): Export. | |
2829 | (tbreak_at_finish_command): Export. | |
2830 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
2831 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
2832 | "tbreak" commands, which are HPPA specific. | |
2833 | ||
7d35e135 MS |
2834 | * printcmd.c (disassemble_command): Remove an ancient |
2835 | artifact of an old merge. | |
2836 | ||
aaa38bb5 | 2837 | * symfile.h (enum overlay_debugging_state): |
d874f1e2 MS |
2838 | Define enum constant values for overlay mode. |
2839 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
aaa38bb5 AJ |
2840 | (overlay_is_mapped, overlay_auto_command, |
2841 | overlay_manual_command): Ditto. | |
d874f1e2 | 2842 | |
aaa38bb5 AJ |
2843 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
2844 | breakpoint_here_p, breakpoint_inserted_here_p, | |
2845 | breakpoint_thread_match, bpstat_stop_status, | |
9f04af04 MS |
2846 | describe_other_breakpoints, check_duplicates, clear_command): |
2847 | Coding standard fixes. | |
2848 | ||
8add0441 | 2849 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 2850 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
2851 | code: check bfd SEC_READONLY flag for section. |
2852 | ||
e351066e AC |
2853 | 2002-01-31 Andrew Cagney <[email protected]> |
2854 | ||
7d35e135 | 2855 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 2856 | |
8a48e967 DJ |
2857 | 2002-01-30 Daniel Jacobowitz <[email protected]> |
2858 | ||
2859 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
2860 | data symbols, since we search based on textlow and texthigh. | |
2861 | (find_pc_sect_symtab): Likewise. | |
2862 | ||
f5a96129 AC |
2863 | 2002-01-30 Andrew Cagney <[email protected]> |
2864 | ||
2865 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
2866 | * utils.c (vwarning): New function. |
2867 | (warning): Call vwarning. | |
2868 | (warning_begin): Delete function. | |
2869 | ||
2870 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
2871 | the warning message. | |
2872 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
2873 | warning_begin. | |
2874 | ||
cefd4ef5 MS |
2875 | 2002-01-30 Michael Snyder <[email protected]> |
2876 | ||
1a703748 MS |
2877 | * NEWS: Mention "set trust-readonly-sections" command. |
2878 | Mention generate-core-file command. | |
cefd4ef5 | 2879 | |
3a11626d MS |
2880 | 2002-01-15 Michael Snyder <[email protected]> |
2881 | ||
2882 | * target.c: New command, "set trust-readonly-sections on". | |
2883 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
2884 | by reading them from the object file instead of from the target. | |
2885 | (initialize_targets): Register command "set trust-readonly-sections". | |
2886 | ||
d1c7e53b AC |
2887 | 2002-01-29 Andrew Cagney <[email protected]> |
2888 | ||
2889 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
2890 | pseudo-regs using a single loop. | |
2891 | ||
e2c9a72c AC |
2892 | 2002-01-30 Andrew Cagney <[email protected]> |
2893 | ||
2894 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
2895 | ||
69824b4e MK |
2896 | 2002-01-15 Rodney Brown <[email protected]> |
2897 | ||
2898 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
2899 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
2900 | * i386v4-nat.c: Include i387-nat.h. | |
2901 | (supply_fpregset): Use i387_supply_fsave. | |
2902 | (fill_fpregset): Use i387_fill_fsave. | |
2903 | ||
6eb69eab RE |
2904 | 2002-01-30 Richard Earnshaw <[email protected]> |
2905 | ||
2906 | * arm-tdep.c (arm_call_dummy_words): Define. | |
2907 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
2908 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
2909 | (CALL_DUMMY_WORDS): Define. | |
2910 | (arm_call_dummy_words): Declare. | |
2911 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
2912 | (arm_linux_call_dummy_words): Declare. | |
2913 | ||
9852326a AS |
2914 | 2002-01-30 Andreas Schwab <[email protected]> |
2915 | ||
2916 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
2917 | instead of referencing registers[] directly. | |
2918 | ||
977a3030 AC |
2919 | 2002-01-29 Andrew Cagney <[email protected]> |
2920 | ||
2921 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
2922 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
2923 | ||
2076c72b MS |
2924 | 2002-01-28 Michael Snyder <[email protected]> |
2925 | ||
2926 | * regcache.c (legacy_read_register_gen): Need to be able to | |
2927 | read pseudo-register as well as real register. | |
2928 | (legacy_write_register_gen): Ditto. | |
2929 | ||
8fcc723b AC |
2930 | 2002-01-28 Andrew Cagney <[email protected]> |
2931 | ||
2932 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
2933 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
2934 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
2935 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
2936 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
2937 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
2938 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
2939 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
2940 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
2941 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
2942 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
2943 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
2944 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
2945 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
2946 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
2947 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
2948 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
2949 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
2950 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
2951 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
2952 | ||
afe64c1a AC |
2953 | 2002-01-28 Andrew Cagney <[email protected]> |
2954 | ||
2955 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
2956 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
2957 | (initialize_current_architecture): Update target_byte_order using | |
2958 | information from BFD. | |
aaa38bb5 | 2959 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
afe64c1a AC |
2960 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. |
2961 | ||
75bc7ddf AC |
2962 | 2002-01-28 Andrew Cagney <[email protected]> |
2963 | ||
2964 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
2965 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
2966 | ||
2967 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
2968 | #ifdef INVALID_FLOAT. | |
2969 | * infcmd.c (do_registers_info): Ditto. | |
2970 | * values.c (unpack_double): Ditto. Add comment. | |
2971 | ||
2972 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
2973 | already commented out. | |
2974 | ||
0280a90a AS |
2975 | 2002-01-26 Andreas Schwab <[email protected]> |
2976 | ||
2977 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
2978 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
2979 | registers and add support for PTRACE_GETREGS. | |
2980 | ||
7072a954 AC |
2981 | 2002-01-24 Andrew Cagney <[email protected]> |
2982 | ||
2983 | GDB 5.1.1 released from 5.1 branch. | |
2984 | * NEWS: Add 5.1.1 news. | |
2985 | * README: Sync with 5.1 branch. | |
2986 | ||
86f902e0 FF |
2987 | 2002-01-23 Fred Fish <[email protected]> |
2988 | ||
2989 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
2990 | stabstring on initial malloc. Reallocing will copy it for us, | |
2991 | if necessary. | |
2992 | ||
8af51c36 EZ |
2993 | 2002-01-23 Elena Zannoni <[email protected]> |
2994 | ||
aaa38bb5 | 2995 | * Makefile.in (hpread_h): Delete. |
8af51c36 EZ |
2996 | (HFILES_NO_SRCDIR): Remove hpread.h. |
2997 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
2998 | (hpread.o): Update dependencies. | |
2999 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
3000 | ||
3001 | * hp-psymtab-read.c: Remove file. | |
3002 | * hp-symtab-read.c: Remove file. | |
3003 | * hpread.h: Remove file. | |
3004 | ||
3005 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
3006 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
3007 | January 1999. | |
3008 | ||
3009 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
aaa38bb5 | 3010 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, |
8af51c36 EZ |
3011 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): |
3012 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
3013 | ||
dc5cfeb6 EZ |
3014 | 2002-01-23 Elena Zannoni <[email protected]> |
3015 | ||
3016 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
3017 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
3018 | variable and use that, instead of calling the function several | |
3019 | times. | |
3020 | ||
ea87b71b AO |
3021 | 2002-01-24 Alexandre Oliva <[email protected]> |
3022 | ||
3023 | * configure.host: Accept sparcv9 as alias for sparc64. | |
3024 | * configure.tgt: Likewise. | |
3025 | ||
13fc0c2f KB |
3026 | 2002-01-22 Kevin Buettner <[email protected]> |
3027 | ||
3028 | * solib-aix5.c (build_so_list_from_mapfile) | |
3029 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
3030 | arguments is not reversed. | |
3031 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
3032 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
aaa38bb5 | 3033 | |
7bd872fe EZ |
3034 | 2002-01-22 Elena Zannoni <[email protected]> |
3035 | ||
3036 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
3037 | modified version of obsolete sh_fetch_pseudo_register. | |
3038 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
3039 | (sh4_register_read): New function. | |
3040 | (sh_pseudo_register_write): New function. Renamed and modified | |
3041 | version of obsolete sh_store_pseudo_register. | |
3042 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
3043 | (sh4_register_write): New function. | |
3044 | (sh_gdbarch_init): Remove setting of gdbarch function | |
3045 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
3046 | register_convert_to_raw, register_convert_to_virtual, | |
3047 | register_convertible. | |
3048 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
3049 | taken care by architecture specific functions | |
3050 | register_read/register_write. | |
3051 | (sh_sh4_register_convert_to_virtual): Make static. | |
3052 | (sh_sh4_register_convert_to_raw): Ditto. | |
3053 | ||
069e84fd AC |
3054 | 2002-01-22 Andrew Cagney <[email protected]> |
3055 | ||
3056 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
3057 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
3058 | ||
3059 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
3060 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
3061 | builtin_type_ieee_double_little, | |
3062 | builtin_type_ieee_double_littlebyte_bigword, | |
3063 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
3064 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
3065 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
3066 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
3067 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
3068 | ||
211a4f69 CV |
3069 | 2002-01-22 Corinna Vinschen <[email protected]> |
3070 | ||
3071 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
3072 | parameter. Set frameless flag if it exists and depended of | |
3073 | whether the scanned function is frameless or not. | |
3074 | (xstormy16_skip_prologue): If function is frameless, return | |
3075 | result of xstormy16_scan_prologue(). | |
3076 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
3077 | call. | |
3078 | ||
f81353e4 EZ |
3079 | 2002-01-21 Elena Zannoni <[email protected]> |
3080 | ||
3081 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
3082 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
3083 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
3084 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
3085 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
3086 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
3087 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
3088 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
3089 | gdbarch_tdep() just once, assign result to variable and use that, | |
3090 | instead of calling the function several times. | |
3091 | ||
63c73a17 MK |
3092 | 2002-01-20 Mark Kettenis <[email protected]> |
3093 | ||
3094 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
3095 | macros instead of LAST_FPU_CTRL_REGNUM. | |
3096 | (store_register): Likewise. | |
3097 | ||
39ad761d JB |
3098 | 2002-01-21 Jim Blandy <[email protected]> |
3099 | ||
3100 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
3101 | is up-to-date before running the program, not just when a program | |
3102 | exits. | |
3103 | ||
3d74b771 FF |
3104 | 2002-01-21 Fred Fish <[email protected]> |
3105 | ||
3106 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
3107 | when we have found all instructions we are looking for. | |
3108 | ||
966fbf70 RE |
3109 | 2002-01-21 Richard Earnshaw <[email protected]> |
3110 | ||
3111 | * arm-tdep.c (arm_register_name): New function. | |
3112 | (arm_registers_names): Make static. | |
3113 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
3114 | (arm_register_name): Declare. | |
3115 | (REGISTER_NAME): Use it. | |
3116 | ||
c3b4394c RE |
3117 | 2002-01-21 Richard Earnshaw <[email protected]> |
3118 | Kevin Buettner <[email protected]> | |
3119 | ||
3120 | Convert arm targets to new FRAME interface. | |
3121 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
3122 | (arm_frame_find_save_regs): Delete. | |
3123 | (arm_frame_init_saved_regs): New. | |
3124 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
3125 | Allocate extra_info as required. Convert all uses of fsr.regs | |
3126 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
3127 | to use extra_info. | |
3128 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
3129 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
3130 | (check_prologue_cache, save_prologue_cache): Likewise. | |
3131 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
3132 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
3133 | (FRAME_FIND_SAVED_REGS): Delete. | |
3134 | (arm_frame_find_saved_regs): Delete prototype. | |
3135 | (arm_frame_init_saved_regs): New prototype. | |
3136 | (FRAME_INIT_SAVED_REGS): Define. | |
3137 | ||
61d99182 AC |
3138 | 2002-01-20 Andrew Cagney <[email protected]> |
3139 | ||
3140 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
3141 | ||
6aaea291 AC |
3142 | 2002-01-20 Andrew Cagney <[email protected]> |
3143 | ||
3144 | From Jeff Law <[email protected]>: | |
3145 | * infttrace.c: Include <sys/pstat.h>. | |
3146 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
3147 | exec file if the ttrace equivalent fails. | |
3148 | ||
15f698d2 AC |
3149 | 2002-01-20 Andrew Cagney <[email protected]> |
3150 | ||
3151 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
3152 | (closeLogFile): Ditto. | |
3153 | ||
f86ddd7c MC |
3154 | 2002-01-20 Michael Chastain <[email protected]> |
3155 | ||
3156 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
3157 | ||
904507ce AC |
3158 | 2002-01-20 Andrew Cagney <[email protected]> |
3159 | ||
3160 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
3161 | Zannoni and Eli Zaretskii. | |
3162 | ||
d7f0b9ce DJ |
3163 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
3164 | ||
3165 | * buildsym.c: Update copyright years. | |
3166 | * c-typeprint.c: Likewise. | |
3167 | * dwarf2read.c: Likewise. | |
3168 | * f-typeprint.c: Likewise. | |
3169 | * gdbtypes.c: Likewise. | |
3170 | * gdbtypes.h: Likewise. | |
3171 | * hp-symtab-read.c: Likewise. | |
3172 | * hpread.c: Likewise. | |
3173 | * mdebugread.c: Likewise. | |
3174 | * p-typeprint.c: Likewise. | |
3175 | ||
3fd3d7d2 AC |
3176 | 2002-01-20 Andrew Cagney <[email protected]> |
3177 | ||
3178 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
3179 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
3180 | byte-order selectable. | |
3181 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
3182 | * arch-utils.c: Ditto. | |
3183 | (set_endian): Ditto. | |
3184 | (set_endian_from_file): Ditto. | |
3185 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
3186 | * gdbarch.sh: Ditto. | |
3187 | * gdbarch.h: Re-generate. | |
aaa38bb5 AJ |
3188 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
3189 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3190 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3191 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
3192 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
3193 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
3194 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3fd3d7d2 AC |
3195 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete |
3196 | macro definition. | |
3197 | * config/mips/tm-wince.h: Remove #undef of macro | |
3198 | TARGET_BYTE_ORDER_SELECTABLE. | |
3199 | * config/sh/tm-wince.h: Ditto. | |
3200 | ||
b02dede2 DJ |
3201 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
3202 | ||
3203 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
3204 | member function fields. Add accessor macro | |
3205 | TYPE_FN_FIELD_ARTIFICIAL. | |
3206 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
3207 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
3208 | functions. | |
3209 | ||
c3643761 DJ |
3210 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
3211 | ||
3212 | * f-typeprint.c: Delete unused function f_type_print_args. | |
3213 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
3214 | ||
8176bb6d DJ |
3215 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
3216 | ||
3217 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
3218 | comment. Add ``artificial'' to ``union field_location''. | |
3219 | ||
3220 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
3221 | ||
3222 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
3223 | * mdebugread.c (parse_symbol): Likewise. | |
3224 | * stabsread.c (define_symbol): Likewise. | |
3225 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
3226 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
3227 | (hpread_doc_function_type): Likewise. | |
3228 | * hpread.c (hpread_function_type): Likewise. | |
3229 | ||
7fd60527 AC |
3230 | 2002-01-20 Andrew Cagney <[email protected]> |
3231 | ||
3232 | * configure.in (host_makefile_frag): Only require a host makefile | |
3233 | fragment when a native build. | |
3234 | * configure: Re-generate. | |
3235 | ||
c2f05ac9 AC |
3236 | 2002-01-20 Andrew Cagney <[email protected]> |
3237 | ||
3238 | * doublest.h (floatformat_from_type): Declare. | |
3239 | * doublest.c (floatformat_from_type): New function. | |
3240 | (convert_typed_floating): Use. | |
3241 | ||
3242 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
3243 | call to function floatformat_from_type. | |
3244 | ||
3245 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
3246 | * gdbarch.h, gdbarch.c: Re-generate. | |
3247 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
3248 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
3249 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
3250 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
3251 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
3252 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
3253 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
3254 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
3255 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
3256 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
3257 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
3258 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
3259 | ||
3260 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
3261 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
3262 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
3263 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
3264 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
3265 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
3266 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
3267 | ||
abf22e64 AJ |
3268 | 2002-01-20 Jiri Smid <[email protected]> |
3269 | ||
3270 | * configure.host, configure.tgt: Support x86-64. | |
3271 | * NEWS: Note new target x86-64. | |
3272 | ||
b7c4cbf8 AJ |
3273 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
3274 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
3275 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
3276 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
3277 | x86-64-linux-nat.o): Fix dependencies. | |
3278 | ||
82600034 AC |
3279 | 2002-01-19 Andrew Cagney <[email protected]> |
3280 | ||
3281 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
3282 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
3283 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
3284 | * config/sparc/xm-sun4os4.h: Delete file. | |
3285 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 3286 | |
bbe5c628 AC |
3287 | 2002-01-19 Andrew Cagney <[email protected]> |
3288 | ||
3289 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
3290 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
3291 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
3292 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
3293 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
3294 | * config/sparc/xm-sparclynx.h: Delete file. | |
3295 | * config/m68k/xm-m68klynx.h: Delete file. | |
3296 | * config/i386/xm-i386lynx.h: Delete file. | |
3297 | * config/xm-lynx.h: Delete file. | |
3298 | * config/djgpp/fnchange.lst: Update. | |
3299 | ||
f8453e34 JT |
3300 | 2002-01-19 Jason Thorpe <[email protected]> |
3301 | ||
3302 | * alpha-tdep.c (alpha_register_byte): New function. | |
3303 | (alpha_register_raw_size): Ditto. | |
3304 | (alpha_register_virtual_size): Ditto. | |
3305 | (alpha_skip_prologue_internal): Renamed from | |
3306 | alpha_skip_prologue. | |
3307 | (alpha_skip_prologue): New version that calls | |
3308 | alpha_skip_prologue_internal. | |
3309 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
3310 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
3311 | second argument from alpha_skip_prologue. | |
3312 | (REGISTER_BYTE): Use alpha_register_byte. | |
3313 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
3314 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
3315 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
3316 | generic_frameless_function_invocation_not. | |
3317 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
3318 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
3319 | ||
52d9e613 AC |
3320 | 2002-01-19 Andrew Cagney <[email protected]> |
3321 | ||
3322 | * config/mips/xm-news-mips.h: Delete file. | |
3323 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
3324 | ||
3325 | * config/m88k/xm-m88k.h: Delete file. | |
3326 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
3327 | * config/m88k/xm-delta88v4.h: Ditto. | |
3328 | * config/m88k/xm-delta88.h: Ditto. | |
3329 | ||
3330 | * config/alpha/xm-fbsd.h: Delete file. | |
3331 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
3332 | ||
3333 | * config/sparc/xm-sparc.h: Delete file. | |
3334 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
3335 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
3336 | * config/sparc/xm-sun4os4.h: Ditto. | |
3337 | * config/sparc/xm-linux.h: Ditto. | |
3338 | ||
3339 | * config/i386/xm-windows.h: Delete file. | |
3340 | ||
2d1b2124 AC |
3341 | 2002-01-19 Andrew Cagney <[email protected]> |
3342 | ||
3343 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
3344 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
3345 | ||
ee1f65f0 JT |
3346 | 2002-01-19 Jason Thorpe <[email protected]> |
3347 | ||
3348 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
3349 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
3350 | (CALL_DUMMY_P): Define. | |
3351 | (CALL_DUMMY_WORDS): Define. | |
3352 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
3353 | ||
98081e55 PB |
3354 | 2002-01-19 Per Bothner <[email protected]> |
3355 | ||
3356 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
3357 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
3358 | ||
0d056799 JT |
3359 | 2002-01-19 Jason Thorpe <[email protected]> |
3360 | ||
3361 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
3362 | (alpha_init_frame_pc_first): Ditto. | |
3363 | (alpha_fix_call_dummy): Ditto. | |
3364 | (alpha_store_struct_return): Ditto. | |
3365 | (alpha_extract_struct_value_address): Ditto. | |
3366 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
3367 | alpha_register_virtual_type. | |
3368 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
3369 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
3370 | alpha_extract_struct_value_address. | |
3371 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
3372 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
3373 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
3374 | ||
4604bcad MK |
3375 | 2002-01-19 Mark Kettenis <[email protected]> |
3376 | ||
3377 | * i386gnu-nat.c: Include "i386-tdep.h". | |
3378 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
3379 | point states such that it doesn't require FP7_REGNUM. | |
3380 | ||
140f9984 JT |
3381 | 2002-01-18 Jason Thorpe <[email protected]> |
3382 | ||
abf22e64 AJ |
3383 | * alpha-tdep.c (frame_extra_info): New. |
3384 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
3385 | frame->extra_info. |
3386 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
3387 | (alpha_frame_saved_pc): Use frame->extra_info. |
3388 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
3389 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
3390 | (init_extra_frame_info): Rename to... |
3391 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 3392 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
3393 | (alpha_frame_locals_address): Ditto. |
3394 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 3395 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
3396 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
3397 | alpha_frame_args_address. | |
abf22e64 | 3398 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 3399 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
3400 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
3401 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
3402 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
3403 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
3404 | ||
d734c450 JT |
3405 | 2002-01-18 Jason Thorpe <[email protected]> |
3406 | ||
3407 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
3408 | (alpha_cannot_fetch_register): Ditto. | |
3409 | (alpha_cannot_store_register): Ditto. | |
3410 | (alpha_register_convertible): Ditto. | |
3411 | (alpha_use_struct_convention): Ditto. | |
3412 | * config/alpha/tm-alpha.h: Update copyright years. | |
3413 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
3414 | (INNER_THAN): Use core_addr_lessthan. | |
3415 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
3416 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
3417 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
3418 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
3419 | (FRAME_CHAIN): Remove unnecessary cast. | |
3420 | ||
b4ceaee6 AC |
3421 | 2002-01-18 Andrew Cagney <[email protected]> |
3422 | ||
3423 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
3424 | obsolete. | |
3425 | ||
0a65a603 AC |
3426 | 2002-01-18 Andrew Cagney <[email protected]> |
3427 | ||
3428 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
3429 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
3430 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
3431 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
3432 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
3433 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
3434 | * x86-64-linux-nat.c: Ditto. | |
3435 | ||
636a6dfc JT |
3436 | 2002-01-18 Jason Thorpe <[email protected]> |
3437 | ||
abf22e64 | 3438 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
3439 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
3440 | (REGISTER_NAME): Define. | |
3441 | ||
acceddb6 JT |
3442 | 2002-01-18 Jason Thorpe <[email protected]> |
3443 | ||
3444 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
3445 | ||
ec32e4be JT |
3446 | 2002-01-18 Jason Thorpe <[email protected]> |
3447 | ||
3448 | * alpha-tdep.c: Update copyright years. | |
3449 | (alpha_next_pc): New function. | |
3450 | (alpha_software_single_step): Ditto. | |
3451 | * config/alpha/tm-alpha.h: Add prototype for | |
3452 | alpha_software_single_step. | |
3453 | ||
e771a871 JT |
3454 | 2002-01-18 Jason Thorpe <[email protected]> |
3455 | ||
3456 | * alphabsd-nat.c: Update copyright years. | |
3457 | (fill_gregset): Use regcache_collect. | |
3458 | (fill_fpregset): Likewise. | |
3459 | (fetch_inferior_registers): Only fetch integer registers | |
3460 | if requested to do so. | |
3461 | (store_inferior_registers): Only store integer registers | |
3462 | if requested to do so. | |
3463 | ||
7708fa01 AC |
3464 | 2002-01-17 Andrew Cagney <[email protected]> |
3465 | ||
3466 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
3467 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
3468 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
3469 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
3470 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
3471 | * config/arm/linux.mh (XDEPFILES): Delete. | |
3472 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
3473 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
3474 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
3475 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
3476 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
3477 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
3478 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
3479 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
3480 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
3481 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
3482 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
3483 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
3484 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
3485 | * config/i386/go32.mh (XDEPFILES): Delete. | |
3486 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
3487 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
3488 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
3489 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
3490 | * config/i386/linux.mh (XDEPFILES): Delete. | |
3491 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
3492 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
3493 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
3494 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
3495 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
3496 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
3497 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
3498 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
3499 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
3500 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
3501 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
3502 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
3503 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
3504 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
3505 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
3506 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
3507 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
3508 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
3509 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
3510 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
3511 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
3512 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
3513 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
3514 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
3515 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
3516 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
3517 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
3518 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
3519 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
3520 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
3521 | * config/mips/linux.mh (XDEPFILES): Delete. | |
3522 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
3523 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
3524 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
3525 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
3526 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
3527 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
3528 | (NATDEPFILES): Move core-aout.o to here. | |
3529 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
3530 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
3531 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
3532 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
3533 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
3534 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
3535 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
3536 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
3537 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
3538 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
3539 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
3540 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
3541 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
3542 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
3543 | * config/s390/s390.mh (XDEPFILES): Delete. | |
3544 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
3545 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
3546 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
3547 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
3548 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
3549 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
3550 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
3551 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
3552 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
3553 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
3554 | ||
375fc983 AC |
3555 | 2002-01-17 Andrew Cagney <[email protected]> |
3556 | ||
3557 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
3558 | Update queries to match. Default to quit and dump core. | |
3559 | ||
8926118c AC |
3560 | 2002-01-17 Andrew Cagney <[email protected]> |
3561 | ||
3562 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
3563 | copyright. | |
3564 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
3565 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
3566 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
3567 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
3568 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
3569 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
3570 | * mi/mi-main.c:Ditto. | |
3571 | ||
3572 | * stack.c, symfile.c: Update copyright. | |
3573 | ||
45b7b345 DJ |
3574 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
3575 | ||
db728ff7 DJ |
3576 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
3577 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
3578 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
3579 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 3580 | |
db728ff7 DJ |
3581 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
3582 | ||
3583 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
3584 | * gdbserver/low-lynx.c (myattach): Likewise. | |
3585 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
3586 | * gdbserver/low-sim.c (myattach): Likewise. | |
3587 | * gdbserver/low-sparc.c (myattach): Likewise. | |
3588 | * gdbserver/low-sun3.c (myattach): Likewise. | |
3589 | ||
3590 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 3591 | |
db728ff7 | 3592 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
3593 | (main): Handle "--attach". |
3594 | ||
8de3c354 AC |
3595 | 2002-01-16 Andrew Cagney <[email protected]> |
3596 | ||
3597 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
3598 | maintainer. | |
3599 | ||
b0129042 DJ |
3600 | 2002-01-15 Daniel Jacobowitz <[email protected]> |
3601 | ||
3602 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
3603 | check for non-conversion operators. | |
3604 | ||
ba8679fb | 3605 | 2002-01-15 Michael Snyder <[email protected]> |
2bf543a6 MS |
3606 | |
3607 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
3608 | (read_mapping): New function, abstract and re-use code. | |
3609 | (linux_find_memory_regions): Use new func read_mapping. | |
3610 | (linux_info_proc_cmd): New function, implement "info proc". | |
3611 | (_initialize_linux_proc): Add new command "info proc". | |
3612 | ||
e4f9b4d5 MS |
3613 | 2002-01-15 Michael Snyder <[email protected]> |
3614 | ||
3615 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
3616 | instead of manipulating bfd structure members directly. | |
3617 | (add_section_size_callback): New function, bfd sections callback | |
3618 | used by generic_load. | |
3619 | (load_sections_callback): New function, bfd sections callback | |
3620 | used by generic_load. | |
3621 | ||
08cf96df EZ |
3622 | 2002-01-15 Elena Zannoni <[email protected]> |
3623 | ||
abf22e64 | 3624 | [Based on work by Jim Blandy] |
08cf96df EZ |
3625 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
3626 | (builtin_type_vec128): Export. | |
3627 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
3628 | types. | |
3629 | (builtin_type_vec128): New builtin type for 128 bit vector | |
3630 | registers. | |
3631 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
3632 | builtin_type_v8hi. Create the vec128 register builtin type | |
3633 | structure. | |
3634 | (build_builtin_type_vec128): New function. | |
abf22e64 | 3635 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
3636 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
3637 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
3638 | AltiVec register to new builtin type. | |
3639 | ||
d7242108 DJ |
3640 | 2001-01-15 Daniel Jacobowitz <[email protected]> |
3641 | ||
3642 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
3643 | to make_cv_type. | |
3644 | ||
4ee3352d AC |
3645 | 2002-01-14 Andrew Cagney <[email protected]> |
3646 | ||
3647 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
3648 | CLEAN_UP_REGISTER_VALUE. | |
3649 | * regcache.c (supply_register): Update only call. | |
3650 | ||
f015b2e7 AC |
3651 | 2002-01-14 Andrew Cagney <[email protected]> |
3652 | ||
3653 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
3654 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
3655 | a29k-*-vxworks* targets as obsolete. | |
3656 | ||
356ae49d MS |
3657 | 2002-01-14 Michael Snyder <[email protected]> |
3658 | ||
3659 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
3660 | until we can resolve portability issues. | |
3661 | * gregset.h: Remove references to fpxregs. | |
3662 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
3663 | ||
ade8f45e AC |
3664 | 2002-01-13 Andrew Cagney <[email protected]> |
3665 | ||
3666 | * signals.c (target_signal_to_name): Rewrite. Only use | |
3667 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 3668 | |
89c49e7a AC |
3669 | 2002-01-13 Andrew Cagney <[email protected]> |
3670 | ||
3671 | From Petr Ledvina <[email protected]>: | |
3672 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
3673 | bounds of the signals array. | |
3674 | ||
4daa9f9f AC |
3675 | 2002-01-13 Andrew Cagney <[email protected]> |
3676 | ||
3677 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
3678 | ||
ba4bbdcb KS |
3679 | 2002-01-13 Keith Seitz <[email protected]> |
3680 | ||
3681 | * stack.c (print_frame_info_base): Print the frame's pc | |
3682 | only if when print_frame_info_listing_hook is not defined. | |
3683 | ||
575bbeb6 KS |
3684 | 2002-01-13 Keith Seitz <[email protected]> |
3685 | ||
3686 | * varobj.c (varobj_set_value): Make sure that there were no | |
3687 | errors evaluating the object before attempting to set its | |
3688 | value. | |
3689 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
3690 | so this offset adjustment is no longer necessary. | |
3691 | (create_child): Don't set the error flag if the child is | |
3692 | a CPLUS_FAKE_CHILD. | |
3693 | (value_of_child): If value_fetch_lazy fails, return NULL | |
3694 | so that callers will be notified that an error occurred. | |
3695 | (c_value_of_variable): Delay check of variable's validity | |
3696 | until later. We actually want all structs and unions to have | |
3697 | the value "{...}". | |
3698 | Do not return "???" for variables which could not be evaluated. | |
3699 | This error condition must be returned to the caller so that it | |
3700 | can get the error condition from gdb. | |
3701 | (cplus_name_of_child): Adjust index for vptr before figuring | |
3702 | out the name of the child. | |
3703 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
3704 | don't even bother trying to give a value for it. Just return | |
3705 | an error. Change all instances in this function. | |
3706 | (cplus_type_of_child): If our parent is one of the "fake" | |
3707 | parents, we need to get at the type of the real parent, and | |
3708 | derive the child's true type using this information. | |
3709 | ||
b76898ab AC |
3710 | 2002-01-13 Andrew Cagney <[email protected]> |
3711 | ||
3712 | From 2002-01-09 John Marshall <[email protected]>: | |
3713 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
3714 | sources.redhat.com, and tweak some related URLs which had | |
3715 | suffered from linkrot. | |
3716 | ||
b6649e88 AC |
3717 | 2002-01-13 Andrew Cagney <[email protected]> |
3718 | ||
3719 | From Jeff law: | |
3720 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
3721 | structures passed in registers. | |
3722 | ||
82cc5033 EZ |
3723 | 2002-01-13 Eli Zaretskii <[email protected]> |
3724 | ||
3725 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
3726 | white space which prevented compilation. Reported by DSK | |
3727 | <[email protected]>. | |
3728 | ||
ba5f2f8a MS |
3729 | 2002-01-11 Michael Snyder <[email protected]> |
3730 | ||
fbd35540 MS |
3731 | * symfile.c (build_section_addr_info_from_section_tab): |
3732 | Use bfd access method instead of manipulating bfd directly. | |
3733 | (syms_from_objfile): Ditto. | |
3734 | (simple_overlay_update_1): Ditto. | |
3735 | (simple_overlay_update): Ditto. | |
3736 | (generic_load): Ditto. | |
3737 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
3738 | (sections_overlap): FIXME comment, bfd access methods. | |
3739 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
3740 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
3741 | (section_is_mapped): FIXME comment, bfd access methods. | |
3742 | (section_is_overlay): FIXME comment, bfd access methods. | |
3743 | ||
ba5f2f8a MS |
3744 | * symfile.c (generic_load): Whitespace and long line cleanups. |
3745 | Remove duplicate variable, change several local variables to | |
3746 | more appropriate data types. | |
3747 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
3748 | ||
17df2af6 AC |
3749 | 2002-01-12 Andrew Cagney <[email protected]> |
3750 | ||
3751 | From Peter Schauer: | |
3752 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
3753 | convert NUM to a hex string. | |
3754 | ||
ec920329 EZ |
3755 | 2002-01-12 Elena Zannoni <[email protected]> |
3756 | ||
3757 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
3758 | the function. | |
538a76d6 | 3759 | Update Copyright year. |
ec920329 | 3760 | |
3abd2e01 AC |
3761 | 2002-01-12 Andrew Cagney <[email protected]> |
3762 | ||
3763 | * language.c (longest_raw_hex_string): Delete unused function. | |
3764 | ||
b21b22e0 PS |
3765 | 2002-01-11 Petr Sorfa <[email protected]> |
3766 | ||
3767 | * MAINTAINERS (write-after-approval): Add myself. | |
3768 | * dwarf2read.c (read_tag_string_type): Handling of | |
3769 | DW_AT_byte_size. | |
3770 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
3771 | first string size. | |
3772 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
3773 | ||
747fe712 RE |
3774 | 2002-01-11 Richard Earnshaw <[email protected]> |
3775 | ||
3776 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
3777 | GETPID(inferior_ptid). | |
3778 | (store_inferior_registers): Likewise. | |
3779 | ||
f1bea926 JM |
3780 | 2002-01-10 Jason Merrill <[email protected]> |
3781 | ||
3782 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
3783 | Fix DW_OP_minus. | |
3784 | ||
ae940673 AC |
3785 | 2002-01-10 Andrew Cagney <[email protected]> |
3786 | ||
3787 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
3788 | and bfd/elf32-sh-nbsd.c. | |
3789 | ||
00546b04 MS |
3790 | 2002-01-10 Michael Snyder <[email protected]> |
3791 | ||
352ed7b4 MS |
3792 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
3793 | ||
c18be923 MS |
3794 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
3795 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
3796 | ||
00546b04 MS |
3797 | * main.c (captured_main): Add new command line option "--pid". |
3798 | If the second command line argument (following the symbol-file) | |
3799 | begins with a digit, try to attach to it before trying to open | |
3800 | it as a corefile. | |
3801 | (print_gdb_help): Document the "--pid" argument. | |
3802 | ||
db60ec62 EZ |
3803 | 2002-01-10 Eli Zaretskii <[email protected]> |
3804 | ||
3805 | * completer.c (command_completer): New function. | |
3806 | ||
3807 | * completer.h <command_completer>: Add prototype. | |
3808 | ||
3809 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
3810 | completer for the "help" command. | |
3811 | ||
39c22d1a JM |
3812 | 2002-01-09 Jason Merrill <[email protected]> |
3813 | ||
3814 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
3815 | ||
c564377f MS |
3816 | 2002-01-09 Michael Snyder <[email protected]> |
3817 | ||
975aec09 MS |
3818 | * i386-linux-nat.c (fill_fpxregset): Make global. |
3819 | (store_fpxregset): Ditto. | |
3820 | ||
db4a10fa MS |
3821 | * gregset.h (gdb_fpxregset_t): Define. |
3822 | (supply_fpxregset): Prototype. | |
3823 | (fill_fpxregset): Prototype. | |
3824 | ||
c564377f MS |
3825 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
3826 | ||
c3d45d70 RE |
3827 | 2002-01-09 Richard Earnshaw <[email protected]> |
3828 | ||
3829 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
3830 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
3831 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
3832 | ||
fcc87af1 AC |
3833 | 2002-01-09 Andrew Cagney <[email protected]> |
3834 | ||
3835 | * MAINTAINERS: Update target maintainer rules so that any | |
3836 | Maintainer can approve a tested patch for a maintenance-only | |
3837 | target. | |
3838 | ||
dd96c05b RE |
3839 | 2002-01-09 Richard Earnshaw <[email protected]> |
3840 | ||
d4297db9 | 3841 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 3842 | |
d4297db9 | 3843 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
3844 | IN_SIGTRAMP. |
3845 | ||
145fdc6e MS |
3846 | 2002-01-08 Michael Snyder <[email protected]> |
3847 | ||
3848 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
3849 | real name of the executable, rather than the /proc name. | |
3850 | ||
be4d1333 MS |
3851 | 2002-01-03 Michael Snyder <[email protected]> |
3852 | ||
3853 | Implement a "generate-core-file" command in gdb, save target state. | |
3854 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
3855 | Save a corefile image of the current state of the inferior. | |
3856 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
3857 | * target.h (struct target_ops): Add new target vectors for saving | |
3858 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
3859 | (target_find_memory_regions): New macro. | |
3860 | (target_make_corefile_notes): New macro. | |
3861 | * target.c (update_current_target): Inherit new target methods. | |
3862 | (dummy_find_memory_regions): New place-holder method. | |
3863 | (dummy_make_corefile_notes): New place-holder method. | |
3864 | (init_dummy_target): Initialize new dummy target vectors. | |
3865 | * exec.c (exec_set_find_memory_regions): New function. | |
3866 | Allow the exec_ops vector for memory regions to be taken over. | |
3867 | (exec_make_note_section): New function, target vector method. | |
3868 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
3869 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
3870 | (procfs_make_note_section): New function, corefile method. | |
3871 | (init_procfs_ops): Set new target vector pointers. | |
3872 | (find_memory_regions_callback): New function. | |
3873 | (procfs_do_thread_registers): New function. | |
3874 | (procfs_corefile_thread_callback): New function. | |
3875 | * sol-thread.c (sol_find_memory_regions): New function. | |
3876 | (sol_make_note_section): New function. | |
3877 | (init_sol_thread_ops): Initialize new target vectors. | |
3878 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
3879 | Allow to_find_memory_regions vector to be taken over. | |
3880 | (inftarg_set_make_corefile_notes): New function. | |
3881 | Allow to_make_corefile_notes vector to be taken over. | |
3882 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
3883 | interface layer if not target_has_execution (may be a corefile). | |
3884 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
3885 | * config/sparc/sun4sol2.mh: Ditto. | |
3886 | * config/alpha/alpha-linux.mh: Ditto. | |
3887 | * config/arm/linux.mh: Ditto. | |
3888 | * config/i386/x86-64linux.mh: Ditto. | |
3889 | * config/ia64/linux.mh: Ditto. | |
3890 | * config/m68k/linux.mh: Ditto. | |
3891 | * config/mips/linux.mh: Ditto. | |
3892 | * config/powerpc/linux.mh: Ditto. | |
3893 | * config/sparc/linux.mh: Ditto. | |
3894 | ||
c6b92abd MS |
3895 | 2002-01-07 Michael Snyder <[email protected]> |
3896 | ||
3897 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
3898 | (registers[] and register_valid[]). | |
3899 | ||
4b09dc8c MS |
3900 | 2002-01-07 Michael Snyder <[email protected]> |
3901 | ||
abf22e64 AJ |
3902 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
3903 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
3904 | symbol file and shlibs. |
3905 | * Makefile.in: Add rule for linux-proc.o. | |
3906 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
3907 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
3908 | * config/arm/linux.mh: Ditto. | |
3909 | * config/i386/linux.mh: Ditto. | |
3910 | * config/i386/x86-64linux.mh: Ditto. | |
3911 | * config/ia64/linux.mh: Ditto. | |
3912 | * config/m68k/linux.mh: Ditto. | |
3913 | * config/mips/linux.mh: Ditto. | |
3914 | * config/powerpc/linux.mh: Ditto. | |
3915 | * config/sparc/linux.mh: Ditto. | |
3916 | ||
c25b74ac PM |
3917 | 2002-01-06 Pierre Muller <[email protected]> |
3918 | ||
3919 | * win32-nat.c: Add i386-tdep.h dependency. | |
3920 | ||
94cd915f MS |
3921 | 2002-01-07 Michael Snyder <[email protected]> |
3922 | ||
c7cccb76 MS |
3923 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
3924 | instead of bfd_get_arch_size. Don't bail out just because | |
3925 | there's no exec_bfd. | |
abf22e64 | 3926 | |
34c0bd93 MS |
3927 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
3928 | * p-valprint.c (pascal_object_print_value): Ditto. | |
3929 | * somread.c (som_symtab_read): Ditto. | |
3930 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
3931 | * valops.c (value_assign): Ditto. | |
3932 | ||
21c1c920 MS |
3933 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
3934 | use tilde_expand and strerror for opening save-tracepoints file. | |
3935 | ||
5bbd998e MS |
3936 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
3937 | ||
94cd915f MS |
3938 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
3939 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 3940 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
3941 | can be overridden with whatever value is appropriate to the host). |
3942 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
3943 | alloca to allocate potentially large buffer. | |
3944 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
3945 | * symm-nat.c (child_xfer_memory): Ditto. | |
3946 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
3947 | ||
494e8a93 JSC |
3948 | 2002-01-07 Jackie Smith Cashion <[email protected]> |
3949 | ||
3950 | From Nick Clifton <[email protected]> | |
3951 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
3952 | ||
d0e1d48e MS |
3953 | 2002-01-07 Michael Snyder <[email protected]> |
3954 | ||
abf22e64 | 3955 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
3956 | Don't use exec_bfd if it's NULL. |
3957 | ||
290b2c7a MK |
3958 | 2002-01-06 Mark Kettenis <[email protected]> |
3959 | ||
abf22e64 | 3960 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 3961 | |
aef21287 AC |
3962 | 2002-01-06 Andrew Cagney <[email protected]> |
3963 | ||
3964 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
3965 | * gnu-nat.c: Ditto. | |
3966 | ||
30efa627 AC |
3967 | 2002-01-06 Andrew Cagney <[email protected]> |
3968 | ||
3969 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
3970 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
3971 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
3972 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
3973 | z8k-coff have not been multi-arched. Update z8k-coff build | |
3974 | status. | |
3975 | ||
9b4ff276 AC |
3976 | 2002-01-06 Andrew Cagney <[email protected]> |
3977 | ||
3978 | * MAINTAINERS: Mark a29k target as obsolete. | |
3979 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
3980 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
3981 | comments. | |
3982 | * NEWS: Note that a29k targets are obsolete. | |
3983 | * a29k-tdep.c: Mark as obsolete. | |
3984 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
3985 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
3986 | a29k-*-vxworks* targets as obsolete. | |
3987 | * remote-adapt.c: Obsolete. | |
3988 | * remote-eb.c: Obsolete. | |
3989 | * remote-mm.c: Obsolete. | |
3990 | * remote-udi.c: Obsolete. | |
3991 | * config/a29k/a29k-udi.mt: Obsolete. | |
3992 | * config/a29k/a29k.mt: Obsolete. | |
3993 | * config/a29k/tm-a29k.h: Obsolete. | |
3994 | * config/a29k/tm-vx29k.h: Obsolete. | |
3995 | * config/a29k/vx29k.mt: Obsolete. | |
3996 | ||
a9011d31 AC |
3997 | 2002-01-05 Andrew Cagney <[email protected]> |
3998 | ||
3999 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
4000 | with BFD_ENDIAN_BIG. | |
4001 | ||
9299404e AC |
4002 | 2002-01-05 Andrew Cagney <[email protected]> |
4003 | ||
4004 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
4005 | * configure, config.in: Re-generate. | |
4006 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
4007 | * defs.h: Do not include <endian.h>. | |
4008 | ||
7e89e357 JT |
4009 | 2002-01-05 Jason Thorpe <[email protected]> |
4010 | ||
4011 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
4012 | * config.in: Regenerate. | |
4013 | * configure.in: Update copyright years. | |
4014 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
4015 | * configure: Regenerate. | |
4016 | * i386bsd-nat.c: Update copyright years. | |
4017 | (fill_gregset): Use regcache_collect. | |
4018 | (fetch_inferior_registers): Only fetch integer registers | |
4019 | if requested to do so. Add support for XMM registers | |
4020 | using PT_GETXMMREGS. | |
4021 | (store_inferior_registers): Only store integer registers | |
4022 | if requested to do so. Add support for XMM registers | |
4023 | using PT_SETXMMREGS. | |
4024 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
4025 | (store_inferior_registers): Remove. | |
4026 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
4027 | (fetch_elfcore_registers): New function. | |
4028 | (i386nbsd_elfcore_fns): New. | |
4029 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
4030 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
4031 | i386bsd-nat.o. | |
4032 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
4033 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
4034 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
4035 | * config/i386/tm-nbsd.h: Update copyright years. | |
4036 | (HAVE_SSE_REGS): Define. | |
4037 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
4038 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
4039 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
4040 | (SIGCONTEXT_PC_OFFSET): Remove. | |
4041 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
4042 | ||
a752853e AC |
4043 | 2002-01-05 Andrew Cagney <[email protected]> |
4044 | ||
4045 | * configure.tgt: Remove powerpc-*-macos* target. | |
4046 | * config/m68k/xm-mpw.h: Delete file. | |
4047 | * config/xm-mpw.h: Delete file. | |
4048 | * ser-mac.c: Delete file. | |
4049 | * mpw-make.sed: Delete file. | |
4050 | * mpw-config.in: Delete file. | |
4051 | * mac-xdep.c: Delete file. | |
4052 | * mac-gdb.r: Delete file. | |
4053 | * mac-defs.h: Delete file. | |
4054 | * mac-nat.c: Delete file. | |
4055 | * config/powerpc/macos.mh: Delete file. | |
4056 | * config/powerpc/macos.mt: Delete file. | |
4057 | * config/powerpc/nm-macos.h: Delete file. | |
4058 | * config/powerpc/tm-macos.h: Delete file. | |
4059 | * source.c (openp, open_source_file): Remove obsolete code. | |
4060 | * top.c (gdb_readline): Ditto. | |
4061 | * utils.c (query): Ditto. | |
4062 | * event-top.c (display_gdb_prompt): Ditto. | |
4063 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
4064 | * NEWS: Update. | |
4065 | ||
d7449b42 AC |
4066 | 2002-01-04 Andrew Cagney <[email protected]> |
4067 | ||
4068 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
4069 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
4070 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
4071 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
4072 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
4073 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
4074 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
4075 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
4076 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
4077 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
4078 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
4079 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
4080 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
4081 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
4082 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
4083 | * gdbarch.c: Re-generate. | |
4084 | ||
356374e8 DJ |
4085 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
4086 | ||
4087 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
4088 | for core files. | |
4089 | ||
a2b8f8f8 JT |
4090 | 2002-01-04 Jason Thorpe <[email protected]> |
4091 | ||
4092 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
4093 | ||
12466af9 AC |
4094 | 2002-01-04 Andrew Cagney <[email protected]> |
4095 | ||
4096 | * value.h (value_ptr): Delete typedef. | |
4097 | ||
3549ab40 JT |
4098 | 2002-01-04 Jason Thorpe <[email protected]> |
4099 | ||
4100 | * i386nbsd-nat.c: Update copyright years. | |
4101 | Include i386-tdep.h. | |
4102 | ||
fedbd091 EZ |
4103 | 2002-01-04 Elena Zannoni <[email protected]> |
4104 | ||
4105 | * stabsread.c: Update copyright years. | |
4106 | ||
4107 | From Debashis Mahata <[email protected]>: | |
4108 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
4109 | output for structs and unions. | |
fec8b34f | 4110 | Fix PR gdb/269. |
fedbd091 | 4111 | |
eb43544b DJ |
4112 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
4113 | ||
4114 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
4115 | prototype. | |
4116 | ||
1514d34e DJ |
4117 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
4118 | ||
4119 | * cp-abi.c: Fix whitespace. | |
4120 | (baseclass_offset): New wrapper function. | |
4121 | * cp-abi.h (baseclass_offset): Add prototype. | |
4122 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
4123 | ||
4124 | * valops.c (vb_match): Move to... | |
4125 | * gnu-v2-abi.c (vb_match): here. | |
4126 | * valops.c (baseclass_offset): Move to... | |
4127 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
4128 | ||
4129 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
4130 | ||
4131 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
4132 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
4133 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
4134 | ||
7f8c9282 DJ |
4135 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
4136 | ||
4137 | * valops.c (find_overload_match): Accept obj as a | |
4138 | reference parameter. Update it before returning. | |
4139 | * value.h (find_overload_match): Update prototype. | |
4140 | * eval.c (evaluate_subexp_standard): Pass object to | |
4141 | find_overload_match by reference. | |
4142 | ||
f23631e4 AC |
4143 | 2002-01-03 Andrew Cagney <[email protected]> |
4144 | ||
4145 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
4146 | register attribute from value declarations. | |
4147 | * valops.c: Ditto. | |
4148 | * value.h: Ditto. | |
4149 | * scm-lang.c (scm_lookup_name): Ditto. | |
4150 | ||
79e10fab | 4151 | 2002-01-03 Michael Snyder <[email protected]> |
abf22e64 | 4152 | |
79e10fab AC |
4153 | Abstract the functionality of iterating over mapped memory |
4154 | regions into a general purpose iterator function. | |
abf22e64 | 4155 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
4156 | iterator for memory sections. |
4157 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
4158 | (solib_mappings_callback): New function, callback for above. | |
4159 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
4160 | (info_mappings_callback): New function, callback for above. | |
4161 | ||
4162 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
4163 | ||
c5ad026a MK |
4164 | 2002-01-01 Mark Kettenis <[email protected]> |
4165 | ||
d2a7c97a MK |
4166 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
4167 | * i386-tdep.c: Include "elf-bfd.h". | |
4168 | (process_note_abi_tag_sections): New function. | |
4169 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
4170 | combinations. | |
4171 | ||
c5ad026a MK |
4172 | * maint.c (_initialize_maint_cmds): Add missing \ in |
4173 | string-literal. | |
4174 | ||
a1a5b71e | 4175 | For older changes see ChangeLog-2001 |
c906108c SS |
4176 | \f |
4177 | Local Variables: | |
4178 | mode: change-log | |
4179 | left-margin: 8 | |
4180 | fill-column: 74 | |
4181 | version-control: never | |
4182 | End: |