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